CVE-2016-4658: xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3, and other…
Noroxi assessment
Priority: Plan (action score 42/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 8.5% (FIRST EPSS); higher than 95.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: libxml2 (Debian:12) 2.9.4+dfsg1-2.1; libxml2 (Debian:7) 2.8.0+dfsg1-7+wheezy7; libxml2 (Debian:8) 2.9.1+dfsg1-5+deb8u4.
Add it to your regular patch cycle. Upgrade to libxml2 (Debian:12) 2.9.4+dfsg1-2.1; libxml2 (Debian:7) 2.8.0+dfsg1-7+wheezy7; libxml2 (Debian:8) 2.9.1+dfsg1-5+deb8u4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
xpointer.c in libxml2 before 2.9.5 (as used in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3, and other products) does not forbid namespace nodes in XPointer ranges, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and memory corruption) via a crafted XML document.
- Published
- Sep 25, 2016
- Updated
- Oct 14, 2026
- EPSS
- 8.5% · 95th percentile
- CWE
- CWE-119
Report tools
Action score
42
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apple | iphone os | cpe:2.3:o:apple:iphone_os |
| apple | mac os x | cpe:2.3:o:apple:mac_os_x |
| apple | tvos | cpe:2.3:o:apple:tvos |
| apple | watchos | cpe:2.3:o:apple:watchos |
| xmlsoft | libxml2 | cpe:2.3:a:xmlsoft:libxml2 |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apple iphone osbefore 10.0
- apple mac os xbefore 10.12
- apple tvosbefore 10.0
- apple watchosbefore 3.0
- xmlsoft libxml2before 2.9.5
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libxml2 | before 2.9.4+dfsg1-2.1 | 2.9.4+dfsg1-2.1 |
| Debian:7 | libxml2 | before 2.8.0+dfsg1-7+wheezy7 | 2.8.0+dfsg1-7+wheezy7 |
| Debian:8 | libxml2 | before 2.9.1+dfsg1-5+deb8u4 | 2.9.1+dfsg1-5+deb8u4 |
| openSUSE:Tumbleweed | libxml2 | before 2.9.12-1.2 | 2.9.12-1.2 |
| openSUSE:Tumbleweed | ruby3.2-rubygem-nokogiri | before 1.13.9-1.7 | 1.13.9-1.7 |
| openSUSE:Tumbleweed | rubygem-nokogiri | before 1.13.3-1.1 | 1.13.3-1.1 |
| openSUSE:Tumbleweed | rubygem-nokogiri | before 1.18.9-1.4 | 1.18.9-1.4 |
| openSUSE:Tumbleweed | rubygem-nokogiri | before 1.18.2-1.1 | 1.18.2-1.1 |
| openSUSE:Tumbleweed | rubygem-nokogiri | before 1.15.5-1.5 | 1.15.5-1.5 |
| Red Hat:enterprise_linux:7::client | libxml2 | before 0:2.9.1-6.el7_9.6 | 0:2.9.1-6.el7_9.6 |
| Red Hat:enterprise_linux:7::client | libxml2-debuginfo | before 0:2.9.1-6.el7_9.6 | 0:2.9.1-6.el7_9.6 |
| Red Hat:enterprise_linux:7::client | libxml2-devel | before 0:2.9.1-6.el7_9.6 | 0:2.9.1-6.el7_9.6 |
| Red Hat:enterprise_linux:7::client | libxml2-python | before 0:2.9.1-6.el7_9.6 | 0:2.9.1-6.el7_9.6 |
| Red Hat:enterprise_linux:7::client | libxml2-static | before 0:2.9.1-6.el7_9.6 | 0:2.9.1-6.el7_9.6 |
| RubyGems | nokogiri | before 1.7.1 | 1.7.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | libxml2 | before 2.9.1-26.3.1 | 2.9.1-26.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP1 | python-libxml2 | before 2.9.1-26.3.1 | 2.9.1-26.3.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | libxml2 | before 2.9.4-33.1 | 2.9.4-33.1 |
| SUSE:Linux Enterprise Desktop 12 SP2 | python-libxml2 | before 2.9.4-33.1 | 2.9.4-33.1 |
| SUSE:Linux Enterprise Server 11 SP4 | libxml2-python | before 2.7.6-0.50.4 | 2.7.6-0.50.4 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | libxml2 | before 2.7.6-0.50.1 | 2.7.6-0.50.1 |
Same product
apple: all recordsOther 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…KEV85Now
- 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…KEV76This week
- CVE-2021-30762A use after free issue was addressed with improved memory management.KEV68This week
Published before and after this one in the same product
- ← EarlierCVE-2016-4777Sep 25, 2016 · The kernel in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3 allows attackers to execute arbitrary code in a…31Monitor
- ← EarlierCVE-2016-4778Sep 25, 2016 · The kernel in Apple iOS before 10, OS X before 10.12, tvOS before 10, and watchOS before 3 allows attackers to execute arbitrary code in a…31Monitor
- Later →CVE-2016-4660Feb 20, 2017 · An issue was discovered in certain Apple products.29Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libxml2 | 2.9.4+dfsg1-2.1 · Debian:12 | Package registry (OSV) |
| opensuse:libxml2 | 2.9.12-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:ruby3.2-rubygem-nokogiri | 1.13.9-1.7 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:rubygem-nokogiri | 1.13.3-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:libxml2 | 0:2.9.1-6.el7_9.6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libxml2-debuginfo | 0:2.9.1-6.el7_9.6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libxml2-devel | 0:2.9.1-6.el7_9.6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libxml2-python | 0:2.9.1-6.el7_9.6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:libxml2-static | 0:2.9.1-6.el7_9.6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| RubyGems:nokogiri | 1.7.1 | Package registry (OSV) |
| suse:libxml2 | 2.9.1-26.3.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package registry (OSV) |
| suse:libxml2-python | 2.7.6-0.50.4 · SUSE:Linux Enterprise Server 11 SP4 | Package registry (OSV) |
| suse:python-libxml2 | 2.9.1-26.3.1 · SUSE:Linux Enterprise Desktop 12 SP1 | Package 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.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- 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
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (13 more)Show less
- lists.apple.com/archives/security-announce/2016/Sep/msg00008.html
- lists.apple.com/archives/security-announce/2016/Sep/msg00010.html
- lists.apple.com/archives/security-announce/2016/Sep/msg00011.html
- www.securityfocus.com/bid/93054
- www.securitytracker.com/id/1036858
- www.securitytracker.com/id/1038623
- git.gnome.org/browse/libxml2/commit/?id=c1d1f7121194036608bf555f08d3062a36fd344b
- security.gentoo.org/glsa/201701-37
- support.apple.com/HT207141
- support.apple.com/HT207142
- support.apple.com/HT207143
- support.apple.com/HT207170
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.