CVE-2016-1840
Reported by apple · Published May 20, 2016
Heap-based buffer overflow in the xmlFAParsePosCharGroup function in libxml2 before 2.9.4, as used in Apple iOS before 9.3.2, OS X before 10.11.5, tvOS before 9.2.1, and watchOS before 2.2.1, allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted XML document.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mac_os_x | apple | 10.11.5 |
| tvos | apple | 9.2.1 |
| libxml2 | xmlsoft | 2.9.4 |
| libxml2 | Ubuntu:16.04:LTS | 2.9.3+dfsg1-1ubuntu0.1 |
| iphone_os | apple | 9.3.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| NuGet | libxml2 | 0 |
Timeline
- May 16, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jun 30, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 5, 2026 Security Advisory (9 in total, the first dated here)
- Oct 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-1840
vulnetix vdb fixes CVE-2016-1840
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-1840/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2016:1292 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 90691 vdb-entryx_refsource_BID
- DSA-3593 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- APPLE-SA-2016-05-16-4 vendor-advisoryx_refsource_APPLE
- USN-2994-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- APPLE-SA-2016-05-16-3 vendor-advisoryx_refsource_APPLE
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2016:2957 vendor-advisoryx_refsource_REDHAT
- GLSA-201701-37 vendor-advisoryx_refsource_GENTOO
- 1035890 vdb-entryx_refsource_SECTRACK
…and 4 more