# CVE-2023-1999: Use after free in libwebp

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-06-20 · Modified: 2025-02-13
- Aliases: ALPINE-CVE-2023-1999, SUSE-SU-2023:2467-1, SUSE-SU-2023:2490-1, SUSE-SU-2023:2552-1, RHSA-2023:2072, RHSA-2023:2073, RHSA-2023:2075, RHSA-2023:2076, RHSA-2023:2077, RHSA-2023:2078, RHSA-2023:2084, RHSA-2023:2085, UBUNTU-CVE-2023-1999, USN-6078-1, USN-6078-2, DEBIAN-CVE-2023-1999, DLA-3439-1, DSA-5408-1, openSUSE-SU-2024:13019-1
- Record: https://cvemate.com/vulnerability/CVE-2023-1999 · JSON: https://cvemate.com/vulnerability/CVE-2023-1999/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.952%, percentile 62.498%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 44)

- alpine firefox-esr (Alpine Linux): \< 102.10.0-r0
- alpine libwebp (Alpine Linux): ≥ 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
- chromium libwebp: ≥ 0.4.2, \< 1.3.1 \| ≥ 0.4.2, \< 1.3.0-8-ga486d800
- debian firefox-esr (Debian): \< 102.10.0esr-1
- debian libwebp (Debian): \< 1.2.4-0.2 \| \< 0.6.1-2+deb10u2 \| \< 0.6.1-2.1+deb11u1
- debian thunderbird (Debian): \< 1:102.10.0-1
- ubuntu libwebp (Ubuntu): All 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
- ubuntu mozjs38 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs52 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs68 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs78 (Ubuntu): All versions (No fix recorded)
- ubuntu mozjs91 (Ubuntu): All versions (No fix recorded)
- ubuntu thunderbird (Ubuntu): All versions (No fix recorded)
- opensuse libwebp&distro=openSUSE Leap 15.4 (openSUSE): \< 1.0.3-150200.3.5.1 \| \< 0.5.0-150000.3.11.1
- opensuse libwebp&distro=openSUSE Leap 15.5 (openSUSE): \< 1.0.3-150200.3.5.1
- opensuse libwebp&distro=openSUSE Tumbleweed (openSUSE): \< 1.3.0-2.1
- redhat libwebp (Red Hat): \< 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
- redhat libwebp-debuginfo (Red Hat): \< 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
- redhat libwebp-debugsource (Red Hat): \< 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
- redhat libwebp-devel (Red Hat): \< 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

## References (first 20 of 36)

- <https://chromium.googlesource.com/webm/libwebp>
- <https://security.gentoo.org/glsa/202309-05>
- <https://security.alpinelinux.org/vuln/CVE-2023-1999>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20232467-1/>
- <https://bugzilla.suse.com/1210212>
- <https://www.suse.com/security/cve/CVE-2023-1999>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20232490-1/>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20232552-1/>
- <https://access.redhat.com/errata/RHSA-2023:2072>
- <https://access.redhat.com/security/updates/classification/#important>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2186102>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_2072.json>
- <https://access.redhat.com/security/cve/CVE-2023-1999>
- <https://www.cve.org/CVERecord?id=CVE-2023-1999>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-1999>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2023-14/#CVE-2023-1999>
- <https://www.mozilla.org/en-US/security/advisories/mfsa2023-15/#CVE-2023-1999>
- <https://access.redhat.com/errata/RHSA-2023:2073>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_2073.json>
- <https://access.redhat.com/errata/RHSA-2023:2075>

---

Data as of 2026-12-05T03:16:37.586Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
