Skip to content
Noroxi
NVD / CVE Program· CNA mitre

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

CriticalCVSS 9.8 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 39/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.1% (FIRST EPSS); higher than 68% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: xmlsoft libxml2 2.12.10, 2.13.6; azl3 libxml2 2.11.5-4 on Azure Linux 3.0 2.11.5-4; azl3 libxml2 2.11.5-5 on Azure Linux 3.0 2.11.5-4.
  • Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 9.8.

Low priority for now. Upgrade to xmlsoft libxml2 2.12.10, 2.13.6; azl3 libxml2 2.11.5-4 on Azure Linux 3.0 2.11.5-4; azl3 libxml2 2.11.5-5 on Azure Linux 3.0 2.11.5-4 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

Published
Feb 18, 2025
Updated
Jun 17, 2026
EPSS
1.1% · 68th percentile

Report tools

JSON

Action score

39

Monitor

Low priority for now.

CVSS
39 / 40 · 9.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.1%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
9.8
CNA · mitre
7.8
2.0 point gap

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-56171

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
xmlsoftlibxml2
netapphci compute node
netapph410c firmware
netapph410c
netapph300s firmware
netapph300s
netapph500s firmware
netapph500s
netapph700s firmware
netapph700s
netapph410s firmware
netapph410s

and 4 more

Versions reported by the vendor

Affected version ranges reported by the assigning authority (mitre). Independent of NVD's CPE analysis and usually ahead of it.

  • xmlsoft libxml2

    • before 2.12.10affected · semver
    • 2.13.0 and later · before 2.13.6affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8libxml2before 2.9.7-19.el8_102.9.7-19.el8_10
AlmaLinux:8libxml2-develbefore 2.9.7-19.el8_102.9.7-19.el8_10
AlmaLinux:8python3-libxml2before 2.9.7-19.el8_102.9.7-19.el8_10
AlmaLinux:9libxml2before 2.9.13-6.el9_5.22.9.13-6.el9_5.2
AlmaLinux:9libxml2-develbefore 2.9.13-6.el9_5.22.9.13-6.el9_5.2
AlmaLinux:9python3-libxml2before 2.9.13-6.el9_5.22.9.13-6.el9_5.2
Alpine:v3.18libxml2from 2.13.0 · before 2.11.8-r12.11.8-r1
Alpine:v3.20libxml2from 2.13.0 · before 2.12.7-r12.12.7-r1
Alpine:v3.21libxml2from 2.13.0 · before 2.13.4-r42.13.4-r4
Alpine:v3.22libxml2from 2.13.0 · before 2.13.6-r02.13.6-r0
Debian:11libxml2before 2.9.10+dfsg-6.7+deb11u62.9.10+dfsg-6.7+deb11u6
Debian:12libxml2before 2.9.14+dfsg-1.3~deb12u22.9.14+dfsg-1.3~deb12u2
Debian:13libxml2before 2.12.7+dfsg+really2.9.14-0.42.12.7+dfsg+really2.9.14-0.4
openSUSE:Leap 15.6libxml2before 2.10.3-150500.5.23.12.10.3-150500.5.23.1
openSUSE:Leap 15.6libxml2-pythonbefore 2.10.3-150500.5.23.12.10.3-150500.5.23.1
openSUSE:Leap 15.6python-libxml2-pythonbefore 2.9.7-150000.3.76.12.9.7-150000.3.76.1
openSUSE:Tumbleweedlibxml2before 2.13.6-1.12.13.6-1.1
Red Hat:enterprise_linux:10.0libxml2before 0:2.12.5-5.el10_00:2.12.5-5.el10_0
Red Hat:enterprise_linux:10.0libxml2-debuginfobefore 0:2.12.5-5.el10_00:2.12.5-5.el10_0
Red Hat:enterprise_linux:10.0libxml2-debugsourcebefore 0:2.12.5-5.el10_00:2.12.5-5.el10_0
Red Hat:enterprise_linux:10.0libxml2-develbefore 0:2.12.5-5.el10_00:2.12.5-5.el10_0
Red Hat:enterprise_linux:10.0libxml2-staticbefore 0:2.12.5-5.el10_00:2.12.5-5.el10_0
Red Hat:enterprise_linux:10.0python3-libxml2before 0:2.12.5-5.el10_00:2.12.5-5.el10_0
Red Hat:enterprise_linux:10.0python3-libxml2-debuginfobefore 0:2.12.5-5.el10_00:2.12.5-5.el10_0

