Skip to content
Noroxi
CVE-2016-1840· NVD / CVE Program· CNA apple

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

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.

HighCVSS 7.8 · v3.0—No exploit Fix available
Published
May 20, 2016
Updated
Jun 16, 2026
EPSS
3.2% · 88th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

32

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.2%

Affected systems

VendorProduct
appleiphone os
applemac os x
appletvos
applewatchos
debiandebian linux
canonicalubuntu linux
redhatenterprise linux desktop
redhatenterprise linux server
redhatenterprise linux server aus
redhatenterprise linux server eus
redhatenterprise linux server tus
redhatenterprise linux workstation

and 2 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple iphone osbefore 9.3.2
  • apple mac os xbefore 10.11.5
  • apple tvosbefore 9.2.1
  • apple watchosbefore 2.2.1
  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux15.10
  • canonical ubuntu linux16.04
  • debian debian linux8.0
  • mcafee web gateway7.6.0.0 and later · up to 7.6.2.3 inclusive
  • mcafee web gateway7.5.0.0 and later · up to 7.5.2.10 inclusive
  • redhat enterprise linux desktop6.0
  • redhat enterprise linux desktop7.0
  • redhat enterprise linux server6.0
  • redhat enterprise linux server7.0
  • redhat enterprise linux server aus7.2
  • redhat enterprise linux server aus7.3
  • redhat enterprise linux server aus7.4
  • redhat enterprise linux server aus7.6
  • redhat enterprise linux server eus7.2

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libxml2before 2.9.3+dfsg1-1.12.9.3+dfsg1-1.1
Debian:7libxml2before 2.8.0+dfsg1-7+wheezy62.8.0+dfsg1-7+wheezy6
Debian:8libxml2before 2.9.1+dfsg1-5+deb8u22.9.1+dfsg1-5+deb8u2
openSUSE:Tumbleweedpython-libxml2before 2.9.4-1.42.9.4-1.4
Red Hat:enterprise_linux:6::clientlibxml2before 0:2.7.6-21.el6_8.10:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::clientlibxml2-debuginfobefore 0:2.7.6-21.el6_8.10:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::clientlibxml2-develbefore 0:2.7.6-21.el6_8.10:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::clientlibxml2-pythonbefore 0:2.7.6-21.el6_8.10:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:6::clientlibxml2-staticbefore 0:2.7.6-21.el6_8.10:2.7.6-21.el6_8.1
Red Hat:enterprise_linux:7::clientlibxml2before 0:2.9.1-6.el7_2.30:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::clientlibxml2-debuginfobefore 0:2.9.1-6.el7_2.30:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::clientlibxml2-develbefore 0:2.9.1-6.el7_2.30:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::clientlibxml2-pythonbefore 0:2.9.1-6.el7_2.30:2.9.1-6.el7_2.3
Red Hat:enterprise_linux:7::clientlibxml2-staticbefore 0:2.9.1-6.el7_2.30:2.9.1-6.el7_2.3
SUSE:Linux Enterprise Desktop 12libxml2before 2.9.1-24.12.9.1-24.1
SUSE:Linux Enterprise Desktop 12python-libxml2before 2.9.1-24.12.9.1-24.1
SUSE:Linux Enterprise Software Development Kit 11 SP4libxml2before 2.7.6-0.44.12.7.6-0.44.1
SUSE:OpenStack Cloud 5libxml2-pythonbefore 2.7.6-0.44.42.7.6-0.44.4

Other highest-scoring records for the same primary product.

  • CVE-2016-4657WebKit in Apple iOS before 9.3.5 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crKEV
    85Now
  • CVE-2014-4404Heap-based buffer overflow in IOHIDFamily in Apple iOS before 8 and Apple TV before 7 allows attackers to execute arbitrary code in a privilKEV
    76This week
  • CVE-2021-30762A use after free issue was addressed with improved memory management.KEV
    68This week
  • CVE-2021-30761A memory corruption issue was addressed with improved state management.KEV
    68This week
  • CVE-2016-4656The kernel in Apple iOS before 9.3.5 allows attackers to execute arbitrary code in a privileged context or cause a denial of service (memoryKEV
    68This week
  • CVE-2021-30666A buffer overflow issue was addressed with improved memory handling.KEV
    66This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libxml22.9.3+dfsg1-1.1 · Debian:12Package registry (OSV)
opensuse:python-libxml22.9.4-1.4 · openSUSE:TumbleweedPackage registry (OSV)
red hat:libxml20:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-debuginfo0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-devel0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-python0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-static0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:libxml22.9.1-24.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
suse:libxml2-python2.7.6-0.44.4 · SUSE:OpenStack Cloud 5Package registry (OSV)
suse:python-libxml22.9.1-24.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

nvd-primary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records