CVE-2015-7942 json
The xmlParseConditionalSections function in parser.c in libxml2 does not properly skip intermediary entities when it stops parsing invalid…
published 2015-11-18 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-7839
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.5%
- EPSS 4.5% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The xmlParseConditionalSections function in parser.c in libxml2 does not properly skip intermediary entities when it stops parsing invalid input, which allows context-dependent attackers to cause a denial of service (out-of-bounds read and crash) via crafted XML data, a different vulnerability than CVE-2015-7941.
Patch / fix
- libxml2 Debian 14, Debian 13, Debian 12 2.9.3+dfsg1-1
debian advisories DEBIAN-CVE-2015-7942
- libxml2 Ubuntu 14.04 LTS 2.9.1+dfsg1-3ubuntu4.5
ubuntu advisories UBUNTU-CVE-2015-7942
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 7 2.9.1-6.el7_2.2
- libxml2-python RHEL 7 2.9.1-6.el7_2.2
- libxml2 RHEL 6 2.7.6-20.el6_7.1
- libxml2-python RHEL 6 2.7.6-20.el6_7.1
red hat advisories RHSA-2015:2550RHSA-2015:2549
- libxml2 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +5 more 2.9.1-13.1
- python-libxml2 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 2.9.1-13.1
- libxml2 SLES for SAP 11 SP4, SLES for SAP 11 SP3, SLES 11 SP4 +6 more 2.7.6-0.34.1
- libxml2-python SLES for SAP 11 SP4, SLES for SAP 11 SP3, SLES 11 SP4 +4 more 2.7.6-0.34.4
suse advisories SUSE-SU-2016:0049-1SUSE-SU-2016:0030-1
- rubygem-nokogiri openSUSE Tumbleweed 1.18.9-1.4
- rubygem-nokogiri openSUSE Tumbleweed 1.18.2-1.1
- rubygem-nokogiri openSUSE Tumbleweed 1.15.5-1.5
- libxml2 openSUSE Tumbleweed 2.9.4-1.22
- rubygem-nokogiri openSUSE Tumbleweed 1.6.8.1-1.3
- rubygem-nokogiri openSUSE Tumbleweed 1.13.3-1.1
- ruby3.2-rubygem-nokogiri openSUSE Tumbleweed 1.13.9-1.7
opensuse advisories openSUSE-SU-2026:10356-1openSUSE-SU-2025:14697-1openSUSE-SU-2024:14174-1openSUSE-SU-2024:10192-1openSUSE-SU-2024:10549-1openSUSE-SU-2024:11912-1
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-2015-7942 updated cvss 4.3
libxml2: heap-based buffer overflow in xmlParseConditionalSections()
-
Red Hat Enterprise Linux 4 libxml2 Red Hat Enterprise Linux 5 libxml2 Red Hat JBoss Enterprise Web Server 2 libxml2affected: no fix planned “Will not fix”
-
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, libxml2-debuginfo 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, libxml2-debuginfo 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
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, libxml2-debuginfo 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, libxml2-debuginfo 2.7.6-20.el6_7.1 Red Hat Enterprise Linux Server (v. 6) libxml2 2.7.6-20.el6_7.1, libxml2-python 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Server (v. 7) libxml2 2.9.1-6.el7_2.2, libxml2-python 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
Red Hat Enterprise Linux Server Optional (v. 6) libxml2-static 2.7.6-20.el6_7.1, libxml2-debuginfo 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static 2.9.1-6.el7_2.2, libxml2-debuginfo 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
Red Hat Enterprise Linux Workstation (v. 6) libxml2 2.7.6-20.el6_7.1, libxml2-python 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Workstation (v. 7) libxml2 2.9.1-6.el7_2.2, libxml2-python 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
show 3 moreshow fewer
-
Red Hat Enterprise Linux Workstation Optional (v. 6) libxml2-static 2.7.6-20.el6_7.1, libxml2-debuginfo 2.7.6-20.el6_7.1fixed: vendor fix RHSA-2015:2549
-
Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static 2.9.1-6.el7_2.2, libxml2-debuginfo 2.9.1-6.el7_2.2fixed: vendor fix RHSA-2015:2550
-
Red Hat JBoss Web Server 3.0fixed: vendor fix RHSA-2016:1089
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
Exploit prediction
4.48% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.gnome.org https://bugzilla.gnome.org/show_bug.cgi?id=744980#c8 referenced PoC, tagged "exploit" by a source, unverified
- bugzilla.gnome.org https://bugzilla.gnome.org/show_bug.cgi?id=756456 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
bugzilla.gnome.org
/show_bug.cgi?id=744980#c8
exploit, issue-tracking
-
bugzilla.gnome.org
/show_bug.cgi?id=756456
exploit, issue-tracking
-
rhn.redhat.com
/errata/RHSA-2015-2550.html
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2016/Mar/msg00004.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2016-01/msg00031.html
vendor-advisory
-
debian.org
/security/2015/dsa-3430
vendor-advisory, third-party-advisory
-
lists.apple.com
/archives/security-announce/2016/Mar/msg00000.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/177381.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-1089.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2016/Mar/msg00001.html
vendor-advisory, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2015-2549.html
vendor-advisory, third-party-advisory
-
ubuntu.com
/usn/USN-2812-1
vendor-advisory, third-party-advisory
-
marc.info
/?l=bugtraq&m=145382616617563&w=2
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/177341.html
vendor-advisory
-
security.gentoo.org
/glsa/201701-37
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2015-12/msg00120.html
vendor-advisory
-
lists.apple.com
/archives/security-announce/2016/Mar/msg00002.html
vendor-advisory, mailing-list, third-party-advisory
-
support.apple.com
/HT206167
vendor-advisory
-
support.apple.com
/HT206168
vendor-advisory
-
support.apple.com
/HT206169
vendor-advisory
-
support.apple.com
/HT206166
vendor-advisory
-
openwall.com
/lists/oss-security/2015/10/22/5
mailing-list
-
securityfocus.com
/bid/79507
vdb-entry
- xmlsoft.org /news.html
- oracle.com /technetwork/topics/security/bulletinapr2016-2952098.html
- oracle.com /technetwork/topics/security/linuxbulletinoct2015-2719645.html
-
securitytracker.com
/id/1034243
vdb-entry
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04944172
third-party-advisory
-
openwall.com
/lists/oss-security/2015/10/22/8
mailing-list
Sources
- CVE List CVE-2015-7942
- NVD CVE-2015-7942
Fencer Intel 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.