Skip to content
Fencer Vulns
medium 5.3

CVE-2023-1999 json

Use after free in libwebp

published 2023-06-20 3 y ago modified 2026-07-18 3 mo ago also EUVD-2023-24179 , JLSEC-2026-440

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 61%
public exploits
0
none known

Summary

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.

Patch / fix

  • julia libwebp_jll 1.3.2+0
  • Chromium libwebp 1.3.0-8-ga486d800, 1.3.1
  • libwebp Debian 14, Debian 13, Debian 12 1.2.4-0.2
  • firefox-esr Debian 14, Debian 13, Debian 12 102.10.0esr-1
  • thunderbird Debian 14, Debian 13, Debian 12 1:102.10.0-1

debian advisories DEBIAN-CVE-2023-1999

  • libwebp Ubuntu 18.04 LTS 0.6.1-2ubuntu0.18.04.2
  • libwebp Ubuntu 20.04 LTS 0.6.1-2ubuntu0.20.04.2
  • libwebp Ubuntu 22.04 LTS 1.2.2-2ubuntu0.22.04.1
  • libwebp Ubuntu Pro 16.04 LTS 0.4.4-1ubuntu0.1~esm2

ubuntu advisories UBUNTU-CVE-2023-1999

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • thunderbird RHEL 8 102.10.0-2.el8_7
  • thunderbird RHEL 9 102.10.0-2.el9_1
  • firefox RHEL 9 102.10.0-1.el9_1
  • firefox-x11 RHEL 9 102.10.0-1.el9_1
  • firefox RHEL 8 102.10.0-1.el8_7
  • thunderbird RHEL 7 102.10.0-2.el7_9
  • firefox RHEL 7 102.10.0-1.el7_9
  • libwebp RHEL 8 1.0.0-8.el8_7

red hat advisories RHSA-2023:1802RHSA-2023:1803RHSA-2023:1788RHSA-2023:1809RHSA-2023:1786RHSA-2023:1810

  • libwebp SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES 12 SP5 +9 more 0.4.3-4.10.1
  • libwebp SLE Workstation Extension 15 SP5, SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP5 +2 more 0.5.0-150000.3.11.1
  • libwebp SLE Real Time 15 SP3, SLE Module for Package Hub 15 SP5, SLE Module for Package Hub 15 SP4 +4 more 1.0.3-150200.3.5.1
  • MozillaThunderbird SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP4, openSUSE Leap 15.4 102.10.1-150200.8.113.2

suse advisories SUSE-SU-2023:2552-1SUSE-SU-2023:2490-1SUSE-SU-2023:2467-1SUSE-SU-2023:2064-1

  • libwebp openSUSE Tumbleweed 1.3.0-2.1

opensuse advisories openSUSE-SU-2024:13019-1

  • libwebp AlmaLinux 8 1.0.0-8.el8_7
  • libwebp AlmaLinux 9 1.2.0-6.el9_1

almalinux advisories ALSA-2023:2076ALSA-2023:2078

  • libwebp Rocky Linux 8 1.0.0-8.el8_7
  • libwebp Rocky Linux 9 1.2.0-6.el9_1
  • libwebp Rocky Linux 9 1.2.0-6.el9_1.0.1

rocky linux advisories RLSA-2023:2076RLSA-2023:2078

  • libwebp Alpine 3.15 1.2.2-r1
  • libwebp Alpine 3.16 1.2.3-r1
  • libwebp Alpine 3.17 1.2.4-r2
  • libwebp Alpine 3.18 1.3.0-r2
  • libwebp Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 1.3.0-r3
  • firefox-esr Alpine 3.23, Alpine 3.22, Alpine 3.21 +3 more 102.10.0-r0

alpine advisories ALPINE-CVE-2023-1999

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libwebp CBL-Mariner 2.0 1.3.2-1

azure linux advisories AZL-27181

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-1999 updated cvss 7.5

