Skip to main content
← All vulnerabilities
CVE-2023-1999

Use after free in libwebp

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.3.1, 1.3.0-8-ga486d800
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • libwebp

    From 0.4.2 · fixed in 1.3.1; From 0.4.2 · fixed in 1.3.0-8-ga486d800

References 3

chromium.googlesource.com

security.gentoo.org

GitHub · Pazhanivelmani/webp_Android10_r33_CVE-2023-1999