High severityNVD Advisory· Published Dec 15, 2015· Updated Jun 17, 2026
CVE-2015-5312
CVE-2015-5312
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nokogiriRubyGems | >= 1.6.0, < 1.6.7.1 | 1.6.7.1 |
Affected products
51- cpe:2.3:a:hp:icewall_federation_agent:3.0:*:*:*:*:*:*:*
- cpe:2.3:a:hp:icewall_file_manager:3.0:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*+ 3 more
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:15.04:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_desktop:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_hpc_node:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*
- ghsa-coords34 versionspkg:gem/nokogiripkg:rpm/opensuse/libxml2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ruby3.2-rubygem-nokogiri&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-nokogiri&distro=openSUSE%20Tumbleweedpkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP3pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP4pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Desktop%2012pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP3pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP3pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012pkg:rpm/suse/libxml2&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP3pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Desktop%2011%20SP4pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP3-TERADATApkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP3pkg:rpm/suse/libxml2-python&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Desktop%2012pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012pkg:rpm/suse/python-libxml2&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP1
>= 1.6.0, < 1.6.7.1+ 33 more
- (no CPE)range: >= 1.6.0, < 1.6.7.1
- (no CPE)range: < 2.9.4-1.22
- (no CPE)range: < 1.13.9-1.7
- (no CPE)range: < 1.6.8.1-1.3
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.7.6-0.34.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.7.6-0.34.4
- (no CPE)range: < 2.7.6-0.34.4
- (no CPE)range: < 2.7.6-0.34.4
- (no CPE)range: < 2.7.6-0.34.4
- (no CPE)range: < 2.7.6-0.34.4
- (no CPE)range: < 2.7.6-0.34.4
- (no CPE)range: < 2.7.6-0.34.4
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
- (no CPE)range: < 2.9.1-13.1
Patches
Vulnerability mechanics
References
29- lists.apple.com/archives/security-announce/2016/Mar/msg00002.htmlnvdThird Party Advisory
- marc.infonvdThird Party AdvisoryWEB
- rhn.redhat.com/errata/RHSA-2015-2549.htmlnvdThird Party AdvisoryWEB
- rhn.redhat.com/errata/RHSA-2015-2550.htmlnvdThird Party AdvisoryWEB
- www.debian.org/security/2015/dsa-3430nvdThird Party AdvisoryWEB
- www.ubuntu.com/usn/USN-2834-1nvdThird Party AdvisoryWEB
- xmlsoft.org/news.htmlnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-xjqg-9jvg-fgx2ghsaADVISORY
- h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplaynvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2015-5312ghsaADVISORY
- support.apple.com/HT206166nvdVendor AdvisoryWEB
- support.apple.com/HT206167nvdVendor AdvisoryWEB
- support.apple.com/HT206168nvdVendor AdvisoryWEB
- support.apple.com/HT206169nvdVendor AdvisoryWEB
- lists.apple.com/archives/security-announce/2016/Mar/msg00000.htmlnvdWEB
- lists.apple.com/archives/security-announce/2016/Mar/msg00004.htmlnvdMailing List
- lists.opensuse.org/opensuse-updates/2015-12/msg00120.htmlnvdWEB
- lists.opensuse.org/opensuse-updates/2016-01/msg00031.htmlnvdWEB
- www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.htmlnvdWEB
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlnvdWEB
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingWEB
- git.gnome.org/browse/libxml2/commit/nvdWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2015-5312.ymlghsaWEB
- groups.google.com/forum/ghsaWEB
- security.gentoo.org/glsa/201701-37nvdWEB
- lists.apple.com/archives/security-announce/2016/Mar/msg00001.htmlnvd
- rhn.redhat.com/errata/RHSA-2016-1089.htmlnvd
- www.securityfocus.com/bid/79536nvd
- www.securitytracker.com/id/1034243nvd
News mentions
0No linked articles in our index yet.