CVE-2015-5312
HIGH 7.1CVSS 2.0Nokogiri subject to DoS via libxml2 vulnerability
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.
- Published
- 15 Dec 2015
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-399CWE-400
- Also known as
- GHSA-xjqg-9jvg-fgx2
- Sources
- NVDJSONOSV GHSA-xjqg-9jvg-fgx2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.1 | AV:N/AC:M/Au:N/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:* |
= 15.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* |
= 15.10 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_hpc_nodecpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | apple | iphone_oscpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* |
<= 9.2.1 | |
| NVD | apple | mac_os_xcpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* |
<= 10.11.3 | |
| NVD | apple | tvoscpe:2.3:o:apple:tvos:*:*:*:*:*:*:*:* |
<= 9.1 | |
| NVD | apple | watchoscpe:2.3:o:apple:watchos:*:*:*:*:*:*:*:* |
<= 2.1 | |
| NVD | xmlsoft | libxml2cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* |
<= 2.9.2 | |
| NVD | hp | icewall_federation_agentcpe:2.3:a:hp:icewall_federation_agent:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | hp | icewall_file_managercpe:2.3:a:hp:icewall_file_manager:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| OSV | RubyGems | nokogiri | >= 1.6.0, < 1.6.7.1 | 1.6.7.1 |
References
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00000.html · WEB
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00001.html
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00002.html · Third Party Advisory
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html · Mailing List
- http://lists.opensuse.org/opensuse-updates/2015-12/msg00120.html · WEB
- http://lists.opensuse.org/opensuse-updates/2016-01/msg00031.html · WEB
- http://marc.info/?l=bugtraq&m=145382616617563&w=2 · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-2549.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2015-2550.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2016-1089.html
- http://www.debian.org/security/2015/dsa-3430 · Third Party Advisory, WEB
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html · WEB
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html · WEB
- http://www.securityfocus.com/bid/79536
- http://www.securitytracker.com/id/1034243
- http://www.ubuntu.com/usn/USN-2834-1 · Third Party Advisory, WEB
- http://xmlsoft.org/news.html · Vendor Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1276693 · Issue Tracking, WEB
- https://git.gnome.org/browse/libxml2/commit/?id=69030714cde66d525a8884bda01b9e8f0abf8e1e · WEB
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c04944172 · Third Party Advisory, WEB
- https://security.gentoo.org/glsa/201701-37 · WEB
- https://support.apple.com/HT206166 · Vendor Advisory, WEB
- https://support.apple.com/HT206167 · Vendor Advisory, WEB
- https://support.apple.com/HT206168 · Vendor Advisory, WEB
- https://support.apple.com/HT206169 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-5312 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2015-5312.yml · WEB
- https://groups.google.com/forum/#!topic/ruby-security-ann/aSbgDiwb24s · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 15 Dec 2015)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2018)