Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Chromium libwebp 0.4.2 – < 1.3.1, 0.4.2 – < 1.3.0-8-ga486d800 1.3.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 firefox-esr 102.10.0esr-1 —
Debian 14 libwebp 1.2.4-0.2 —
Debian 14 thunderbird 1:102.10.0-1 —
Debian 13 firefox-esr 102.10.0esr-1 —
Debian 13 libwebp 1.2.4-0.2 —
Debian 13 thunderbird 1:102.10.0-1 —
Debian 12 firefox-esr 102.10.0esr-1 —
Debian 12 libwebp 1.2.4-0.2 —
Debian 12 thunderbird 1:102.10.0-1 —
Debian 11 firefox-esr 102.10.0esr-1~deb11u1 DSA-5385-1
Debian 11 libwebp 0.6.1-2.1+deb11u1 DSA-5408-1
Debian 11 thunderbird 1:102.10.0-1~deb11u1 DSA-5392-1
Debian 10 firefox-esr 102.10.0esr-1~deb10u1 DLA-3391-1
Debian 10 libwebp 0.6.1-2+deb10u2 DLA-3439-1
Debian 10 thunderbird 1:102.10.0-1~deb10u1 DLA-3400-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 thunderbird No fix yet —
Ubuntu 26.04 LTS thunderbird No fix yet —
Ubuntu 25.10 thunderbird No fix yet —
Ubuntu 24.04 LTS thunderbird No fix yet —
Ubuntu 22.04 LTS libwebp 1.2.2-2ubuntu0.22.04.1 USN-6078-1
Ubuntu 22.04 LTS mozjs78 +2 No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libwebp 0.6.1-2ubuntu0.20.04.2 USN-6078-1
Ubuntu 20.04 LTS mozjs52 +1 No fix yet —
Ubuntu 18.04 LTS libwebp 0.6.1-2ubuntu0.18.04.2 USN-6078-1
Ubuntu 18.04 LTS mozjs38 +1 No fix yet —
Ubuntu Pro 16.04 LTS libwebp 0.4.4-1ubuntu0.1~esm2 USN-6078-2
Ubuntu Pro 14.04 LTS libwebp No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 firefox +1 102.10.0-1.el9_1 RHSA-2023:1786
RHEL 9 libwebp +1 1.2.0-6.el9_1 RHSA-2023:2078
RHEL 9 thunderbird 102.10.0-2.el9_1 RHSA-2023:1809
RHEL 8 firefox 102.10.0-1.el8_7 RHSA-2023:1787
RHEL 8 libwebp +1 1.0.0-8.el8_7 RHSA-2023:2076
RHEL 8 thunderbird 102.10.0-2.el8_7 RHSA-2023:1802
RHEL 7 firefox 102.10.0-1.el7_9 RHSA-2023:1791
RHEL 7 libwebp +3 0.3.0-11.el7 RHSA-2023:2077
RHEL 7 thunderbird 102.10.0-2.el7_9 RHSA-2023:1806
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.0 EUS firefox 102.10.0-1.el9_0 RHSA-2023:1785
RHEL 9.0 EUS libwebp +1 1.2.0-5.el9_0 RHSA-2023:2075
RHEL 9.0 EUS thunderbird 102.10.0-2.el9_0 RHSA-2023:1810
RHEL 8.6 EUS firefox 102.10.0-1.el8_6 RHSA-2023:1788
RHEL 8.6 EUS libwebp +1 1.0.0-7.el8_6 RHSA-2023:2085
RHEL 8.6 EUS thunderbird 102.10.0-2.el8_6 RHSA-2023:1811
RHEL 8.4 EUS firefox 102.10.0-1.el8_4 RHSA-2023:1790
RHEL 8.4 EUS libwebp +1 1.0.0-7.el8_4 RHSA-2023:2084
RHEL 8.4 EUS thunderbird 102.10.0-2.el8_4 RHSA-2023:1804
RHEL 8.2 TUS firefox 102.10.0-1.el8_2 RHSA-2023:1789
RHEL 8.2 TUS libwebp +1 1.0.0-7.el8_2 RHSA-2023:2072
RHEL 8.2 TUS thunderbird 102.10.0-2.el8_2 RHSA-2023:1805
RHEL 8.2 E4S firefox 102.10.0-1.el8_2 RHSA-2023:1789
RHEL 8.2 E4S libwebp +1 1.0.0-7.el8_2 RHSA-2023:2072
RHEL 8.2 E4S thunderbird 102.10.0-2.el8_2 RHSA-2023:1805
RHEL 8.2 AUS firefox 102.10.0-1.el8_2 RHSA-2023:1789
RHEL 8.2 AUS libwebp +1 1.0.0-7.el8_2 RHSA-2023:2072
RHEL 8.2 AUS thunderbird 102.10.0-2.el8_2 RHSA-2023:1805
RHEL 8.1 E4S firefox 102.10.0-1.el8_1 RHSA-2023:1792
RHEL 8.1 E4S libwebp +1 1.0.0-5.2.el8_1 RHSA-2023:2073
RHEL 8.1 E4S thunderbird 102.10.0-2.el8_1 RHSA-2023:1803

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 libwebp +1 1.2.0-6.el9_1 ALSA-2023:2078
AlmaLinux 8 libwebp +1 1.0.0-8.el8_7 ALSA-2023:2076

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 libwebp 1.2.0-6.el9_1 RLSA-2023:2078
Rocky Linux 8 libwebp 1.0.0-8.el8_7 RLSA-2023:2076
ReleasePackageFixed inAdvisory
SLES 15 SP5 libwebp 0.5.0-150000.3.11.1 SUSE-SU-2023:2490-1, SUSE-SU-2023:2467-1
SLES 15 SP4 MozillaThunderbird 102.10.1-150200.8.113.2 SUSE-SU-2023:2064-1
SLES 15 SP4 libwebp 0.5.0-150000.3.11.1 SUSE-SU-2023:2490-1, SUSE-SU-2023:2467-1
SLES 12 SP5 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SLES 12 SP4 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SLES 12 SP2 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SLES for SAP 12 SP4 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SLE Real Time 15 SP3 libwebp 1.0.3-150200.3.5.1 SUSE-SU-2023:2467-1
SUSE OpenStack Cloud Crowbar 9 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SUSE OpenStack Cloud Crowbar 8 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SUSE OpenStack Cloud 9 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SUSE OpenStack Cloud 8 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
SUSE HPE Helion OpenStack 8 libwebp 0.4.3-4.10.1 SUSE-SU-2023:2552-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libwebp 1.3.0-2.1 openSUSE-SU-2024:13019-1
openSUSE Leap 15.5 libwebp 1.0.3-150200.3.5.1 SUSE-SU-2023:2467-1
openSUSE Leap 15.4 MozillaThunderbird 102.10.1-150200.8.113.2 SUSE-SU-2023:2064-1
openSUSE Leap 15.4 libwebp 0.5.0-150000.3.11.1 SUSE-SU-2023:2490-1, SUSE-SU-2023:2467-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libwebp 1.3.0-r3 —
Alpine v3.23 firefox-esr 102.10.0-r0 —
Alpine v3.23 libwebp 1.3.0-r3 —
Alpine v3.22 firefox-esr 102.10.0-r0 —
Alpine v3.22 libwebp 1.3.0-r3 —
Alpine v3.21 firefox-esr 102.10.0-r0 —
Alpine v3.21 libwebp 1.3.0-r3 —
Alpine v3.20 firefox-esr 102.10.0-r0 —
Alpine v3.20 libwebp 1.3.0-r3 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 firefox-esr 102.10.0-r0 —
Alpine v3.19 libwebp 1.3.0-r3 —
Alpine v3.18 firefox-esr 102.10.0-r0 —
Alpine v3.18 libwebp 1.3.0-r2 —
Alpine v3.17 libwebp 1.2.4-r2 —
Alpine v3.16 libwebp 1.2.3-r1 —
Alpine v3.15 libwebp 1.2.2-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libwebp +3 1.2.4-1.amzn2023.0.4 ALAS2023-2023-185
Amazon Linux 2 thunderbird 102.10.0-1.amzn2.0.1 ALAS2-2023-2028

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) libwebp 1.3.2-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 libwebp +1 1.2.0-6.el9_1 ELSA-2023-2078
Oracle Linux 8 libwebp +1 1.0.0-8.el8_7 ELSA-2023-2076
Oracle Linux 7 libwebp +3 0.3.0-11.el7 ELSA-2023-2077

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 50

References