Home / Canonical / Ubuntu Linux / CVE-2015-5312
CVE-2015-5312: is it exploited, and which versions of Canonical Ubuntu Linux are affected and fixed?
CVE-2015-5312 is a denial of service (uncontrolled resource consumption) vulnerability in Canonical Ubuntu Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 08:08 UTC). Affected: nokogiri from 1.6.0 before 1.6.7.1 (GitHub advisory GHSA-xjqg-9jvg-fgx2). Fixed in 1.6.7.1 (GitHub advisory GHSA-xjqg-9jvg-fgx2). Severity: High (7.1, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 08:08 UTC, CVE record November 19, 2026, 07:19 UTC and NVD November 19, 2026, 08:46 UTC.
What is CVE-2015-5312?
The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted XML data, a different vulnerability than CVE-2014-3660.
From the CVE record by redhat, last updated August 6, 2024, 06:41 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | nokogiri | >= 1.6.0, < 1.6.7.1 | 1.6.7.1 | GHSA-xjqg-9jvg-fgx2 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 13, 2023. Summary: Nokogiri subject to DoS via libxml2 vulnerability.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | ubuntu linux | 12.04 | operating system |
| canonical | ubuntu linux | 14.04 | operating system |
| canonical | ubuntu linux | 15.04 | operating system |
| canonical | ubuntu linux | 15.10 | operating system |
| redhat | enterprise linux desktop | 6.0 | operating system |
| redhat | enterprise linux hpc node | 6.0 | operating system |
| redhat | enterprise linux server | 6.0 | operating system |
| redhat | enterprise linux workstation | 6.0 | operating system |
| apple | iphone os | through 9.2.1 | operating system |
| apple | mac os x | through 10.11.3 | operating system |
| apple | tvos | through 9.1 | operating system |
| apple | watchos | through 2.1 | operating system |
| xmlsoft | libxml2 | through 2.9.2 | application |
| hp | icewall federation agent | 3.0 | application |
| hp | icewall file manager | 3.0 | application |
| debian | debian linux | 7.0 | operating system |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:28 UTC.
How severe is CVE-2015-5312?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2015-5312 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.50% probability of exploitation activity in the next 30 days, percentile 91.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- RHSA-2015:2550 vendor-advisory, x_refsource_REDHAT
- APPLE-SA-2016-03-21-5 vendor-advisory, x_refsource_APPLE
- openSUSE-SU-2016:0106 vendor-advisory, x_refsource_SUSE
- https://support.apple.com/HT206167 x_refsource_CONFIRM
- https://support.apple.com/HT206168 x_refsource_CONFIRM
- DSA-3430 vendor-advisory, x_refsource_DEBIAN
- https://git.gnome.org/browse/libxml2/commit/?id=69030714cde66d525a8884bda01b9e8f0abf8e1e x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1276693 x_refsource_CONFIRM
- APPLE-SA-2016-03-21-1 vendor-advisory, x_refsource_APPLE
- http://xmlsoft.org/news.html x_refsource_CONFIRM
- RHSA-2016:1089 vendor-advisory, x_refsource_REDHAT
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html x_refsource_CONFIRM
- APPLE-SA-2016-03-21-2 vendor-advisory, x_refsource_APPLE
- USN-2834-1 vendor-advisory, x_refsource_UBUNTU
- 1034243 vdb-entry, x_refsource_SECTRACK
- RHSA-2015:2549 vendor-advisory, x_refsource_REDHAT
- HPSBGN03537 vendor-advisory, x_refsource_HP
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04944172 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html x_refsource_CONFIRM
- GLSA-201701-37 vendor-advisory, x_refsource_GENTOO
- openSUSE-SU-2015:2372 vendor-advisory, x_refsource_SUSE
- APPLE-SA-2016-03-21-3 vendor-advisory, x_refsource_APPLE
- https://support.apple.com/HT206169 x_refsource_CONFIRM
- https://support.apple.com/HT206166 x_refsource_CONFIRM
- 79536 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- July 1, 2015
- Published
- December 15, 2015, 21:00 UTC
- CVE record updated
- August 6, 2024, 06:41 UTC by redhat
- NVD
- Modified, last modified June 17, 2026, 00:28 UTC
- Last checked
- CVE list November 19, 2026, 07:19 UTC; NVD November 19, 2026, 08:46 UTC; KEV December 3, 2026, 08:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Ubuntu Linux?
- Apr 30, 2020CVE-2020-11652 Saltstack Salt: path traversal (reading or writing files outside the intended folder) exploited
- Apr 30, 2020CVE-2020-11651 Saltstack Salt: improper input validation exploited
- Jan 29, 2020CVE-2020-7247 Openbsd Opensmtpd: OS command injection exploited
- Sep 27, 2019CVE-2019-16928 Exim: out-of-bounds write (memory corruption) exploited
- Jul 17, 2019CVE-2019-13272 Linux Kernel: n/a exploited
- Feb 8, 2018CVE-2018-6789 Exim: buffer overflow exploited
- Nov 10, 2016CVE-2016-5195 Canonical Ubuntu Linux: race condition exploited
- May 5, 2016CVE-2016-3714 Imagemagick: improper input validation exploited
Questions about CVE-2015-5312
Is CVE-2015-5312 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 08:08 UTC. FIRST's EPSS gives it a 4.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical Ubuntu Linux are affected by CVE-2015-5312?
nokogiri from 1.6.0 before 1.6.7.1, per the GitHub advisory GHSA-xjqg-9jvg-fgx2. The tables above give every range the sources list.
Which version fixes CVE-2015-5312?
1.6.7.1, per the GitHub advisory GHSA-xjqg-9jvg-fgx2. Check the vendor's advisory before you rely on it.
How severe is CVE-2015-5312?
High (7.1, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2015-5312?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.