Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-71407
Published:August 25, 2026
Updated:August 28, 2026
Nokogiri before 1.18.3 contains a stack buffer overflow vulnerability in libxml2 when reporting DTD validation errors with long QName prefixes, and a use-after-free vulnerability during validation against untrusted XML Schemas. Attackers can trigger these vulnerabilities by providing malicious DTD content or untrusted XSD files to cause denial of service or potential code execution.
Affected Packages
https://github.com/sparklemotion/nokogiri.git (GITHUB):
Affected version(s) >=v1.4.4 <v1.18.3
Fix Suggestion:
Update to version v1.18.3
nokogiri (RUBY):
Affected version(s) >=1.0.0 <1.18.3
Fix Suggestion:
Update to version 1.18.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Dependency on Vulnerable Third-Party Component
Out-of-bounds Write
Use After Free
Stack-based Buffer Overflow
EPSS
Base Score:
0.42