+71

Other highest-scoring records for the same primary product.

  • CVE-2008-3529Heap-based buffer overflow in the xmlParseAttValueComplex function in parser.c in libxml2 before 2.7.0 allows context-dependent attackers…
    47Plan
  • CVE-2017-7376Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling…
    46Plan
  • CVE-2022-40303An issue was discovered in libxml2 before 2.10.3.
    42Plan

Published before and after this one in the same product

  • ← EarlierCVE-2024-40896Dec 23, 2024 · In libxml2 2.11 before 2.11.9, 2.12 before 2.12.9, and 2.13 before 2.13.3, the SAX parser can produce events for external entities even if…
    36Monitor
  • ← EarlierCVE-2022-49043Jan 26, 2025 · xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.
    31Monitor
  • Later →CVE-2025-27113Feb 18, 2025 · libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a NULL pointer dereference in xmlPatMatch in pattern.c.
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
xmlsoft libxml22.12.10Vendor (CNA)
xmlsoft libxml22.13.6Vendor (CNA)
azl3 libxml2 2.11.5-4 on Azure Linux 3.02.11.5-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
azl3 libxml2 2.11.5-5 on Azure Linux 3.02.11.5-4 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 libxml2 2.10.4-6 on CBL Mariner 2.02.10.4-6 · CBL-Mariner ReleasesMicrosoft (MSRC)
cbl2 libxml2 2.10.4-6 on CBL-Mariner 2.02.10.4-6 · CBL-Mariner ReleasesMicrosoft (MSRC)
almalinux:libxml22.9.13-6.el9_5.2 · AlmaLinux:9Package registry (OSV)
almalinux:libxml2-devel2.9.13-6.el9_5.2 · AlmaLinux:9Package registry (OSV)
almalinux:python3-libxml22.9.13-6.el9_5.2 · AlmaLinux:9Package registry (OSV)
alpine:libxml22.11.8-r1 · Alpine:v3.18Package registry (OSV)
debian:libxml22.9.14+dfsg-1.3~deb12u2 · Debian:12Package registry (OSV)
opensuse:libxml22.10.3-150500.5.23.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:libxml2-python2.10.3-150500.5.23.1 · openSUSE:Leap 15.6Package registry (OSV)
opensuse:python-libxml2-python2.9.7-150000.3.76.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:libxml20:2.12.5-5.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:libxml2-debuginfo0:2.12.5-5.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:libxml2-debugsource0:2.12.5-5.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:libxml2-devel0:2.12.5-5.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:libxml2-python0:2.9.1-6.el7_9.9 · Red Hat:rhel_els:7Package registry (OSV)
red hat:libxml2-static0:2.12.5-5.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:python3-libxml20:2.12.5-5.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
red hat:python3-libxml2-debuginfo0:2.12.5-5.el10_0 · Red Hat:enterprise_linux:10.0Package registry (OSV)
rocky linux:libxml20:2.9.13-6.el9_5.2 · Rocky Linux:9Package registry (OSV)
suse:libxml22.10.3-150500.5.23.1 · SUSE:Linux Enterprise Micro 5.5Package registry (OSV)
suse:libxml2-python2.10.3-150500.5.23.1 · SUSE:Linux Enterprise Micro 5.5Package registry (OSV)
suse:python-libxml22.9.4-46.81.1 · SUSE:Linux Enterprise Server 12 SP5-LTSSPackage registry (OSV)
suse:python-libxml2-python2.9.7-150000.3.76.1 · SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSSPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2022-4904323 days apartxmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.
    31Monitor
  • CVE-2024-25062380 days apartAn issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5.
    30Monitor
  • CVE-2026-6653489 days apartlibxml2: Use after free in xmlParseInternalSubset via improper entity resolution handling
    28Monitor
  • CVE-2023-45322501 days apartlibxml2 through 2.11.5 has a use-after-free that can only occur after a certain memory allocation fails.
    26Monitor

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

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

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records