CVE-2016-1837: Multiple use-after-free vulnerabilities in the (1) htmlPArsePubidLiteral and (2) htmlParseSystemiteral functions in libxml2 before 2.9.4, as…
Noroxi assessment
Priority: Monitor (action score 23/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: 4.4% (FIRST EPSS); higher than 91.5% of all records.
- 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.
- Fixed version: libxml2 (Debian:12) 2.9.3+dfsg1-1.1; libxml2 (Debian:7) 2.8.0+dfsg1-7+wheezy6; libxml2 (Debian:8) 2.9.1+dfsg1-5+deb8u2.
Low priority for now. Upgrade to libxml2 (Debian:12) 2.9.3+dfsg1-1.1; libxml2 (Debian:7) 2.8.0+dfsg1-7+wheezy6; libxml2 (Debian:8) 2.9.1+dfsg1-5+deb8u2 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
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
Report tools
Action score
23
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.4%
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 |
|---|---|---|
| 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
+12 more rows
- 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…67This 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…65This week
Published before and after this one in the same product
- ← EarlierCVE-2016-1580May 13, 2016 · The setup_snappy_os_mounts function in the ubuntu-core-launcher package before 1.0.27.1 improperly determines the mount point of bind…40Plan
- ← EarlierCVE-2016-3705May 17, 2016 · The (1) xmlParserEntityCheck and (2) xmlParseAttValueComplex functions in parser.c in libxml2 2.9.3 do not properly keep track of the…32Monitor
- Later →CVE-2015-8872Jun 3, 2016 · The set_fat function in fat.c in dosfstools before 4.0 might allow attackers to corrupt a FAT12 filesystem or cause a denial of service…24Monitor
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.
Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.
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.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- 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.