CVE-2025-71407

Severity CVSS v4.0:
CRITICAL
Type:
CWE-787 Out-of-bounds Write
Publication date:
25/08/2026
Last modified:
25/08/2026

Description

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.