Mozilla: libwebp: Double-free in libwebp

  • Red Hat Enterprise Linux 6 firefox, thunderbird
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) libwebp 1.0.0-8.el8_7, firefox 102.10.0-1.el8_7, thunderbird 102.10.0-2.el8_7
    fixed: vendor fix RHSA-2023:1787
  • Red Hat Enterprise Linux AppStream (v. 9) libwebp 1.2.0-6.el9_1, firefox 102.10.0-1.el9_1, firefox-x11 102.10.0-1.el9_1, thunderbird 102.10.0-2.el9_1
    fixed: vendor fix RHSA-2023:1786
  • Red Hat Enterprise Linux AppStream AUS (v. 8.2) libwebp 1.0.0-7.el8_2, firefox 102.10.0-1.el8_2, thunderbird 102.10.0-2.el8_2
    fixed: vendor fix RHSA-2023:1789
  • Red Hat Enterprise Linux AppStream E4S (v. 8.1) libwebp 1.0.0-5.2.el8_1, firefox 102.10.0-1.el8_1, thunderbird 102.10.0-2.el8_1
    fixed: vendor fix RHSA-2023:1792
  • Red Hat Enterprise Linux AppStream E4S (v. 8.2) libwebp 1.0.0-7.el8_2, firefox 102.10.0-1.el8_2, thunderbird 102.10.0-2.el8_2
    fixed: vendor fix RHSA-2023:1789
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) libwebp 1.0.0-7.el8_4, firefox 102.10.0-1.el8_4, thunderbird 102.10.0-2.el8_4
    fixed: vendor fix RHSA-2023:1790
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) libwebp 1.0.0-7.el8_6, firefox 102.10.0-1.el8_6, thunderbird 102.10.0-2.el8_6
    fixed: vendor fix RHSA-2023:1788
show 5 more
  • Red Hat Enterprise Linux AppStream EUS (v.9.0) libwebp 1.2.0-5.el9_0, firefox 102.10.0-1.el9_0, thunderbird 102.10.0-2.el9_0
    fixed: vendor fix RHSA-2023:1785
  • Red Hat Enterprise Linux AppStream TUS (v. 8.2) libwebp 1.0.0-7.el8_2, firefox 102.10.0-1.el8_2, thunderbird 102.10.0-2.el8_2
    fixed: vendor fix RHSA-2023:1789
  • Red Hat Enterprise Linux Client (v. 7) libwebp 0.3.0-11.el7, firefox 102.10.0-1.el7_9, thunderbird 102.10.0-2.el7_9 Red Hat Enterprise Linux Client Optional (v. 7) firefox 102.10.0-1.el7_9, libwebp-java 0.3.0-11.el7, libwebp-tools 0.3.0-11.el7
    fixed: vendor fix RHSA-2023:1791
  • Red Hat Enterprise Linux ComputeNode Optional (v. 7) libwebp-java 0.3.0-11.el7, libwebp-tools 0.3.0-11.el7
    fixed: vendor fix RHSA-2023:2077
  • Red Hat Enterprise Linux Server (v. 7) libwebp 0.3.0-11.el7, firefox 102.10.0-1.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) firefox 102.10.0-1.el7_9, libwebp-java 0.3.0-11.el7, libwebp-tools 0.3.0-11.el7, thunderbird 102.10.0-2.el7_9 Red Hat Enterprise Linux Workstation (v. 7) libwebp 0.3.0-11.el7, firefox 102.10.0-1.el7_9, thunderbird 102.10.0-2.el7_9 Red Hat Enterprise Linux Workstation Optional (v. 7) firefox 102.10.0-1.el7_9, libwebp-java 0.3.0-11.el7, libwebp-tools 0.3.0-11.el7
    fixed: vendor fix RHSA-2023:1791

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.95% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
julia libwebp_jll
<1.3.2+0
1.3.2+0

Affected products

  • Chromium libwebp

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.