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

CVE-2022-29824: Integer Overflow or Wraparound

May 3, 2022 (updated November 7, 2023)

In libxml2 before 2.9.14, several buffer handling functions in buf.c (xmlBuf*) and tree.c (xmlBuffer*) don’t check for integer overflows. This can result in out-of-bounds memory writes. Exploitation requires a victim to open a crafted, multi-gigabyte XML file. Other software using libxml2’s buffer functions, for example libxslt through 1.1.35, is affected as well.

References

  • gitlab.gnome.org/GNOME/libxml2/-/commit/2554a2408e09f13652049e5ffb0d26196b02ebab
  • gitlab.gnome.org/GNOME/libxml2/-/commit/6c283d83eccd940bcde15634ac8c7f100e3caefd
  • gitlab.gnome.org/GNOME/libxml2/-/tags/v2.9.14
  • gitlab.gnome.org/GNOME/libxslt/-/tags
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FZOBT5Y6Y2QLDDX2HZGMV7MJMWGXORKK/
  • nvd.nist.gov/vuln/detail/CVE-2022-29824

Code Behaviors & Features

Detect and mitigate CVE-2022-29824 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 before 2.9.14

Fixed versions

  • 2.9.14

Solution

Upgrade to version 2.9.14 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-190: Integer Overflow or Wraparound

Source file

conan/libxml2/CVE-2022-29824.yml

Spotted a mistake? Edit the file on GitLab.

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

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