CVE-2023-1999

MEDIUM

libwebp - Use After Free

Title source: llm

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.

Exploits (1)

nomisec WORKING POC
by Pazhanivelmani · poc
https://github.com/Pazhanivelmani/webp_Android10_r33_CVE-2023-1999

Scores

CVSS v3 5.3
EPSS 0.0038
EPSS Percentile 58.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE
CWE-415 CWE-416
Status published

Affected Products (1)

webmproject/libwebp < 1.3.1

Timeline

Published Jun 20, 2023
Tracked Since Feb 18, 2026