libxml2 2.9.2 does not properly stop parsing invalid input, which allows…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Partial
- Fix status
- Partial Red Hat: 17 fixed, 3 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
Summary
libxml2 2.9.2 does not properly stop parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bounds read and libxml2 crash) via crafted XML data to the (1) xmlParseEntityDecl or (2) xmlParseConditionalSections function in parser.c, as demonstrated by non-terminated entities.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* | 15.04 | Vulnerable | Canonical |
| cpe:2.3:a:xmlsoft:libxml2:2.9.2:*:*:*:*:*:*:* | 2.9.2 | Vulnerable | xmlsoft |
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
- cpe:2.3:a:xmlsoft:libxml2:2.9.2:*:*:*:*:*:*:* Versions 2.9.2 Vulnerable ·xmlsoft
Remediation
Red Hat 3 advisories
- RHSA-2016:1089 Released 2016-05-17 · Red Hat rating ModerateRed Hat JBoss Web Server 3.0.3 security update
- Red Hat JBoss Web Server 3.0
- RHSA-2015:2550 Released 2015-12-07 · Red Hat rating Moderatelibxml2 security update
- Red Hat Enterprise Linux Client (v. 7) libxml2-2.9.1-6.el7_2.2, libxml2-python-2.9.1-6.el7_2.2
- Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel-2.9.1-6.el7_2.2, libxml2-static-2.9.1-6.el7_2.2
- Red Hat Enterprise Linux ComputeNode (v. 7) libxml2-2.9.1-6.el7_2.2, libxml2-python-2.9.1-6.el7_2.2
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel-2.9.1-6.el7_2.2, libxml2-static-2.9.1-6.el7_2.2
- Red Hat Enterprise Linux Server (v. 7) libxml2-2.9.1-6.el7_2.2, libxml2-2.9.1-6.el7_2.2.ppc, libxml2-devel-2.9.1-6.el7_2.2 +2
- Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static-2.9.1-6.el7_2.2, libxml2-static-2.9.1-6.el7_2.2.ppc
- Red Hat Enterprise Linux Workstation (v. 7) libxml2-2.9.1-6.el7_2.2, libxml2-devel-2.9.1-6.el7_2.2, libxml2-python-2.9.1-6.el7_2.2
- Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static-2.9.1-6.el7_2.2
- RHSA-2015:2549 Released 2015-12-07 · Red Hat rating Moderatelibxml2 security update
- Red Hat Enterprise Linux Desktop (v. 6) libxml2-2.7.6-20.el6_7.1, libxml2-python-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux Desktop Optional (v. 6) libxml2-devel-2.7.6-20.el6_7.1, libxml2-static-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux HPC Node (v. 6) libxml2-2.7.6-20.el6_7.1, libxml2-python-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux HPC Node Optional (v. 6) libxml2-devel-2.7.6-20.el6_7.1, libxml2-static-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux Server (v. 6) libxml2-2.7.6-20.el6_7.1, libxml2-2.7.6-20.el6_7.1.ppc, libxml2-devel-2.7.6-20.el6_7.1 +2
- Red Hat Enterprise Linux Server Optional (v. 6) libxml2-static-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux Workstation (v. 6) libxml2-2.7.6-20.el6_7.1, libxml2-devel-2.7.6-20.el6_7.1, libxml2-python-2.7.6-20.el6_7.1
- Red Hat Enterprise Linux Workstation Optional (v. 6) libxml2-static-2.7.6-20.el6_7.1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 4 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Web Server 2 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2015:2549 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2015:2550 |
| Red Hat JBoss Web Server 3.0 | Fixed | RHSA-2016:1089 |
Timeline
- 2026-10-02 Threatist record created from CVE-2015-7941
- 2026-10-03 Alias added: GHSA-v48g-p9p2-j8cr
References
Advisory 11
Other 9
- [oss-security] 20151022 Crafted xml causes out of bound memory access - Libxml2
- https://git.gnome.org/browse/libxml2/commit/?id=9b8512337d14c8ddf662fcb98b0135f225a1c489
- http://xmlsoft.org/news.html
- https://bugzilla.gnome.org/show_bug.cgi?id=744980
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04944172
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- [oss-security] 20151022 Re: Crafted xml causes out of bound memory access - Libxml2
- https://git.gnome.org/browse/libxml2/commit/?id=a7dfab7411cbf545f359dd3157e5df1eb0e7ce31
Sources
- CVE-2015-7941 · CVE Program
- CVE-2015-7941 · NVD
- FIRST EPSS
- GHSA-v48g-p9p2-j8cr · GitHub Advisory Database · CC BY 4.0
- CVE-2015-7941 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences