High severity · published Jun 20, 2023
CVE-2023-1999
There exists a use after free/double free in libwebp
7.5
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LI
Libwebp · Webmproject
0.4.2 before 1.3.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-1999
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-1999
Product
https://chromium.googlesource.com/webm/libwebp
security.gentoo.org
https://security.gentoo.org/glsa/202309-05
More from Libwebp
8.8
CVE-2023-4863
Google Chromium WebP Heap-Based Buffer Overflow Vulnerability
9.8
CVE-2020-36329
A flaw was found in libwebp in versions before 1.0.1
9.8
CVE-2020-36328
A flaw was found in libwebp in versions before 1.0.1
9.8
CVE-2018-25014
A use of uninitialized value was found in libwebp in versions before 1.0.1 in ReadSymbol()
9.8
CVE-2018-25011
A heap-based buffer overflow was found in libwebp in versions before 1.0.1 in PutLE16()
