CVE-2023-1999: chromium libwebp Use After Free
Vulnerability summary
CVE-2023-1999 is a high (CVSS 7.5) Use After Free vulnerability in chromium libwebp. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 60.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 21 · Related 1Timeline
- 20-06-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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 metrics
6 scores · 6 sources · 1 version- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
0.00 pp
From 0.95% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
- CWE-415Double FreeThe product calls free() twice on the same memory address.
Affected systems
Suse19 products
- libwebp&distro=HPE Helion OpenStack 8< 0.4.3-4.10.1
- libwebp&distro=SUSE Linux Enterprise Module for Basesystem 15 SP4< 1.0.3-150200.3.5.1
- libwebp&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 1.0.3-150200.3.5.1
- libwebp&distro=SUSE Linux Enterprise Module for Package Hub 15 SP4< 1.0.3-150200.3.5.1 | < 0.5.0-150000.3.11.1
- libwebp&distro=SUSE Linux Enterprise Module for Package Hub 15 SP5< 1.0.3-150200.3.5.1 | < 0.5.0-150000.3.11.1
Redhat8 products
- libwebp< 0:1.0.0-7.el8_2 | < 0:1.0.0-5.2.el8_1 | < 0:1.2.0-5.el9_0 | < 0:1.0.0-8.el8_7 | < 0:0.3.0-11.el7 | < 0:1.2.0-6.el9_1 | < 0:1.0.0-7.el8_4 | < 0:1.0.0-7.el8_6
- libwebp-debuginfo< 0:1.0.0-7.el8_2 | < 0:1.0.0-5.2.el8_1 | < 0:1.2.0-5.el9_0 | < 0:1.0.0-8.el8_7 | < 0:0.3.0-11.el7 | < 0:1.2.0-6.el9_1 | < 0:1.0.0-7.el8_4 | < 0:1.0.0-7.el8_6
- libwebp-debugsource< 0:1.0.0-7.el8_2 | < 0:1.0.0-5.2.el8_1 | < 0:1.2.0-5.el9_0 | < 0:1.0.0-8.el8_7 | < 0:1.2.0-6.el9_1 | < 0:1.0.0-7.el8_4 | < 0:1.0.0-7.el8_6
- libwebp-devel< 0:1.0.0-7.el8_2 | < 0:1.0.0-5.2.el8_1 | < 0:1.2.0-5.el9_0 | < 0:1.0.0-8.el8_7 | < 0:0.3.0-11.el7 | < 0:1.2.0-6.el9_1 | < 0:1.0.0-7.el8_4 | < 0:1.0.0-7.el8_6
- libwebp-java< 0:0.3.0-11.el7
Ubuntu7 products
- libwebpAll versions (No fix recorded) | < 0.4.4-1ubuntu0.1~esm2 | < 0.6.1-2ubuntu0.18.04.2 | < 0.6.1-2ubuntu0.20.04.2 | < 1.2.2-2ubuntu0.22.04.1
- mozjs38All versions (No fix recorded)
- mozjs52All versions (No fix recorded)
- mozjs68All versions (No fix recorded)
- mozjs78All versions (No fix recorded)
Debian3 products
- firefox-esr< 102.10.0esr-1
- libwebp< 1.2.4-0.2 | < 0.6.1-2.1+deb11u1 | < 0.6.1-2+deb10u2
- thunderbird< 1:102.10.0-1
Opensuse3 products
- libwebp&distro=openSUSE Leap 15.4< 1.0.3-150200.3.5.1 | < 0.5.0-150000.3.11.1
- libwebp&distro=openSUSE Leap 15.5< 1.0.3-150200.3.5.1
- libwebp&distro=openSUSE Tumbleweed< 1.3.0-2.1
Alpine1 product
- libwebp≥ 0.4.2, < 1.2.2-r1 | ≥ 0.4.2, < 1.2.3-r1 | ≥ 0.4.2, < 1.2.4-r2 | ≥ 0.4.2, < 1.3.0-r2 | ≥ 0.4.2, < 1.3.0-r3
Chromium1 product
- libwebp≥ 0.4.2, < 1.3.1 | ≥ 0.4.2, < 1.3.0-8-ga486d800
Webmproject1 product
- libwebp≥ 0.4.2, < 1.3.1
8 vendors · 43 products