CVE-2024-25062: xmlsoft libxml2 Use After Free
CVSS: 7.5v3.1HighModified
AliasesALPINE-CVE-2024-25062MGASA-2024-0172SUSE-SU-2024:0461-1SUSE-SU-2024:0461-2SUSE-SU-2024:0555-1SUSE-SU-2024:0556-1SUSE-SU-2024:0613-1SUSE-SU-2024:0613-2RHSA-2024:2679RHSA-2024:3299RHSA-2024:3303RHSA-2024:3625RHSA-2024:3626UBUNTU-CVE-2024-25062USN-6658-1USN-6658-2DEBIAN-CVE-2024-25062CGA-42hm-ghhh-q8j2CGA-72j8-h4c4-gq56openSUSE-SU-2024:13676-1CGA-37q4-2q6j-j7fvCGA-3vj3-wrhh-wp5xCGA-42jh-c7w6-v2fgCGA-4pqj-qj56-h653CGA-5jqj-67v4-rcfjCGA-683f-q47m-7h4xCGA-6f6j-4h53-62m4CGA-6mjh-r8q3-9q4jCGA-7c6j-vqrc-p38mCGA-7jh2-pq7x-4p96CGA-865x-4rxr-3g7rCGA-874f-3pc9-fv78CGA-8h3f-hx7v-c4jxCGA-95qj-6w3c-82vvCGA-9jwx-5hc7-5prwCGA-9rx2-3hjx-qpcmCGA-c22h-fv7p-vc73CGA-c5jr-q6fv-x6gcCGA-cm57-ff7v-9cq9CGA-cvx4-x5vv-hrwhCGA-f54h-wj9v-447rCGA-f9p3-r6v3-6gwjCGA-fxmm-c4rg-cwp4CGA-g896-92qh-g3c4CGA-jxv7-5942-vrwmCGA-m7wr-hqx9-4gmqCGA-mc27-76xw-57f7CGA-mf89-32v7-7rrmCGA-mpr6-9q9r-64w6CGA-pvcp-vv9r-2ph4CGA-x35h-95rv-h23fCGA-xfrr-c9p7-xpvq
Published 04-02-2024Last modified 15-10-2026
Vulnerability summary
CVE-2024-25062 is a high (CVSS 7.5) Use After Free vulnerability in xmlsoft libxml2. EPSS estimates a 1.31% chance of exploitation in the next 30 days, higher than 70.2% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
7.5/10
010
High · v3.1 (CVE.org)EPSS score
1.31%
0%100%
Low · -0.06 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference
Advisory lineage
Upstream 0 · Downstream 2 · Related 5Timeline
- 04-02-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.
CVSS metrics
8 scores · 8 sources · 1 versionHigh 7.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSourcesAll 8 agree
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.31%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
-0.06 pp
From 1.38% on 19-09-2026
19-09-202619-10-2026
EPSS score1.31%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploit Reference (gitlab.gnome.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Suse43 products
- libxml2-python&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.9.14-150400.5.28.1
- libxml2-python&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.9.14-150400.5.28.1
- libxml2-python&distro=SUSE Linux Enterprise Micro 5.3< 2.9.14-150400.5.28.1
- libxml2-python&distro=SUSE Linux Enterprise Micro 5.4< 2.9.14-150400.5.28.1
- libxml2-python&distro=SUSE Linux Enterprise Micro 5.5< 2.10.3-150500.5.14.1
Chainguard17 products
- openjdk-11-openj9-default-policy< 0.53.0-r0
- openjdk-17-openj9-default-policy< 0.53.0-r0
- openjdk-21-openj9-default-policy< 0.48.0-r2
- openjdk-25-openj9< 0.59.0-r1
- openjdk-25-openj9-dbg< 0.59.0-r1
Opensuse8 products
- libxml2-python&distro=openSUSE Leap 15.5< 2.10.3-150500.5.14.1
- libxml2-python&distro=openSUSE Leap Micro 5.3< 2.9.14-150400.5.28.1
- libxml2-python&distro=openSUSE Leap Micro 5.4< 2.9.14-150400.5.28.1
- libxml2&distro=openSUSE Leap 15.5< 2.10.3-150500.5.14.1
- libxml2&distro=openSUSE Leap Micro 5.3< 2.9.14-150400.5.28.1
Redhat6 products
- libxml2< 0:2.9.13-6.el9_4 | < 0:2.9.7-13.el8_6.5 | < 0:2.9.7-16.el8_8.4 | < 0:2.9.13-3.el9_2.3 | < 0:2.9.7-18.el8_10.1
- libxml2-debuginfo< 0:2.9.13-6.el9_4 | < 0:2.9.7-13.el8_6.5 | < 0:2.9.7-16.el8_8.4 | < 0:2.9.13-3.el9_2.3 | < 0:2.9.7-18.el8_10.1
- libxml2-debugsource< 0:2.9.13-6.el9_4 | < 0:2.9.7-13.el8_6.5 | < 0:2.9.7-16.el8_8.4 | < 0:2.9.13-3.el9_2.3 | < 0:2.9.7-18.el8_10.1
- libxml2-devel< 0:2.9.13-6.el9_4 | < 0:2.9.7-13.el8_6.5 | < 0:2.9.7-16.el8_8.4 | < 0:2.9.13-3.el9_2.3 | < 0:2.9.7-18.el8_10.1
- python3-libxml2< 0:2.9.13-6.el9_4 | < 0:2.9.7-13.el8_6.5 | < 0:2.9.7-16.el8_8.4 | < 0:2.9.13-3.el9_2.3 | < 0:2.9.7-18.el8_10.1
Alpine1 product
- libxml2≥ 2.12.0, < 2.11.7-r0 | ≥ 2.12.0, < 2.12.5-r0
Debian1 product
- libxml2< 2.9.14+dfsg-1.3~deb12u2 | < 2.12.7+dfsg+really2.9.14-1
Mageia1 product
- libxml2< 2.10.4-1.3.mga9
Ubuntu1 product
- libxml2< 2.9.10+dfsg-5ubuntu0.20.04.7 | < 2.9.13+dfsg-1ubuntu0.4 | < 2.9.1+dfsg1-3ubuntu4.13+esm6 | < 2.9.3+dfsg1-1ubuntu0.7+esm6 | < 2.9.4+dfsg1-6.1ubuntu1.9+esm1
Wolfi1 product
- openjdk-7-jreAll versions (No fix recorded)
Xmlsoft1 product
- libxml2< 2.11.7 | ≥ 2.12.0, < 2.12.5
10 vendors · 80 products