CVE-2016-3705
Reported by redhat · Published May 17, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libxml2 | Ubuntu:16.04:LTS | 2.9.3+dfsg1-1ubuntu0.1 |
| libxml2 | Ubuntu:14.04:LTS | 2.9.1+dfsg1-3ubuntu4.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| NuGet | libxml2 | 2.9.3 |
Timeline
- May 17, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 5, 2026 Security Advisory (12 in total, the first dated here)
- Oct 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-3705
vulnetix vdb fixes CVE-2016-3705
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-3705/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 20160503 CVE-2016-3627 CVE-2016-3705: libxml2: stack overflow in xml validator (parser) mailing-listx_refsource_FULLDISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- openSUSE-SU-2016:1446 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1298 vendor-advisoryx_refsource_SUSE
- RHSA-2016:1292 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- DSA-3593 vendor-advisoryx_refsource_DEBIAN
- USN-2994-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 89854 vdb-entryx_refsource_BID
- RHSA-2016:2957 vendor-advisoryx_refsource_REDHAT
- GLSA-201701-37 vendor-advisoryx_refsource_GENTOO
- https://nvd.nist.gov/vuln/detail/CVE-2016-3705 advisory