Skip to main content
VulnerabilityPublished Updated

CVE-2024-56171: libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables

Affects libxml2Source GCVE Database

0
Compare
Authoritative record:CVE-2024-56171· High 7.8

Not known to be exploited · CVSS 7.8 High · fixed in 2.9.1+dfsg1-3ubuntu4.13+esm7 : patch libxml2 soon.

Data as of 24 Nov 2026, 19:42 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (mitre)CVSS 3.17.8
Patch
Available – fixed in 2.9.1+dfsg1-3ubuntu4.13+esm7, 2.9.3+dfsg1-1ubuntu0.7+esm7, 2.9.4+dfsg1-6.1ubuntu1.9+esm2 +3
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=nobleOther threatsAffected
  • <2.9.14+dfsg-1.3ubuntu3.2
Fixed in
  • 2.9.14+dfsg-1.3ubuntu3.2
Ubuntu 22.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=jammyOther threatsAffected
  • <2.9.13+dfsg-1ubuntu0.6
Fixed in
  • 2.9.13+dfsg-1ubuntu0.6
Ubuntu 20.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=focalOther threatsAffected
  • <2.9.10+dfsg-5ubuntu0.20.04.9
Fixed in
  • 2.9.10+dfsg-5ubuntu0.20.04.9
Ubuntu Pro 18.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <2.9.4+dfsg1-6.1ubuntu1.9+esm2
Fixed in
  • 2.9.4+dfsg1-6.1ubuntu1.9+esm2
Ubuntu Pro 16.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <2.9.3+dfsg1-1ubuntu0.7+esm7
Fixed in
  • 2.9.3+dfsg1-1ubuntu0.7+esm7
Ubuntu Pro 14.04 LTSlibxml2pkg:deb/ubuntu/libxml2?arch=source&distro=esm-infra-legacy/trustyOther threatsAffected
  • <2.9.1+dfsg1-3ubuntu4.13+esm7
Fixed in
  • 2.9.1+dfsg1-3ubuntu4.13+esm7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a use-after-free in xmlSchemaIDCFillNodeTables and xmlSchemaBubbleIDCNodeTables in xmlschemas.c. To exploit this, a crafted XML document must be validated against an XML schema with certain identity constraints, or a crafted XML schema must be used.

References

Community reviews

Loading reviews…