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.
Exploits (1)
nomisec
WORKING POC
by Pazhanivelmani · poc
https://github.com/Pazhanivelmani/webp_Android10_r33_CVE-2023-1999
References (2)
Core 2
Core References
Third Party Advisory
https://security.gentoo.org/glsa/202309-05
Scores
CVSS v3
5.3
EPSS
0.0035
EPSS Percentile
57.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-415
CWE-416
Status
published
Products (1)
webmproject/libwebp
0.4.2 - 1.3.1
Published
Jun 20, 2023
Tracked Since
Feb 18, 2026