Multiple use-after-free vulnerabilities in the (1) htmlPArsePubidLiteral and (2) htmlParseSystemiteral functions in libxml2 before 2.9.4, as
Multiple use-after-free vulnerabilities in the (1) htmlPArsePubidLiteral and (2) htmlParseSystemiteral functions 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, allow remote attackers to cause a denial of service via a crafted XML document.
- Published
- May 20, 2016
- Updated
- Jun 16, 2026
- EPSS
- 4.4% · 91th percentile
- CWE
- CWE-416
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
23
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| 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 |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libxml2 | before 2.9.3+dfsg1-1.1 | 2.9.3+dfsg1-1.1 |
| Debian:7 | libxml2 | before 2.8.0+dfsg1-7+wheezy6 | 2.8.0+dfsg1-7+wheezy6 |
| Debian:8 | libxml2 | before 2.9.1+dfsg1-5+deb8u2 | 2.9.1+dfsg1-5+deb8u2 |
| openSUSE:Tumbleweed | python-libxml2 | before 2.9.4-1.4 | 2.9.4-1.4 |
| Red Hat:enterprise_linux:6::client | libxml2 | before 0:2.7.6-21.el6_8.1 | 0:2.7.6-21.el6_8.1 |
| Red Hat:enterprise_linux:6::client | libxml2-debuginfo | before 0:2.7.6-21.el6_8.1 | 0:2.7.6-21.el6_8.1 |
| Red Hat:enterprise_linux:6::client | libxml2-devel | before 0:2.7.6-21.el6_8.1 | 0:2.7.6-21.el6_8.1 |
| Red Hat:enterprise_linux:6::client | libxml2-python | before 0:2.7.6-21.el6_8.1 | 0:2.7.6-21.el6_8.1 |
| Red Hat:enterprise_linux:6::client | libxml2-static | before 0:2.7.6-21.el6_8.1 | 0:2.7.6-21.el6_8.1 |
| Red Hat:enterprise_linux:7::client | libxml2 | before 0:2.9.1-6.el7_2.3 | 0:2.9.1-6.el7_2.3 |
| Red Hat:enterprise_linux:7::client | libxml2-debuginfo | before 0:2.9.1-6.el7_2.3 | 0:2.9.1-6.el7_2.3 |
| Red Hat:enterprise_linux:7::client | libxml2-devel | before 0:2.9.1-6.el7_2.3 | 0:2.9.1-6.el7_2.3 |
| Red Hat:enterprise_linux:7::client | libxml2-python | before 0:2.9.1-6.el7_2.3 | 0:2.9.1-6.el7_2.3 |
| Red Hat:enterprise_linux:7::client | libxml2-static | before 0:2.9.1-6.el7_2.3 | 0:2.9.1-6.el7_2.3 |
| SUSE:Linux Enterprise Desktop 12 | libxml2 | before 2.9.1-24.1 | 2.9.1-24.1 |
| SUSE:Linux Enterprise Desktop 12 | python-libxml2 | before 2.9.1-24.1 | 2.9.1-24.1 |
| SUSE:Linux Enterprise Software Development Kit 11 SP4 | libxml2 | before 2.7.6-0.44.1 | 2.7.6-0.44.1 |
| SUSE:OpenStack Cloud 5 | libxml2-python | before 2.7.6-0.44.4 | 2.7.6-0.44.4 |
Same product
canonical: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-3493The overlayfs implementation in the linux kernel did not properly validate with respect to user namespaces the setting of file capabilities KEV76This week
- CVE-2017-14492Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via67This week
- CVE-2017-14493Stack-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code vi64This week
- CVE-2016-4553client_side.cc in Squid before 3.5.18 and 4.x before 4.0.10 does not properly ignore the Host header when absolute-URI is provided, which al58Plan
- CVE-2017-14495Memory leak in dnsmasq before 2.78, when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a55Plan
- CVE-2016-4054Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Incl55Plan
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.3+dfsg1-1.1 · Debian:12 | Package registry (OSV) |
| opensuse:python-libxml2 | 2.9.4-1.4 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:libxml2 | 0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libxml2-debuginfo | 0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libxml2-devel | 0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libxml2-python | 0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:libxml2-static | 0:2.7.6-21.el6_8.1 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| suse:libxml2 | 2.9.1-24.1 · SUSE:Linux Enterprise Desktop 12 | Package registry (OSV) |
| suse:libxml2-python | 2.7.6-0.44.4 · SUSE:OpenStack Cloud 5 | Package registry (OSV) |
| suse:python-libxml2 | 2.9.1-24.1 · SUSE:Linux Enterprise Desktop 12 | 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.
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.
Credits
All researchersFinders, 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
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-416 · Use After FreeCVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvd-primary
Root cause
After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.
The bug in code
The whole CWE-416 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);Fixed
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.apple.com/archives/security-announce/2016/May/msg00001.html
- lists.apple.com/archives/security-announce/2016/May/msg00002.html
- lists.apple.com/archives/security-announce/2016/May/msg00003.html
- lists.apple.com/archives/security-announce/2016/May/msg00004.html
- rhn.redhat.com/errata/RHSA-2016-2957.html
- www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
- www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- www.securityfocus.com/bid/90691
- www.securitytracker.com/id/1035890
- www.ubuntu.com/usn/USN-2994-1
- xmlsoft.org/news.html
- access.redhat.com/errata/RHSA-2016:1292
- git.gnome.org/browse/libxml2/commit/?id=11ed4a7a90d5ce156a18980a4ad4e53e77384852
- kc.mcafee.com/corporate/index?page=content&id=SB10170
- support.apple.com/HT206564
- support.apple.com/HT206566
- support.apple.com/HT206567
- support.apple.com/HT206568
- www.debian.org/security/2016/dsa-3593
Vendor advisories and official records. Exploit/PoC links are deliberately left out.