CVE-2023-1999
Use after free in libwebp
Summary
Use after free in libwebp
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2023-1999 libwebp Fixed in: 1.2.2-r1
- BellSoft Alpaquita BELL-CVE-2023-1999
- Debian DEBIAN-CVE-2023-1999 firefox-esr Fixed in: 102.10.0esr-1~deb11u1
- Ubuntu UBUNTU-CVE-2023-1999 libwebp
References
- advisory github.com
- advisory nvd.nist.gov
- advisory security.gentoo.org
- web chromium.googlesource.com
- web chromium.googlesource.com