Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2023-1999

Mozilla: libwebp: Double-free in libwebp

Overview

Published
20 Jun 2023
Modified
17 Jun 2026
High CVE
2 Registry packages
33 OS packages
12 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-416, CWE-415

Affected packages · 2

Packages affected by CVE-2023-1999
EcosystemPackageVulnerableFixed in
Conan (C/C++) libwebp >=0.4.2 <1.3.1 1.3.1
Julia libwebp_jll <1.3.2+0 1.3.2+0

Open a package to see all its vulnerabilities.

Operating systems · 72 fixes

Oracle Linux 3 releases · 1 package

fixed 3
libwebp
Oracle Linux fixes for CVE-2023-1999
ReleasePackageFixed in
7 libwebp +3 0.3.0-11.el7
8 libwebp +1 1.0.0-8.el8_7
9 libwebp +1 1.2.0-6.el9_1

Photon OS 2 releases · 1 package

fixed 2
libwebp
Photon OS fixes for CVE-2023-1999
ReleasePackageFixed in
4.0 libwebp +1 1.1.0-6.ph4
5.0 libwebp +1 1.3.1-1.ph5

Red Hat 3 releases · 3 packages

fixed 24
libwebp firefox thunderbird
Red Hat fixes for CVE-2023-1999
ReleasePackageFixed inAdvisory
7 libwebp +3 0:0.3.0-11.el7 RHSA-2023:2077
7 firefox 0:102.10.0-1.el7_9 RHSA-2023:1791
7 thunderbird 0:102.10.0-2.el7_9 RHSA-2023:1806
8 libwebp +1 0:1.0.0-5.2.el8_1 RHSA-2023:2073
8 libwebp +1 0:1.0.0-7.el8_2 RHSA-2023:2072
8 libwebp +1 0:1.0.0-7.el8_4 RHSA-2023:2084

18 more rows

SUSE Linux Enterprise 3 releases · 3 packages

fixed 6
libwebp-devel libwebp6 mozillathunderbird
SUSE Linux Enterprise fixes for CVE-2023-1999
ReleasePackageFixed inAdvisory
12.5 libwebp-devel +5 0.4.3-4.10.1 SUSE-SU-2023:2552-1
15.4 libwebp6 +1 0.5.0-150000.3.11.1 SUSE-SU-2023:2490-1
15.4 libwebp-devel +5 1.0.3-150200.3.5.1 SUSE-SU-2023:2467-1
15.4 mozillathunderbird +2 102.10.1-150200.8.113.2 SUSE-SU-2023:2064-1
15.5 libwebp6 +1 0.5.0-150000.3.11.1 SUSE-SU-2023:2490-1
15.5 libwebp-devel +4 1.0.3-150200.3.5.1 SUSE-SU-2023:2467-1

alma 2 releases · 1 package

fixed 2
libwebp
alma fixes for CVE-2023-1999
ReleasePackageFixed in
8 libwebp +1 1.0.0-8.el8_7
9 libwebp +1 1.2.0-6.el9_1

alpine 4 releases · 2 packages

fixed 6
libwebp firefox-esr
alpine fixes for CVE-2023-1999
ReleasePackageFixed in
3.22 libwebp 1.3.0-r3
3.22 firefox-esr 102.10.0-r0
3.23 libwebp 1.3.0-r3
3.23 firefox-esr 102.10.0-r0
3.24 libwebp 1.3.0-r3
edge libwebp 1.3.0-r3

amazon linux 1 release · 1 package

fixed 1
libwebp
amazon linux fixes for CVE-2023-1999
ReleasePackageFixed in
2023 libwebp +7 1.2.4-1.amzn2023.0.4

debian 5 releases · 3 packages

fixed 15
libwebp firefox-esr thunderbird
debian fixes for CVE-2023-1999
ReleasePackageFixed in
10 libwebp 0.6.1-2+deb10u2
10 firefox-esr 102.10.0esr-1~deb10u1
10 thunderbird 1:102.10.0-1~deb10u1
11 libwebp 0.6.1-2.1+deb11u1
11 firefox-esr 102.10.0esr-1~deb11u1
11 thunderbird 1:102.10.0-1~deb11u1

9 more rows

echo 1 release · 3 packages

fixed 3
libwebp firefox-esr thunderbird
echo fixes for CVE-2023-1999
ReleasePackageFixed in
libwebp 1.2.4-0.2
firefox-esr 102.10.0esr-1
thunderbird 1:102.10.0-1

openSUSE 1 release · 1 package

fixed 1
libsharpyuv0
openSUSE fixes for CVE-2023-1999
ReleasePackageFixed inAdvisory
Tumbleweed libsharpyuv0 +12 1.3.0-2.1 openSUSE-SU-2024:13019-1

rocky 2 releases · 1 package

fixed 2
libwebp
rocky fixes for CVE-2023-1999
ReleasePackageFixed in
8 libwebp +1 1.0.0-8.el8_7
9 libwebp +1 1.2.0-6.el9_1.0.1

ubuntu 7 releases · 1 package

fixed 7
libwebp
ubuntu fixes for CVE-2023-1999
ReleasePackageFixed in
18.04 libwebp 0.6.1-2ubuntu0.18.04.2
18.04-ESM libwebp 0.6.1-2ubuntu0.18.04.2
20.04 libwebp 0.6.1-2ubuntu0.20.04.2
20.04-ESM libwebp 0.6.1-2ubuntu0.20.04.2
22.04 libwebp 1.2.2-2ubuntu0.22.04.1
24.04 libwebp 1.2.4-0.1ubuntu1

1 more row

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.