CVE-2016-1839
A public proof of concept exists; no exploitation attested.
- Published2016-05-20
- WeaknessCWE-125
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
The xmlDictAddString 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 cause a denial of service (heap-based buffer over-read) via a crafted XML document.
Timeline
dates in UTC- 2016-02-24Exploit-DB entryExploit-DB
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.2 | = 7.2 | no fix published | NVD |
| 7.3 | = 7.3 | no fix published | NVD |
| 7.4 | = 7.4 | no fix published | NVD |
| 7.5 | = 7.5 | no fix published | NVD |
| 7.6 | = 7.6 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.4 | = 12.04 | no fix published | NVD |
| 14.4 | = 14.04 | no fix published | NVD |
| 15.10 | = 15.10 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.2 | = 7.2 | no fix published | NVD |
| 7.3 | = 7.3 | no fix published | NVD |
| 7.4 | = 7.4 | no fix published | NVD |
| 7.6 | = 7.6 | no fix published | NVD |
11 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libxml2Ubuntu:16.04:LTSall versions · fixed in 2.9.3+dfsg1-1ubuntu0.1
- libxml2Ubuntu:14.04:LTSall versions · fixed in 2.9.1+dfsg1-3ubuntu4.8
- libxml2SUSE:OpenStack Cloud 5all versions · fixed in 2.7.6-0.44.1
- libxml2SUSE:Manager Proxy 2.1all versions · fixed in 2.7.6-0.44.1
- libxml2SUSE:Manager 2.1all versions · fixed in 2.7.6-0.44.1
- libxml2SUSE:Linux Enterprise Software Development Kit 12 SP2all versions · fixed in 2.9.4-36.1
- libxml2SUSE:Linux Enterprise Software Development Kit 12 SP1all versions · fixed in 2.9.1-24.1
- libxml2SUSE:Linux Enterprise Software Development Kit 12all versions · fixed in 2.9.1-24.1
41 more package ranges on OSV.dev
Vendor advisories
libxml2: Heap-based buffer overread in xmlDictAddString
libxml2.src as a component of Red Hat Enterprise Linux 5 · libxml2.src as a component of Red Hat JBoss Enterprise Web Server 3
Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP 2.4.23 Release
Red Hat Security Advisory: libxml2 security update
Fix
- Vendor fix Red Hat Product Security RHSA-2016:2957 · 1 productThe References section of this erratum contains a download link (you must log in to download the update). Before applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). After installing the updated packages, the httpd d…
- Vendor fix Red Hat Product Security RHSA-2016:1292 · 144 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the update to take effect, all applications linked to the libxml2 library must be restarted, or the system rebooted.
- No fix available, says the vendor Red Hat Product Security CVE-2016-1839 · 1 productAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2016-1839 · 1 productWill not fix
Advisories and patches
- lists.apple.comVendor Advisory
- lists.apple.comVendor Advisory
- lists.apple.comVendor Advisory
- lists.apple.comVendor Advisory
- xmlsoft.orgRelease Notes · Vendor Advisory
- git.gnome.orgPatch
Detection
read 2026-11-09 09:28 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.05.5read 2026-10-23
- NVDCVSS 2.04.3read 2026-10-23
- NVDweakness (CWE)CWE-125read 2026-10-23
- FIRST EPSSEPSS score7.3 %2026-11-08
- Exploit-DBdetectionread 2026-11-09
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2016-2934same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-768p-297v-97cmsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-503-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-3593-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2016-0263advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2024:10192-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10228-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2016:1292advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2016:1538-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2016:1604-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2017:1454-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-2994-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Published
- 2016-05-20
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-768p-297v-97cm
Frequently asked questions
What is CVE-2016-1839?
Is CVE-2016-1839 actively exploited?
What is the CVSS score for CVE-2016-1839?
Running libxml2? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-768p-297v-97cm
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0