Use after free in libwebp
Published Jun 20, 2023
7.5
HIGHCVSS 3.1
EPSS 0.95%
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
-
- Version 0.4.2StatusaffectedConstraints<1.3.0-8-ga486d800
- Version 0.4.2StatusaffectedConstraints<1.3.1
- Version
- ≥ 0.4.2 · < 1.3.1
No data.
Red Hat Enterprise Linux 7
firefox-0:102.10.0-1.el7_9
Fixed · RHSA-2023:1791
Red Hat Enterprise Linux 7
libwebp-0:0.3.0-11.el7
Fixed · RHSA-2023:2077
Red Hat Enterprise Linux 7
thunderbird-0:102.10.0-2.el7_9
Fixed · RHSA-2023:1806
Red Hat Enterprise Linux 8
firefox-0:102.10.0-1.el8_7
Fixed · RHSA-2023:1787
Red Hat Enterprise Linux 8
libwebp-0:1.0.0-8.el8_7
Fixed · RHSA-2023:2076
Red Hat Enterprise Linux 8
thunderbird-0:102.10.0-2.el8_7
Fixed · RHSA-2023:1802
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions
firefox-0:102.10.0-1.el8_1
Fixed · RHSA-2023:1792
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions
libwebp-0:1.0.0-5.2.el8_1
Fixed · RHSA-2023:2073
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions
thunderbird-0:102.10.0-2.el8_1
Fixed · RHSA-2023:1803
Red Hat Enterprise Linux 8.2 Advanced Update Support
firefox-0:102.10.0-1.el8_2
Fixed · RHSA-2023:1789
Red Hat Enterprise Linux 8.2 Advanced Update Support
libwebp-0:1.0.0-7.el8_2
Fixed · RHSA-2023:2072
Red Hat Enterprise Linux 8.2 Advanced Update Support
thunderbird-0:102.10.0-2.el8_2
Fixed · RHSA-2023:1805
Red Hat Enterprise Linux 8.2 Telecommunications Update Service
firefox-0:102.10.0-1.el8_2
Fixed · RHSA-2023:1789
Red Hat Enterprise Linux 8.2 Telecommunications Update Service
libwebp-0:1.0.0-7.el8_2
Fixed · RHSA-2023:2072
Red Hat Enterprise Linux 8.2 Telecommunications Update Service
thunderbird-0:102.10.0-2.el8_2
Fixed · RHSA-2023:1805
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
firefox-0:102.10.0-1.el8_2
Fixed · RHSA-2023:1789
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
libwebp-0:1.0.0-7.el8_2
Fixed · RHSA-2023:2072
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
thunderbird-0:102.10.0-2.el8_2
Fixed · RHSA-2023:1805
Red Hat Enterprise Linux 8.4 Extended Update Support
firefox-0:102.10.0-1.el8_4
Fixed · RHSA-2023:1790
Red Hat Enterprise Linux 8.4 Extended Update Support
libwebp-0:1.0.0-7.el8_4
Fixed · RHSA-2023:2084
Red Hat Enterprise Linux 8.4 Extended Update Support
thunderbird-0:102.10.0-2.el8_4
Fixed · RHSA-2023:1804
Red Hat Enterprise Linux 8.6 Extended Update Support
firefox-0:102.10.0-1.el8_6
Fixed · RHSA-2023:1788
Red Hat Enterprise Linux 8.6 Extended Update Support
libwebp-0:1.0.0-7.el8_6
Fixed · RHSA-2023:2085
Red Hat Enterprise Linux 8.6 Extended Update Support
thunderbird-0:102.10.0-2.el8_6
Fixed · RHSA-2023:1811
Red Hat Enterprise Linux 9
firefox-0:102.10.0-1.el9_1
Fixed · RHSA-2023:1786
Red Hat Enterprise Linux 9
libwebp-0:1.2.0-6.el9_1
Fixed · RHSA-2023:2078
Red Hat Enterprise Linux 9
thunderbird-0:102.10.0-2.el9_1
Fixed · RHSA-2023:1809
Red Hat Enterprise Linux 9.0 Extended Update Support
firefox-0:102.10.0-1.el9_0
Fixed · RHSA-2023:1785
Red Hat Enterprise Linux 9.0 Extended Update Support
libwebp-0:1.2.0-5.el9_0
Fixed · RHSA-2023:2075
Red Hat Enterprise Linux 9.0 Extended Update Support
thunderbird-0:102.10.0-2.el9_0
Fixed · RHSA-2023:1810
Red Hat Enterprise Linux 6
firefox
Out of support scope
Red Hat Enterprise Linux 6
thunderbird
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | firefox-0:102.10.0-1.el7_9 | Fixed | RHSA-2023:1791 |
| Red Hat Enterprise Linux 7 | libwebp-0:0.3.0-11.el7 | Fixed | RHSA-2023:2077 |
| Red Hat Enterprise Linux 7 | thunderbird-0:102.10.0-2.el7_9 | Fixed | RHSA-2023:1806 |
| Red Hat Enterprise Linux 8 | firefox-0:102.10.0-1.el8_7 | Fixed | RHSA-2023:1787 |
| Red Hat Enterprise Linux 8 | libwebp-0:1.0.0-8.el8_7 | Fixed | RHSA-2023:2076 |
| Red Hat Enterprise Linux 8 | thunderbird-0:102.10.0-2.el8_7 | Fixed | RHSA-2023:1802 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | firefox-0:102.10.0-1.el8_1 | Fixed | RHSA-2023:1792 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | libwebp-0:1.0.0-5.2.el8_1 | Fixed | RHSA-2023:2073 |
| Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | thunderbird-0:102.10.0-2.el8_1 | Fixed | RHSA-2023:1803 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | firefox-0:102.10.0-1.el8_2 | Fixed | RHSA-2023:1789 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | libwebp-0:1.0.0-7.el8_2 | Fixed | RHSA-2023:2072 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | thunderbird-0:102.10.0-2.el8_2 | Fixed | RHSA-2023:1805 |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | firefox-0:102.10.0-1.el8_2 | Fixed | RHSA-2023:1789 |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | libwebp-0:1.0.0-7.el8_2 | Fixed | RHSA-2023:2072 |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | thunderbird-0:102.10.0-2.el8_2 | Fixed | RHSA-2023:1805 |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | firefox-0:102.10.0-1.el8_2 | Fixed | RHSA-2023:1789 |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | libwebp-0:1.0.0-7.el8_2 | Fixed | RHSA-2023:2072 |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | thunderbird-0:102.10.0-2.el8_2 | Fixed | RHSA-2023:1805 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | firefox-0:102.10.0-1.el8_4 | Fixed | RHSA-2023:1790 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | libwebp-0:1.0.0-7.el8_4 | Fixed | RHSA-2023:2084 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | thunderbird-0:102.10.0-2.el8_4 | Fixed | RHSA-2023:1804 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | firefox-0:102.10.0-1.el8_6 | Fixed | RHSA-2023:1788 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | libwebp-0:1.0.0-7.el8_6 | Fixed | RHSA-2023:2085 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | thunderbird-0:102.10.0-2.el8_6 | Fixed | RHSA-2023:1811 |
| Red Hat Enterprise Linux 9 | firefox-0:102.10.0-1.el9_1 | Fixed | RHSA-2023:1786 |
| Red Hat Enterprise Linux 9 | libwebp-0:1.2.0-6.el9_1 | Fixed | RHSA-2023:2078 |
| Red Hat Enterprise Linux 9 | thunderbird-0:102.10.0-2.el9_1 | Fixed | RHSA-2023:1809 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | firefox-0:102.10.0-1.el9_0 | Fixed | RHSA-2023:1785 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | libwebp-0:1.2.0-5.el9_0 | Fixed | RHSA-2023:2075 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | thunderbird-0:102.10.0-2.el9_0 | Fixed | RHSA-2023:1810 |
| Red Hat Enterprise Linux 6 | firefox | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | thunderbird | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Product Security rates the severity of this flaw as determined by the Mozilla Foundation Security Advisory.
References (9)
- https://access.redhat.com/security/cve/CVE-2023-1999 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2186102 Issue Tracking
- https://chromium.googlesource.com/webm/libwebp Product
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-24179 Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-1999
- https://security.gentoo.org/glsa/202309-05
- https://www.cve.org/CVERecord?id=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
Change history (0)
No recorded changes yet.