All vulnerabilities

Servers and applications

CVE-2016-1840

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.

Severity
High 7.8
Published
20 May 2016
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.9.4
Exploit chance
3.2% in the next 30 daysHigher than 88% of CVEs. EPSS by FIRST, 11 Nov 2026
Weakness
Memory buffer errors (CWE-119)
Attack
Needs local access · No login needed · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Sources
NVD

Affected software

SoftwareAffected versions
libxml2Servers and applications · cpe:a:xmlsoft:libxml2
  • Every version before 2.9.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2016-1840
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2016-1840