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

CVE-2023-29469: Double Free

April 24, 2023 (updated June 1, 2023)

An issue was discovered in libxml2 before 2.10.4. When hashing empty dict strings in a crafted XML document, xmlDictComputeFastKey in dict.c can produce non-deterministic values, leading to various logic and memory errors, such as a double free. This behavior occurs because there is an attempt to use the first byte of an empty string, and any value is possible (not solely the ‘\0’ value).

References

  • gitlab.gnome.org/GNOME/libxml2/-/issues/510
  • gitlab.gnome.org/GNOME/libxml2/-/releases/v2.10.4
  • lists.debian.org/debian-lts-announce/2023/04/msg00031.html
  • nvd.nist.gov/vuln/detail/CVE-2023-29469

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.10.4

Fixed versions

  • 2.10.4

Solution

Upgrade to version 2.10.4 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-415: Double Free

Source file

conan/libxml2/CVE-2023-29469.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:44 +0000.