Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. libwebp
  4. ›
  5. CVE-2023-1999

CVE-2023-1999: Double Free

June 20, 2023 (updated September 17, 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.

References

  • chromium.googlesource.com/webm/libwebp
  • nvd.nist.gov/vuln/detail/CVE-2023-1999

Code Behaviors & Features

Detect and mitigate CVE-2023-1999 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.4.2 before 1.3.1

Fixed versions

  • 1.3.1

Solution

Upgrade to version 1.3.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-415: Double Free

Source file

conan/libwebp/CVE-2023-1999.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:20 +0000.