CVE-2023-1999

Use after free in libwebp

Published Jun 20, 2023 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3439-1 libwebp security update
Debian DSA Debian DSA DSA-5408-1 libwebp security update
EUVD EUVD EUVD-2023-24179 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.
Ubuntu USN Ubuntu USN USN-6078-1 libwebp vulnerability
Ubuntu USN Ubuntu USN USN-6078-2 libwebp vulnerability
History
Type Values Removed Values Added
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.  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.
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Google
Published
Updated
Feb 13, 2025, 4:39 PM
Reserved
Apr 12, 2023, 9:40 AM
Status
Modified
Published
Jun 20, 2023, 12:15 PM
Modified
Jun 17, 2026, 5:29 AM
Severity
Important
Public date
Apr 11, 2023, 12:00 AM