CVE-2023-1999

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
20/06/2023
Last modified:
13/02/2025

Description

There exists a use after free/double free in libwebp. An attacker can use the ApplyFiltersAndEncode() function and loop through to free best.bw and assign best = trial pointer. The second loop will then return 0 because of an Out of memory error in VP8 encoder, the pointer is still assigned to trial and the AddressSanitizer will attempt a double free.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:webmproject:libwebp:*:*:*:*:*:*:*:* 0.4.2 (including) 1.3.1 (excluding)