CVE-2016-3705 json
The (1) xmlParserEntityCheck and (2) xmlParseAttValueComplex functions in parser.c in libxml2 2.9.3 do not properly keep track of the recur…
published 2016-05-17 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-4726
- cvss
- 7.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.1%
- EPSS 5.1% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
The (1) xmlParserEntityCheck and (2) xmlParseAttValueComplex functions in parser.c in libxml2 2.9.3 do not properly keep track of the recursion depth, which allows context-dependent attackers to cause a denial of service (stack consumption and application crash) via a crafted XML document containing a large number of nested entity references.
Patch / fix
- libxml2 Debian 14, Debian 13, Debian 12 2.9.3+dfsg1-1.1
debian advisories DEBIAN-CVE-2016-3705
- libxml2 Ubuntu 14.04 LTS 2.9.1+dfsg1-3ubuntu4.8
- libxml2 Ubuntu 16.04 LTS 2.9.3+dfsg1-1ubuntu0.1
ubuntu advisories UBUNTU-CVE-2016-3705
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 6 2.7.6-21.el6_8.1
- libxml2 RHEL 7 2.9.1-6.el7_2.3
- libxml2-python RHEL 6 2.7.6-21.el6_8.1
- libxml2-python RHEL 7 2.9.1-6.el7_2.3
red hat advisories RHSA-2016:1292
- libxml2 SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +6 more 2.7.6-0.44.1
- libxml2-python SLES for SAP 11 SP4, SLES 11 SP4, SLES 11 SP3-TERADATA +5 more 2.7.6-0.44.4
- libxml2 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +5 more 2.9.1-24.1
- python-libxml2 SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 2.9.1-24.1
suse advisories SUSE-SU-2016:1604-1SUSE-SU-2016:1538-1
- libxml2 openSUSE Tumbleweed 2.9.4-1.22
- python-libxml2 openSUSE Tumbleweed 2.9.4-1.4
opensuse advisories openSUSE-SU-2024:10192-1openSUSE-SU-2024:10228-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-2016-3705 updated cvss 4.3
libxml2: stack overflow before detecting invalid XML file
-
Red Hat Enterprise Linux 5 libxml2affected: no fix planned “Will not fix”
-
Red Hat JBoss Core Services jbcs-httpd24-httpdaffected: no fix available
-
Red Hat JBoss Enterprise Web Server 3 libxml2affected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) libxml2 2.9.1-6.el7_2.3, libxml2-python 2.9.1-6.el7_2.3 Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel 2.9.1-6.el7_2.3, libxml2-static 2.9.1-6.el7_2.3, libxml2-debuginfo 2.9.1-6.el7_2.3 Red Hat Enterprise Linux ComputeNode (v. 7) libxml2 2.9.1-6.el7_2.3, libxml2-python 2.9.1-6.el7_2.3 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel 2.9.1-6.el7_2.3, libxml2-static 2.9.1-6.el7_2.3, libxml2-debuginfo 2.9.1-6.el7_2.3 Red Hat Enterprise Linux Desktop (v. 6) libxml2 2.7.6-21.el6_8.1, libxml2-python 2.7.6-21.el6_8.1 Red Hat Enterprise Linux Desktop Optional (v. 6) libxml2-devel 2.7.6-21.el6_8.1, libxml2-static 2.7.6-21.el6_8.1, libxml2-debuginfo 2.7.6-21.el6_8.1fixed: vendor fix RHSA-2016:1292
+10 more productsfewer
Red Hat Enterprise Linux HPC Node (v. 6) libxml2 2.7.6-21.el6_8.1, libxml2-python 2.7.6-21.el6_8.1 Red Hat Enterprise Linux HPC Node Optional (v. 6) libxml2-devel 2.7.6-21.el6_8.1, libxml2-static 2.7.6-21.el6_8.1, libxml2-debuginfo 2.7.6-21.el6_8.1 Red Hat Enterprise Linux Server (v. 6) libxml2 2.7.6-21.el6_8.1, libxml2-python 2.7.6-21.el6_8.1 Red Hat Enterprise Linux Server (v. 7) libxml2 2.9.1-6.el7_2.3, libxml2-python 2.9.1-6.el7_2.3 Red Hat Enterprise Linux Server Optional (v. 6) libxml2-static 2.7.6-21.el6_8.1, libxml2-debuginfo 2.7.6-21.el6_8.1 Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static 2.9.1-6.el7_2.3, libxml2-debuginfo 2.9.1-6.el7_2.3 Red Hat Enterprise Linux Workstation (v. 6) libxml2 2.7.6-21.el6_8.1, libxml2-python 2.7.6-21.el6_8.1 Red Hat Enterprise Linux Workstation (v. 7) libxml2 2.9.1-6.el7_2.3, libxml2-python 2.9.1-6.el7_2.3 Red Hat Enterprise Linux Workstation Optional (v. 6) libxml2-static 2.7.6-21.el6_8.1, libxml2-debuginfo 2.7.6-21.el6_8.1 Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static 2.9.1-6.el7_2.3, libxml2-debuginfo 2.9.1-6.el7_2.3 -
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2016:2957
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
5.10% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
lists.opensuse.org
/opensuse-updates/2016-05/msg00127.html
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2016-05/msg00055.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2016:1292
vendor-advisory
-
debian.org
/security/2016/dsa-3593
vendor-advisory
-
ubuntu.com
/usn/USN-2994-1
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-2957.html
vendor-advisory
-
security.gentoo.org
/glsa/201701-37
vendor-advisory
-
seclists.org
/fulldisclosure/2016/May/10
mailing-list
- oracle.com /technetwork/topics/security/ovmbulletinjul2016-3090546.html
- h20566.www2.hpe.com /portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05157239
- kc.mcafee.com /corporate/index?page=content&id=SB10170
- oracle.com /technetwork/topics/security/linuxbulletinjul2016-3090544.html
- oracle.com /technetwork/topics/security/bulletinjul2016-3090568.html
- tenable.com /security/tns-2016-18
- bugzilla.gnome.org /show_bug.cgi?id=765207
-
securityfocus.com
/bid/89854
vdb-entry
Sources
- CVE List CVE-2016-3705
- NVD CVE-2016-3705
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.