CVE-2023-1999

Use after free in libwebp

State
Published
Severity
5.3 Medium
Published
Jun 20, 2023
Updated
Feb 13, 2025
Reserved
Apr 12, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NGoogle

Weaknesses

Affected Products

ProductVersions
libwebpChromium
  • 0.4.2 to before 1.3.1Affected
  • 0.4.2 to before 1.3.0-8-ga486d800Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.