CVE-2015-5312
Nokogiri subject to DoS via libxml2 vulnerability
Reported by redhat · Published December 15, 2015
libxml2 is fixed in 2.9.2 (NuGet)
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.
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 | NuGet | 2.9.2 |
| libxml2-devel | Amazon Linux | 2.9.1-6.amzn2.3.2 |
| libxml2 | xmlsoft | 2.9.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | libxml2-devel | 0 |
| NuGet | libxml2 | 0 |
| n/a | n/a | * |
| amazon:2 | libxml2-python | 0 |
| RubyGems | nokogiri | 1.6.0.rc1 |
| amazon:2 | libxml2 | 0 |
| amazon:2 | libxml2-static | 0 |
Timeline
- Nov 22, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 5, 2026 Security Advisory (10 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Oct 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-5312
vulnetix vdb fixes CVE-2015-5312
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-2015-5312/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2015:2550 vendor-advisoryx_refsource_REDHAT
- APPLE-SA-2016-03-21-5 vendor-advisoryx_refsource_APPLE
- openSUSE-SU-2016:0106 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- DSA-3430 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- APPLE-SA-2016-03-21-1 vendor-advisoryx_refsource_APPLE
- x_refsource_CONFIRM
- RHSA-2016:1089 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- APPLE-SA-2016-03-21-2 vendor-advisoryx_refsource_APPLE
- USN-2834-1 vendor-advisoryx_refsource_UBUNTU
- 1034243 vdb-entryx_refsource_SECTRACK
- RHSA-2015:2549 vendor-advisoryx_refsource_REDHAT
- HPSBGN03537 vendor-advisoryx_refsource_HP
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-201701-37 vendor-advisoryx_refsource_GENTOO
…and 8 more