CVE-2015-7942
Reported by mitre · Published November 18, 2015
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| iphone_os | apple | 9.2.1 |
| watchos | apple | 2.1 |
| mac_os_x | apple | 10.11.3 |
| libxml2 | Ubuntu:14.04:LTS | 2.9.1+dfsg1-3ubuntu4.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| amazon:2 | libxml2-static | 0 |
| NuGet | libxml2 | 2.9.2 |
| amazon:2 | libxml2-devel | 0 |
| amazon:2 | libxml2 | 0 |
| amazon:2 | libxml2-python | 0 |
Timeline
- Nov 18, 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 (11 in total, the first dated here)
- Oct 11, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-7942
vulnetix vdb fixes CVE-2015-7942
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-7942/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
- x_refsource_CONFIRM
- [oss-security] 20151022 Crafted xml causes out of bound memory access - Libxml2 mailing-listx_refsource_MLIST
- DSA-3430 vendor-advisoryx_refsource_DEBIAN
- 79507 vdb-entryx_refsource_BID
- APPLE-SA-2016-03-21-1 vendor-advisoryx_refsource_APPLE
- x_refsource_CONFIRM
- FEDORA-2016-a9ee80b01d vendor-advisoryx_refsource_FEDORA
- RHSA-2016:1089 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- APPLE-SA-2016-03-21-2 vendor-advisoryx_refsource_APPLE
- 1034243 vdb-entryx_refsource_SECTRACK
- RHSA-2015:2549 vendor-advisoryx_refsource_REDHAT
- USN-2812-1 vendor-advisoryx_refsource_UBUNTU
- HPSBGN03537 vendor-advisoryx_refsource_HP
…and 10 more