CVE-2023-1999 MEDIUM

CVE-2023-1999: Use after free in libwebp

Vendor Chromium
Product libwebp
Weakness CWE-416
Published June 20, 2023
Last update February 13, 2025

CVSS base score

5.3/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 20, 2023 CVE published
February 13, 2025 Record updated