Description
The xmlDictAddString 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 cause a denial of service (heap-based buffer over-read) via a crafted XML document.
In plain language
AI Worth attentionThis is a libxml2 XML-handling bug in older iPhones, Macs, Apple TVs, and Watches that can crash apps when they process a specially crafted XML document; most small businesses only need to worry if you handle XML from untrusted sources (like customer uploads, web gateways, or partner integrations).
CVE-2016-1839 is a libxml2 heap-based buffer over-read bug in xmlDictAddString (CWE-125) that can be triggered by remote attackers via a crafted XML document, leading to a denial of service; Apple fixed this in iOS 9.3.2, OS X 10.11.5, tvOS 9.2.1, and watchOS 2.2.1, and libxml2 was fixed in 2.9.4.
What to do now
- Check whether your business systems process XML from untrusted sources (web forms, customer uploads, APIs, emails, partner feeds), and identify which devices/services use the vulnerable libxml2 versions.
- If you run Apple devices/OS versions listed in the fix availability, upgrade to at least: iOS 9.3.2, OS X 10.11.5, tvOS 9.2.1, or watchOS 2.2.1.
- If you run Linux (including Ubuntu/Debian/Red Hat Enterprise Linux) or a “web gateway” that uses libxml2, upgrade libxml2 to 2.9.4 or newer.
- If you can’t upgrade immediately, reduce exposure by blocking untrusted XML sources at the entry point (only accept XML from trusted systems, and reject malformed/unexpected XML content).
CVSS Vector Breakdown
AV:LAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:RUser InteractionS:UScopeC:NConfidentialityI:NIntegrityA:HAvailabilityWeaknesses
Affected Products
Exploitability
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 techniqueReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2016-1839 and every CVE in our database. Create a free account — no credit card required.
Create Free Account