CVE-2023-1999

Use after free in libwebp

HIGH
7.5
CVSS Score
Published: June 20, 2023 at 11:28 AM UTC
Updated: June 17, 2026 at 05:29 AM UTC
2 products affected across 2 vendorsLibwebpLibwebp

Using libwebp by Chromium?

Get instant alerts when new vulnerabilities affect libwebp - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1.0%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.4.2 ≤ v < 1.3.1
Affected range stops below 1.3.1, so it looks safe — our inference, not a vendor statement
0.4.2 ≤ v < 1.3.0-8-ga486d8000.4.2 ≤ v < 1.3.10.4.2
Affected range stops below 1.3.0-8-ga486d800, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.3.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416CWE-415

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card