
CVE catalog
CVE-2012-1148
xmltok library vulnerability
- Severity
- High · CVSS 7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.47% · Oct 25, 2026
Memory leak in the poolGrow function in expat/lib/xmlparse.c in expat before 2.1.0 allows context-dependent attackers to cause a denial of service (memory consumption) via a large number of crafted XML files that cause improperly-handled reallocation failures when expanding entities.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | expat | sid | 2.9.0-1 | fixed |
| Debian | expat | forky | 2.9.0-1 | fixed |
| Debian | expat | trixie | 2.8.3-1~deb13u1 | fixed |
| Debian | expat | trixie-security | 2.9.0-1~deb13u1 | fixed |
| Debian | expat | bookworm | 2.5.0-1+deb12u2 | fixed |
| Debian | expat | bookworm-security | 2.5.0-1+deb12u5 | fixed |
| Debian | xmlrpc-c | sid | 1.60.05-1 | fixed |
| Debian | xmlrpc-c | forky | 1.60.05-1 | fixed |
| Debian | xmlrpc-c | trixie | 1.59.03-10 | fixed |
| Debian | xmlrpc-c | bookworm | 1.33.14-11 | fixed |
| Debian | libxmltok | bookworm | 1.2-4 | vulnerable |
| Ubuntu | libxmltok | noble | Not reported | vulnerable |
| Ubuntu | expat | noble | 2.1.0~beta3-1 | fixed |
| Ubuntu | xmlrpc-c | noble | 1.16.33-3.2 | fixed |
| Ubuntu | libxmltok | noble | 1.2-4.1ubuntu2.24.0.4.1+esm3 | fixed |
| Ubuntu | libxmltok1-dev | noble | 1.2-4.1ubuntu2.24.0.4.1+esm3 | fixed |
| Ubuntu | libxmltok1t64 | noble | 1.2-4.1ubuntu2.24.0.4.1+esm3 | fixed |
| Ubuntu | libxmltok | pro | 1.2-4 | vulnerable |
| Ubuntu | libxmltok | pro | 1.2-4ubuntu0.22.04.1~esm1 | fixed |
| Ubuntu | libxmltok | pro | 1.2-4ubuntu1 | vulnerable |
| Ubuntu | libxmltok | pro | 1.2-4.1ubuntu1 | vulnerable |
| Ubuntu | libxmltok | pro | 1.2-4.1ubuntu2 | vulnerable |
| Ubuntu | libxmltok | pro | 1.2-4.1ubuntu2.24.0.4.1+esm1 | vulnerable |
| Ubuntu | libxmltok | pro | 1.2-4.1ubuntu2.24.0.4.1+esm2 | vulnerable |
| Ubuntu | libxmltok | pro | 1.2-4.1ubuntu2.24.0.4.1+esm3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | expat | source | sid | 2.1.0~beta3-1 | not yet assigned | Not reported | [663579] |
| Debian | expat | source | forky | 2.1.0~beta3-1 | not yet assigned | Not reported | [663579] |
| Debian | expat | source | trixie | 2.1.0~beta3-1 | not yet assigned | Not reported | [663579] |
| Debian | expat | source | bookworm | 2.1.0~beta3-1 | not yet assigned | Not reported | [663579] |
| Debian | xmlrpc-c | source | sid | 1.16.33-3.2 | low | Not reported | [687672] |
| Debian | xmlrpc-c | source | forky | 1.16.33-3.2 | low | Not reported | [687672] |
| Debian | xmlrpc-c | source | trixie | 1.16.33-3.2 | low | Not reported | [687672] |
| Debian | xmlrpc-c | source | bookworm | 1.16.33-3.2 | low | Not reported | [687672] |
| Debian | libxmltok | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Ubuntu | expat | deb | noble | 2.1.0~beta3-1 | Not reported | Not reported | Not reported |
| Ubuntu | xmlrpc-c | deb | noble | 1.16.33-3.2 | Not reported | Not reported | Not reported |
| Ubuntu | libxmltok | deb | noble | 1.2-4.1ubuntu2.24.0.4.1+esm3 | Not reported | Not reported | Not reported |
| Ubuntu | libxmltok1-dev | deb | noble | 1.2-4.1ubuntu2.24.0.4.1+esm3 | Not reported | Not reported | Not reported |
| Ubuntu | libxmltok1t64 | deb | noble | 1.2-4.1ubuntu2.24.0.4.1+esm3 | Not reported | Not reported | Not reported |
| Ubuntu | libxmltok | deb | pro | 1.2-4ubuntu0.22.04.1~esm1 | Not reported | USN-5455-1 | Not reported |
| Ubuntu | libxmltok | deb | pro | 1.2-4.1ubuntu2.24.0.4.1+esm3 | Not reported | USN-7307-1 | Not reported |
[Debian bug #663579][Debian bug #687672]
Notes
[bookworm] libxmltok: Minor issue, no runtime dependencies left
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [expat]Unknown
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
- [libexpat1]Unknown
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
- [libexpat1-dev]Unknown
Source package: [expat]
Details (4)
2.5.0-1+deb12u2· amd64 · bookwormFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u2· arm64 · bookwormFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· amd64 · bookworm-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
2.5.0-1+deb12u3· arm64 · bookworm-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · bookworm; usn · expat · debian · 12
- [libxmlrpc-c++8-dev]Unknown
Source package: [xmlrpc-c]
Details (2)
1.33.14-11· amd64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
1.33.14-11· arm64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
- [libxmlrpc-c++8v5]Unknown
Source package: [xmlrpc-c]
Details (2)
1.33.14-11· amd64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
1.33.14-11· arm64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
- [libxmlrpc-core-c3]Unknown
Source package: [xmlrpc-c]
Details (2)
1.33.14-11· amd64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
1.33.14-11· arm64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
- [libxmlrpc-core-c3-dev]Unknown
Source package: [xmlrpc-c]
Details (2)
1.33.14-11· amd64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
1.33.14-11· arm64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
- [libxmltok1]Unknown
Source package: [libxmltok]
Details (2)
1.2-4· amd64 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
- [libxmltok1-dev]Unknown
Source package: [libxmltok]
Details (2)
1.2-4· amd64 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
1.2-4· arm64 · bookwormAffected
usn · libxmltok · debian · bookworm; usn · libxmltok · debian · 12
- [xmlrpc-api-utils]Unknown
Source package: [xmlrpc-c]
Details (2)
1.33.14-11· amd64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
1.33.14-11· arm64 · bookwormFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · bookworm; usn · xmlrpc-c · debian · 12
[Debian 13 (Trixie)]
- [expat]Unknown
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
- [libexpat1]Unknown
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
- [libexpat1-dev]Unknown
Source package: [expat]
Details (6)
2.7.1-2· amd64 · trixieFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.7.1-2· arm64 · trixieFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.2-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.3-1~deb13u1· amd64 · trixie-security · Historical versionFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.8.3-1~deb13u1· arm64 · trixie-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
2.9.0-1~deb13u1· amd64 · trixie-securityFixed · Fixed:
2.1.0~beta3-1usn · expat · debian · 13
- [libxmlrpc-c++9]Unknown
Source package: [xmlrpc-c]
Details (2)
1.59.03-10· amd64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
1.59.03-10· arm64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
- [libxmlrpc-c++9-dev]Unknown
Source package: [xmlrpc-c]
Details (2)
1.59.03-10· amd64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
1.59.03-10· arm64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
- [libxmlrpc-core-c3-dev]Unknown
Source package: [xmlrpc-c]
Details (2)
1.59.03-10· amd64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
1.59.03-10· arm64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
- [libxmlrpc-core-c3t64]Unknown
Source package: [xmlrpc-c]
Details (2)
1.59.03-10· amd64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
1.59.03-10· arm64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
- [libxmlrpc-util4]Unknown
Source package: [xmlrpc-c]
Details (2)
1.59.03-10· amd64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
1.59.03-10· arm64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
- [libxmlrpc-util-dev]Unknown
Source package: [xmlrpc-c]
Details (2)
1.59.03-10· amd64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
1.59.03-10· arm64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
- [xmlrpc-api-utils]Unknown
Source package: [xmlrpc-c]
Details (2)
1.59.03-10· amd64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
1.59.03-10· arm64 · trixieFixed · Fixed:
1.16.33-3.2usn · xmlrpc-c · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10077-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2012-1148]
- [https://osv.dev/vulnerability/USN-5455-1]
- [https://osv.dev/vulnerability/USN-7307-1]
- [https://security-tracker.debian.org/tracker/CVE-2012-1148]
- [https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-1148.json]
- [https://ubuntu.com/security/notices/USN-7307-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]