Out-of-bounds Read in Sparklemotion Nokogiri

CVE-2025-71346

Nokogiri before 1.18.8 packages a vulnerable version of libxml2 (before 2.13.8) that contains a heap-based buffer under-read (CVE-2025-32415) in the xmlSchemaIDCFillNodeTables function in xmlschemas.c. The issue can be triggered when validating against an untrusted XML Schema, or when validating untrusted documents against trusted schemas that use xsd:keyref in combination with recursively defined types that have additional identity constraints. Upstream and MITRE rate this issue as low severity.

Vulnerability class: Buffer Overflow

CVSS v3 metric

CVSS v3 base score 2.9 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-71346?
CVE-2025-71346 is a low-severity vulnerability in Sparklemotion Nokogiri, classified under Out-of-bounds Read. CVSS score: 2.9/10. Published 2026-08-25.
How severe is CVE-2025-71346?
Low severity. CVSS v3 base score is 2.9 out of 10.