CVE Tools

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 attention

This 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).

Executive summary

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.

If affected, business impact
App/service crashes from XML inputInterruption to customer-facing workflowsPotential denial of service on gatewaysTime lost restoring availability

What to do now

  1. 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.
  2. 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.
  3. 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.
  4. 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).
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:LAC:LPR:NUI:RS:UC:NI:NA:H
Exploitability
AV:LAttack Vector
Local
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:NIntegrity
None
A:HAvailability
High

Weaknesses

Affected Products

Canonical Ltd.
commercial·GBaka canonical
debian
oss-project·GBaka debian gnu/linux
mcafee
commercial·USaka mcafee security, mcaee
xmlsoft
oss-projectaka libxml2, libxslt
and 12 more affected products View all →

Exploitability

Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

1 technique
Collection
View detailed technique mapping

References

and 34 more references View all →

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
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows