CVE-2023-1999: libwebp - Use After Free
- Cve: CVE-2023-1999
- Name: libwebp - Use After Free
- 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.
- Impact: Potential for application crash, memory corruption, or arbitrary code execution due to double free vulnerabilities.
- Remediation: Update to the latest version of libwebp where this issue is fixed.
- Vulnerability type: use_after_free
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00952
- Epss percentile: 0.62201
- Assignee: [email protected]
- Published at: 2023-06-20T12:15:09Z
- Age in days: 1253
- Modified at: 2026-06-17T05:29:14Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-1999
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-416 | Use After Free |
| CWE-415 | Double Free |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Pazhanivelmani/webp_Android10_r33_CVE-2023-1999 | poc-in-github | 2024-11-12 |
References
| Url | Source | Tags |
|---|---|---|
| https://chromium.googlesource.com/webm/libwebp | nvd | Product |
| https://security.gentoo.org/glsa/202309-05 | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| webmproject:libwebp | >= 0.4.2, < 1.3.1 | no | nvd | /v1/products/webmproject/libwebp |
Index
- Repositories: 112
- Repositories high signal: 52
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-11-12
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts