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. 
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Google

Published: 2023-06-20T11:28:52.547Z

Updated: 2024-08-02T06:05:27.124Z

Reserved: 2023-04-12T09:40:34.560Z

Link: CVE-2023-1999

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-06-20T12:15:09.600

Modified: 2023-09-17T09:15:12.183

Link: CVE-2023-1999

cve-icon Redhat

Severity : Important

Publid Date: 2023-04-11T00:00:00Z

Links: CVE-2023-1999 - Bugzilla