Skip to content
Noroxi
CVE-2015-5312· NVD / CVE Program· CNA redhat

The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows context

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.

HighCVSS 7.1 · v2.0—No exploit Fix available
Published
Dec 15, 2015
Updated
Jun 16, 2026
EPSS
4.5% · 91th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

29

Monitor

Low priority for now.

CVSS
28 / 40 · 7.1 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 4.5%

Affected systems

VendorProduct
canonicalubuntu linux
redhatenterprise linux desktop
redhatenterprise linux hpc node
redhatenterprise linux server
redhatenterprise linux workstation
appleiphone os
applemac os x
appletvos
applewatchos
xmlsoftlibxml2
hpicewall federation agent
hpicewall file manager

and 1 more

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apple iphone osup to 9.2.1 inclusive
  • apple mac os xup to 10.11.3 inclusive
  • apple tvosup to 9.1 inclusive
  • apple watchosup to 2.1 inclusive
  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux15.04
  • canonical ubuntu linux15.10
  • debian debian linux7.0
  • debian debian linux8.0
  • hp icewall federation agent3.0
  • hp icewall file manager3.0
  • redhat enterprise linux desktop6.0
  • redhat enterprise linux hpc node6.0
  • redhat enterprise linux server6.0
  • redhat enterprise linux workstation6.0
  • xmlsoft libxml2up to 2.9.2 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12libxml2before 2.9.3+dfsg1-12.9.3+dfsg1-1
Debian:6.0libxml2before 2.7.8.dfsg-2+squeeze162.7.8.dfsg-2+squeeze16
Debian:7libxml2before 2.8.0+dfsg1-7+wheezy52.8.0+dfsg1-7+wheezy5
Debian:8libxml2before 2.9.1+dfsg1-5+deb8u12.9.1+dfsg1-5+deb8u1
openSUSE:Tumbleweedlibxml2before 2.9.4-1.222.9.4-1.22
openSUSE:Tumbleweedruby3.2-rubygem-nokogiribefore 1.13.9-1.71.13.9-1.7
openSUSE:Tumbleweedrubygem-nokogiribefore 1.6.8.1-1.31.6.8.1-1.3
openSUSE:Tumbleweedrubygem-nokogiribefore 1.18.9-1.41.18.9-1.4
openSUSE:Tumbleweedrubygem-nokogiribefore 1.18.2-1.11.18.2-1.1
openSUSE:Tumbleweedrubygem-nokogiribefore 1.15.5-1.51.15.5-1.5
openSUSE:Tumbleweedrubygem-nokogiribefore 1.13.3-1.11.13.3-1.1
Red Hat:enterprise_linux:6::clientlibxml2before 0:2.7.6-20.el6_7.10:2.7.6-20.el6_7.1
Red Hat:enterprise_linux:6::clientlibxml2-debuginfobefore 0:2.7.6-20.el6_7.10:2.7.6-20.el6_7.1
Red Hat:enterprise_linux:6::clientlibxml2-develbefore 0:2.7.6-20.el6_7.10:2.7.6-20.el6_7.1
Red Hat:enterprise_linux:6::clientlibxml2-pythonbefore 0:2.7.6-20.el6_7.10:2.7.6-20.el6_7.1
Red Hat:enterprise_linux:6::clientlibxml2-staticbefore 0:2.7.6-20.el6_7.10:2.7.6-20.el6_7.1
Red Hat:enterprise_linux:7::clientlibxml2before 0:2.9.1-6.el7_2.20:2.9.1-6.el7_2.2
Red Hat:enterprise_linux:7::clientlibxml2-debuginfobefore 0:2.9.1-6.el7_2.20:2.9.1-6.el7_2.2
Red Hat:enterprise_linux:7::clientlibxml2-develbefore 0:2.9.1-6.el7_2.20:2.9.1-6.el7_2.2
Red Hat:enterprise_linux:7::clientlibxml2-pythonbefore 0:2.9.1-6.el7_2.20:2.9.1-6.el7_2.2
Red Hat:enterprise_linux:7::clientlibxml2-staticbefore 0:2.9.1-6.el7_2.20:2.9.1-6.el7_2.2
RubyGemsnokogirifrom 1.6.0 · before 1.6.7.11.6.7.1
SUSE:Linux Enterprise Desktop 11 SP3libxml2-pythonbefore 2.7.6-0.34.42.7.6-0.34.4
SUSE:Linux Enterprise Desktop 12libxml2before 2.9.1-13.12.9.1-13.1

+2

Other 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 KEV
    76This 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 via
    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 vi
    64This week
  • CVE-2016-4553client_side.cc in Squid before 3.5.18 and 4.x before 4.0.10 does not properly ignore the Host header when absolute-URI is provided, which al
    58Plan
  • CVE-2017-14495Memory leak in dnsmasq before 2.78, when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a
    55Plan
  • CVE-2016-4054Buffer overflow in Squid 3.x before 3.5.17 and 4.x before 4.0.9 allows remote attackers to execute arbitrary code via crafted Edge Side Incl
    55Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:libxml22.9.3+dfsg1-1 · Debian:12Package registry (OSV)
opensuse:libxml22.9.4-1.22 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ruby3.2-rubygem-nokogiri1.13.9-1.7 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:rubygem-nokogiri1.6.8.1-1.3 · openSUSE:TumbleweedPackage registry (OSV)
red hat:libxml20:2.7.6-20.el6_7.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-debuginfo0:2.7.6-20.el6_7.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-devel0:2.7.6-20.el6_7.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-python0:2.7.6-20.el6_7.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:libxml2-static0:2.7.6-20.el6_7.1 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
RubyGems:nokogiri1.6.7.1Package registry (OSV)
suse:libxml22.7.6-0.34.1 · SUSE:Linux Enterprise Software Development Kit 11 SP3Package registry (OSV)
suse:libxml2-python2.7.6-0.34.4 · SUSE:Linux Enterprise Desktop 11 SP3Package registry (OSV)
suse:python-libxml22.9.1-13.1 · SUSE:Linux Enterprise Desktop 12Package 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.

EPSS, last 120 days

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.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    none
    Integrity
    none
    Availability
    C · the service can be disrupted
    Attack complexity
    M
    Confidentiality impact
    None
    Integrity impact
    None
    Availability impact
    C

    CVSS vector

    AV:N/AC:M/Au:N/C:N/I:N/A:C

    nvd-primary

    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.

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records