CVE-2025-24928 json
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in...
published 2025-02-18 20 mo ago modified 2026-09-10 59 d ago also BIT-java-2025-24928 , BIT-java-min-2025-24928 , BIT-jre-2025-24928 , EUVD-2025-4764 , JLSEC-2025-87
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
libxml2 before 2.12.10 and 2.13.x before 2.13.6 has a stack-based buffer overflow in xmlSnprintfElements in valid.c. To exploit this, DTD validation must occur for an untrusted document or untrusted DTD. NOTE: this is similar to CVE-2017-9047.
Patch / fix
- bitnami java 1.8.0, 8.0.461
- bitnami java-min 1.8.0, 8.0.461
- bitnami jre 1.8.0, 8.0.461
- julia XML2_jll 2.13.6+1
- xmlsoft libxml2 2.12.10, 2.13.6
- libxml2 Debian 12 2.9.14+dfsg-1.3~deb12u2
- libxml2 Debian 14, Debian 13 2.12.7+dfsg+really2.9.14-0.4
debian advisories DEBIAN-CVE-2025-24928
- libxml2 Ubuntu 20.04 LTS 2.9.10+dfsg-5ubuntu0.20.04.9
- libxml2 Ubuntu 22.04 LTS 2.9.13+dfsg-1ubuntu0.6
- libxml2 Ubuntu 24.04 LTS 2.9.14+dfsg-1.3ubuntu3.2
- libxml2 Ubuntu Pro 14.04 LTS 2.9.1+dfsg1-3ubuntu4.13+esm7
- libxml2 Ubuntu Pro 16.04 LTS 2.9.3+dfsg1-1ubuntu0.7+esm7
- libxml2 Ubuntu Pro 18.04 LTS 2.9.4+dfsg1-6.1ubuntu1.9+esm2
ubuntu advisories UBUNTU-CVE-2025-24928
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libxml2 RHEL 10.0 2.12.5-5.el10_0
- python3-libxml2 RHEL 10.0 2.12.5-5.el10_0
- libxml2 RHEL 8 2.9.7-19.el8_10
- python3-libxml2 RHEL 8 2.9.7-19.el8_10
- libxml2 RHEL 9 2.9.13-6.el9_5.2
- python3-libxml2 RHEL 9 2.9.13-6.el9_5.2
- libxml2 RHEL 9.4 EUS 2.9.13-9.el9_4
- python3-libxml2 RHEL 9.4 EUS 2.9.13-9.el9_4
red hat advisories RHBA-2025:6597RHSA-2025:2686RHSA-2025:2678RHSA-2025:2679RHSA-2025:2673RHSA-2025:2660
- libxml2 Linux Micro 6.1 2.11.6-slfo.1.1_2.1
- libxml2 Linux Micro 6.0 2.11.6-5.1
- libxml2 SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 2.9.7-150000.3.76.1
- python-libxml2-python SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 2.9.7-150000.3.76.1
- libxml2 SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 2.9.14-150400.5.38.1
- libxml2-python SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 2.9.14-150400.5.38.1
- libxml2 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Basesystem 15 SP6 +4 more 2.10.3-150500.5.23.1
- libxml2-python SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Python 3 15 SP6 +5 more 2.10.3-150500.5.23.1
suse advisories SUSE-SU-2025:20274-1SUSE-SU-2025:20177-1SUSE-SU-2025:0976-1SUSE-SU-2025:0748-1SUSE-SU-2025:0747-1SUSE-SU-2025:0746-1
- python-lxml openSUSE Tumbleweed 5.3.2-1.1
- libxml2 openSUSE Tumbleweed 2.13.6-1.1
opensuse advisories openSUSE-SU-2025:14999-1openSUSE-SU-2025:14830-1
- libxml2 AlmaLinux 9 2.9.13-6.el9_5.2
- python3-libxml2 AlmaLinux 9 2.9.13-6.el9_5.2
- libxml2 AlmaLinux 8 2.9.7-19.el8_10
- python3-libxml2 AlmaLinux 8 2.9.7-19.el8_10
almalinux advisories ALSA-2025:2679ALSA-2025:2686
- libxml2 Rocky Linux 9 2.9.13-6.el9_5.2
- libxml2 Rocky Linux 8 2.9.7-19.el8_10
rocky linux advisories RLSA-2025:2679RLSA-2025:2686
- libxml2 Alpine 3.19, Alpine 3.18 2.11.8-r1
- libxml2 Alpine 3.20 2.12.7-r1
- libxml2 Alpine 3.21 2.13.4-r4
- libxml2 Alpine 3.24, Alpine 3.23, Alpine 3.22 2.13.6-r0
- qt6-qtwebengine Alpine 3.22 6.8.3-r5
- qt6-qtwebengine Alpine 3.24, Alpine 3.23 6.10.0-r1
alpine advisories ALPINE-CVE-2025-24928
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libxml2 CBL-Mariner 2.0 2.10.4-6
- libxml2 Azure Linux 3.0 2.11.5-4
azure linux advisories AZL-56931AZL-57031
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-24928 updated cvss 7.8
libxml2: Stack-based buffer overflow in xmlSnprintfElements of libxml2
-
Red Hat Enterprise Linux 6 libxml2, libxml2-pythonaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) libxml2-devel 2.9.7-19.el8_10, libxml2-debuginfo 2.9.7-19.el8_10, libxml2-debugsource 2.9.7-19.el8_10, python3-libxml2-debuginfo 2.9.7-19.el8_10fixed: vendor fix RHSA-2025:2686
-
Red Hat Enterprise Linux AppStream (v. 9) libxml2-devel 2.9.13-6.el9_5.2, libxml2-debuginfo 2.9.13-6.el9_5.2, libxml2-debugsource 2.9.13-6.el9_5.2, python3-libxml2-debuginfo 2.9.13-6.el9_5.2fixed: vendor fix RHSA-2025:2679
-
Red Hat Enterprise Linux AppStream (v. 10) libxml2-devel 2.12.5-5.el10_0, libxml2-debuginfo 2.12.5-5.el10_0, libxml2-debugsource 2.12.5-5.el10_0, python3-libxml2-debuginfo 2.12.5-5.el10_0fixed: vendor fix RHBA-2025:6597
-
Red Hat Enterprise Linux AppStream AUS (v. 8.2) libxml2-devel 2.9.7-9.el8_2.1, libxml2-debuginfo 2.9.7-9.el8_2.1, libxml2-debugsource 2.9.7-9.el8_2.1, python3-libxml2-debuginfo 2.9.7-9.el8_2.1fixed: vendor fix RHSA-2025:2654
-
Red Hat Enterprise Linux AppStream AUS (v.8.4) libxml2-devel 2.9.7-9.el8_4.5, libxml2-debuginfo 2.9.7-9.el8_4.5, libxml2-debugsource 2.9.7-9.el8_4.5, python3-libxml2-debuginfo 2.9.7-9.el8_4.5fixed: vendor fix RHSA-2025:2660
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) libxml2-devel 2.9.7-13.el8_6.8, libxml2-debuginfo 2.9.7-13.el8_6.8, libxml2-debugsource 2.9.7-13.el8_6.8, python3-libxml2-debuginfo 2.9.7-13.el8_6.8fixed: vendor fix RHSA-2025:2513
-
Red Hat Enterprise Linux AppStream E4S (v.8.4) libxml2-devel 2.9.7-9.el8_4.5, libxml2-debuginfo 2.9.7-9.el8_4.5, libxml2-debugsource 2.9.7-9.el8_4.5, python3-libxml2-debuginfo 2.9.7-9.el8_4.5fixed: vendor fix RHSA-2025:2660
show 31 moreshow fewer
-
Red Hat Enterprise Linux AppStream E4S (v.8.6) libxml2-devel 2.9.7-13.el8_6.8, libxml2-debuginfo 2.9.7-13.el8_6.8, libxml2-debugsource 2.9.7-13.el8_6.8, python3-libxml2-debuginfo 2.9.7-13.el8_6.8fixed: vendor fix RHSA-2025:2513
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) libxml2-devel 2.9.13-1.el9_0.4, libxml2-debuginfo 2.9.13-1.el9_0.4, libxml2-debugsource 2.9.13-1.el9_0.4, python3-libxml2-debuginfo 2.9.13-1.el9_0.4fixed: vendor fix RHSA-2025:2483
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) libxml2-devel 2.9.7-16.el8_8.7, libxml2-debuginfo 2.9.7-16.el8_8.7, libxml2-debugsource 2.9.7-16.el8_8.7, python3-libxml2-debuginfo 2.9.7-16.el8_8.7fixed: vendor fix RHSA-2025:2507
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) libxml2-devel 2.9.13-3.el9_2.6, libxml2-debuginfo 2.9.13-3.el9_2.6, libxml2-debugsource 2.9.13-3.el9_2.6, python3-libxml2-debuginfo 2.9.13-3.el9_2.6fixed: vendor fix RHSA-2025:2482
-
Red Hat Enterprise Linux AppStream EUS (v.9.4) libxml2-devel 2.9.13-9.el9_4, libxml2-debuginfo 2.9.13-9.el9_4, libxml2-debugsource 2.9.13-9.el9_4, python3-libxml2-debuginfo 2.9.13-9.el9_4fixed: vendor fix RHSA-2025:2678
-
Red Hat Enterprise Linux AppStream TUS (v.8.4) libxml2-devel 2.9.7-9.el8_4.5, libxml2-debuginfo 2.9.7-9.el8_4.5, libxml2-debugsource 2.9.7-9.el8_4.5, python3-libxml2-debuginfo 2.9.7-9.el8_4.5fixed: vendor fix RHSA-2025:2660
-
Red Hat Enterprise Linux AppStream TUS (v.8.6) libxml2-devel 2.9.7-13.el8_6.8, libxml2-debuginfo 2.9.7-13.el8_6.8, libxml2-debugsource 2.9.7-13.el8_6.8, python3-libxml2-debuginfo 2.9.7-13.el8_6.8fixed: vendor fix RHSA-2025:2513
-
Red Hat Enterprise Linux BaseOS (v. 8) libxml2 2.9.7-19.el8_10, python3-libxml2 2.9.7-19.el8_10fixed: vendor fix RHSA-2025:2686
-
Red Hat Enterprise Linux BaseOS (v. 9) libxml2 2.9.13-6.el9_5.2, python3-libxml2 2.9.13-6.el9_5.2fixed: vendor fix RHSA-2025:2679
-
Red Hat Enterprise Linux BaseOS (v. 10) libxml2 2.12.5-5.el10_0, python3-libxml2 2.12.5-5.el10_0fixed: vendor fix RHBA-2025:6597
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) libxml2 2.9.7-9.el8_2.1, python3-libxml2 2.9.7-9.el8_2.1fixed: vendor fix RHSA-2025:2654
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) libxml2 2.9.7-9.el8_4.5, python3-libxml2 2.9.7-9.el8_4.5fixed: vendor fix RHSA-2025:2660
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) libxml2 2.9.7-13.el8_6.8, python3-libxml2 2.9.7-13.el8_6.8fixed: vendor fix RHSA-2025:2513
-
Red Hat Enterprise Linux BaseOS E4S (v.8.4) libxml2 2.9.7-9.el8_4.5, python3-libxml2 2.9.7-9.el8_4.5fixed: vendor fix RHSA-2025:2660
-
Red Hat Enterprise Linux BaseOS E4S (v.8.6) libxml2 2.9.7-13.el8_6.8, python3-libxml2 2.9.7-13.el8_6.8fixed: vendor fix RHSA-2025:2513
-
Red Hat Enterprise Linux BaseOS E4S (v.9.0) libxml2 2.9.13-1.el9_0.4, python3-libxml2 2.9.13-1.el9_0.4fixed: vendor fix RHSA-2025:2483
-
Red Hat Enterprise Linux BaseOS EUS (v.8.8) libxml2 2.9.7-16.el8_8.7, python3-libxml2 2.9.7-16.el8_8.7fixed: vendor fix RHSA-2025:2507
-
Red Hat Enterprise Linux BaseOS EUS (v.9.2) libxml2 2.9.13-3.el9_2.6, python3-libxml2 2.9.13-3.el9_2.6fixed: vendor fix RHSA-2025:2482
-
Red Hat Enterprise Linux BaseOS EUS (v.9.4) libxml2 2.9.13-9.el9_4, python3-libxml2 2.9.13-9.el9_4fixed: vendor fix RHSA-2025:2678
-
Red Hat Enterprise Linux BaseOS TUS (v.8.4) libxml2 2.9.7-9.el8_4.5, python3-libxml2 2.9.7-9.el8_4.5fixed: vendor fix RHSA-2025:2660
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) libxml2 2.9.7-13.el8_6.8, python3-libxml2 2.9.7-13.el8_6.8fixed: vendor fix RHSA-2025:2513
-
Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) libxml2-static 2.12.5-5.el10_0, libxml2-debuginfo 2.12.5-5.el10_0, libxml2-debugsource 2.12.5-5.el10_0, python3-libxml2-debuginfo 2.12.5-5.el10_0fixed: vendor fix RHBA-2025:6597
-
Red Hat Enterprise Linux Server (v. 7 ELS) libxml2 2.9.1-6.el7_9.9, libxml2-python 2.9.1-6.el7_9.9 Red Hat Enterprise Linux Server Optional (v. 7 ELS) libxml2-static 2.9.1-6.el7_9.9, libxml2-debuginfo 2.9.1-6.el7_9.9fixed: vendor fix RHSA-2025:2673
-
Red Hat JBoss Core Services 2.4.62fixed: vendor fix RHSA-2025:3453
-
Red Hat OpenShift AI 2.16 rhoai v2.16.2-1742480582, rhoai v2.16.2-1742487039, rhoai v2.16.2-1742487199, rhoai v2.16.2-1742487225, rhoai v2.16.2-1742487380, rhoai v2.16.2-1742488070, +7 morefixed: vendor fix RHSA-2025:3368
-
Red Hat OpenShift Container Platform 4.12 rhcos 412.86.202503310142-0fixed: vendor fix RHSA-2025:3573
-
Red Hat OpenShift Container Platform 4.13 rhcos 413.92.202504070146-0fixed: vendor fix RHSA-2025:3780
-
Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202504010153-0fixed: vendor fix RHSA-2025:3569
-
Red Hat OpenShift Container Platform 4.15 rhcos 415.92.202609140326, rhcos 415.92.202503190057-0fixed: vendor fix RHSA-2026:67857
-
Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202503252048-0fixed: vendor fix RHSA-2025:3301
-
Red Hat OpenShift Container Platform 4.17 rhcos 417.94.202503241418-0fixed: vendor fix RHSA-2025:3297
6 more fixed, 10 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 15 mo ago
Exploit prediction
0.39% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 7.7 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N |
| OSV | 3.1 | 7.7 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | java | <1.8.0 >=1.9.0, <8.0.461 |
1.8.0 8.0.461 |
| bitnami | java-min | <1.8.0 >=1.9.0, <8.0.461 |
1.8.0 8.0.461 |
| bitnami | jre | <1.8.0 >=1.9.0, <8.0.461 |
1.8.0 8.0.461 |
| julia | XML2_jll | <2.13.6+1 |
2.13.6+1 |
Affected products
- xmlsoft libxml2
Classification
- Weakness
-
- CWE-121 Stack-based Buffer Overflow
References
-
gitlab.gnome.org
/GNOME/libxml2/-/issues/847
issue-tracking, report, web
-
issues.oss-fuzz.com
/issues/392687022
issue-tracking, report, web
-
security.netapp.com
/advisory/ntap-20250321-0006/
third-party-advisory, advisory, web
-
lists.debian.org
/debian-lts-announce/2025/02/msg00028.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-24928
web
Sources
- CVE List CVE-2025-24928
- NVD CVE-2025-24928
- OSV BIT-java-2025-24928
- OSV BIT-java-min-2025-24928
- OSV BIT-jre-2025-24928
- OSV JLSEC-2025-87
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.