VDB

CVE-2023-1999

CVE-2023-1999 PUBLISHED CVSS 5.3 MEDIUM

Use after free in libwebp

Reported by google · Published June 20, 2023

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
thunderbirdAmazon Linux102.10.0-1.amzn2.0.1
libwebpconan.io1.3.1
libwebpAmazon Linux1.2.4-1.amzn2023.0.4
libwebp-develAmazon Linux1.2.4-1.amzn2023.0.4
libwebp-toolsAmazon Linux1.2.4-1.amzn2023.0.4
libwebpchromium.googlesource.com1.3.1, 1.3.0-8-ga486d800
firefox-esrAlpine102.10.0-r0
libwebp-javaAmazon Linux1.2.4-1.amzn2023.0.4
libwebpAlpine1.3.0-r3, 1.3.0-r2, 1.2.4-r2, 1.2.3-r1, 1.2.2-r1
libwebpwebmproject1.3.1

Risk scores

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

Affected products

VendorProductVersions
Chromiumlibwebp0.4.2, 0.4.2
Chromiumlibwebp0.4.2, 0.4.2

Timeline

  • Apr 14, 2023 CVE Published
  • Jun 21, 2023 EPSS Score (30 in total, the first dated here)
  • Apr 28, 2025 PoC Published
  • Mar 17, 2026 Security Advisory (13 in total, the first dated here)
  • May 21, 2026 Coalition ESS Score
  • Nov 22, 2026 Distribution Patch (9 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-1999
vulnetix vdb fixes CVE-2023-1999

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-1999/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›