BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2016-4658 in Apple Mac Os X and 4 more products

Critical 9.8 Industrial / OT

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 corrupti...

Affects 5 products from 3 vendors. Facts below cite their sources.

CVSS 3.09.8
EPSS8.6%
EPSS percentile96th
FixSee advisory

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Apple Mac Os X < 10.12
Apple Iphone Os < 10.0
Apple Tvos < 10.0
Apple Watchos < 3.0
Siemens — —
Xmlsoft Libxml2 < 2.9.5
Siemens S7-1500 Cpu Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518-4 Pn Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Firmware ≥ 3.1.0, < 3.1.5
Siemens Simatic S7-1500 Cpu 1518F-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5
Siemens Siplus S7-1500 Cpu 1518-4 Pn/Dp Mfp Firmware ≥ 3.1.0, < 3.1.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2016-4658
BreachSpider IDBS-2016-GLOBAL-110703-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2016-09-25
Last modified2026-10-14
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-119: Improper Restriction of Operations within Memory Buffer

Parent class for buffer-related vulnerabilities where operations exceed buffer boundaries.

Related attack patterns (CAPEC)

CAPEC-8 Buffer Overflow in an API Call via CWE-119

CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-119

CAPEC-10 Buffer Overflow via Environment Variables via CWE-119

CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-119

CAPEC-24 Filter Failure through Buffer Overflow via CWE-119

Show all 12

CAPEC-42 MIME Conversion via CWE-119

CAPEC-44 Overflow Binary Resource File via CWE-119

CAPEC-45 Buffer Overflow via Symbolic Links via CWE-119

CAPEC-46 Overflow Variables and Tags via CWE-119

CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-119

CAPEC-100 Overflow Buffers via CWE-119

CAPEC-123 Buffer Manipulation via CWE-119

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

The vulnerability in libxml2, affecting versions prior to 2.9.5, allows remote attackers to execute arbitrary code or cause a denial of service through a crafted XML document. This impacts multiple Apple products and other systems using libxml2.

Remote attackers can exploit this vulnerability by sending a crafted XML document to a system using libxml2, leading to use-after-free and memory corruption issues, potentially resulting in arbitrary code execution or a denial of service.

Compensating controls AI-drafted, review before use

Implement input validation and sanitization for XML documents processed by affected systems to prevent malicious content from being parsed.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2016-4658?

The vulnerability in libxml2, affecting versions prior to 2.9.5, allows remote attackers to execute arbitrary code or cause a denial of service through a crafted XML document. This impacts multiple Apple products and other systems using libxml2.

What is the CVSS score for CVE-2016-4658?

CVE-2016-4658 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 8.6%.

Is CVE-2016-4658 actively exploited?

No confirmed active exploitation of CVE-2016-4658 as of 2026-10-15.

How do I remediate CVE-2016-4658?

Priority: MEDIUM. Advisory: http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html PSIRT: [email protected]

What systems are affected by CVE-2016-4658?

CVE-2016-4658 affects Apple Mac Os X, Iphone Os, Tvos, Watchos; Siemens; Xmlsoft Libxml2.

What NERC-CIP standard applies to CVE-2016-4658?

NERC CIP CIP-007 CIP-007-R2: This CVE could allow an attacker to compromise the integrity and availability of critical systems, violating the requirement for secure access controls and monitoring.

What IEC 62443 requirement maps to CVE-2016-4658?

IEC 62443 SR 7.6: This vulnerability affects the secure handling of data, which is essential for maintaining the integrity and availability of industrial control systems as per IEC 62443-3-3.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.