
CVE catalog
CVE-2015-5312
libxml2: CVE-2015-5312
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 4.50% · Oct 25, 2026
The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted XML data, a different vulnerability than CVE-2014-3660.
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 | libxml2 | sid | 2.15.4+dfsg-1 | fixed |
| Debian | libxml2 | forky | 2.15.4+dfsg-1 | fixed |
| Debian | libxml2 | trixie | 2.12.7+dfsg+really2.9.14-2.1+deb13u3 | fixed |
| Debian | libxml2 | trixie-security | 2.12.7+dfsg+really2.9.14-2.1+deb13u1 | fixed |
| Debian | libxml2 | bookworm | 2.9.14+dfsg-1.3~deb12u6 | fixed |
| Debian | libxml2 | bookworm-security | 2.9.14+dfsg-1.3~deb12u4 | fixed |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu2 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu3 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.1 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.2 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.3 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.4 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.5 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.6 | fixed |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu2 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu3 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.1 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.2 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.3 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.4 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.5 | vulnerable |
| Ubuntu | libxml2 | 14.04 | 2.9.1+dfsg1-3ubuntu4.6 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libxml2 | source | sid | 2.9.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | libxml2 | source | forky | 2.9.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | libxml2 | source | trixie | 2.9.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Debian | libxml2 | source | bookworm | 2.9.3+dfsg1-1 | not yet assigned | Not reported | Not reported |
| Ubuntu | libxml2 | deb | 14.04 | 2.9.1+dfsg1-3ubuntu4.6 | Not reported | UBUNTU-CVE-2015-5312 | Not reported |
| Ubuntu | libxml2 | deb | 14.04 | 2.9.1+dfsg1-3ubuntu4.6 | Not reported | USN-2834-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libxml2]Unknown
Details (4)
2.9.14+dfsg-1.3~deb12u6· amd64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u6· arm64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· amd64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· arm64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
- [libxml2-dev]Unknown
Source package: [libxml2]
Details (4)
2.9.14+dfsg-1.3~deb12u6· amd64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u6· arm64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· amd64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· arm64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
- [libxml2-doc]Unknown
Source package: [libxml2]
Details (4)
2.9.14+dfsg-1.3~deb12u6· all · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u6· all · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· all · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· all · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
- [libxml2-utils]Unknown
Source package: [libxml2]
Details (4)
2.9.14+dfsg-1.3~deb12u6· amd64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u6· arm64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· amd64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· arm64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
- [python3-libxml2]Unknown
Source package: [libxml2]
Details (4)
2.9.14+dfsg-1.3~deb12u6· amd64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u6· arm64 · bookwormFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· amd64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
2.9.14+dfsg-1.3~deb12u4· arm64 · bookworm-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · bookworm; dsa · libxml2 · debian · 12
[Debian 13 (Trixie)]
- [libxml2]Unknown
Details (4)
2.12.7+dfsg+really2.9.14-2.1+deb13u3· amd64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u3· arm64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· arm64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
- [libxml2-dev]Unknown
Source package: [libxml2]
Details (4)
2.12.7+dfsg+really2.9.14-2.1+deb13u3· amd64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u3· arm64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· arm64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
- [libxml2-doc]Unknown
Source package: [libxml2]
Details (4)
2.12.7+dfsg+really2.9.14-2.1+deb13u3· all · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u3· all · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· all · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· all · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
- [libxml2-utils]Unknown
Source package: [libxml2]
Details (4)
2.12.7+dfsg+really2.9.14-2.1+deb13u3· amd64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u3· arm64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· arm64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
- [python3-libxml2]Unknown
Source package: [libxml2]
Details (4)
2.12.7+dfsg+really2.9.14-2.1+deb13u3· amd64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u3· arm64 · trixieFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
2.12.7+dfsg+really2.9.14-2.1+deb13u1· arm64 · trixie-securityFixed · Fixed:
2.9.3+dfsg1-1dsa · libxml2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2015_2550.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2015-5312]
- [https://osv.dev/vulnerability/DLA-373-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2015-5312]
- [https://osv.dev/vulnerability/USN-2834-1]
- [https://security-tracker.debian.org/tracker/CVE-2015-5312]
- [https://security.access.redhat.com/data/csaf/v2/vex/2015/cve-2015-5312.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-1614.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]