Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2015-5312

HIGH 7.1EPSS 92%

Nokogiri subject to DoS via libxml2 vulnerability

Also known as GHSA-xjqg-9jvg-fgx2

Mitigation

  • Upgrade nokogiri to 1.6.7.1 or later.

Who should check

  • Projects that depend on RubyGems package nokogiri (>= 1.6.0, < 1.6.7.1)
  • Anyone running n/a (versions: see the vendor advisory)

Vulnerability facts

Affected
nokogiri >= 1.6.0, < 1.6.7.1
Fixed in
1.6.7.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.1 (v2.0, NVD)AV:N/AC:M/Au:N/C:N/I:N/A:C
Show all 6 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Medium
  • Authentication: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Complete
EPSS
4.50% chance of exploitation in 30 days (percentile 92, 2026-11-26)
CWE
CWE-399
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems nokogiri>= 1.6.0, < 1.6.7.11.6.7.1osv
n/a——nvd

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2015-5312. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2015-5312.md
Affected: nokogiri >= 1.6.0, < 1.6.7.1
Fixed in: 1.6.7.1

Steps:
1. Search this machine and project for nokogiri (RubyGems), n/a: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2015-5312 being exploited?

There is no confirmed exploitation: CVE-2015-5312 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.50% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2015-5312?

High: CVSS 7.1 (v2.0, scored by NVD). Remote, no login needed.

Which versions are affected by CVE-2015-5312?

nokogiri >= 1.6.0, < 1.6.7.1.

Is there a fix for CVE-2015-5312?

Yes. Fixed in 1.6.7.1. Upgrade nokogiri to 1.6.7.1 or later.

How do I check if I'm affected by CVE-2015-5312?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors