CVE-2025-71346: Nokogiri before 1.18.8 Heap Buffer Under-read via XML Schema

Published Aug 25, 2026
·
Updated

Rejected reason: This CVE ID has been rejected as a duplicate.

Affected Software

3 affected components
rubygems/nokogiri<1.18.8
redhat/libxml2<2.13.8
Nokogiri Nokogiri Ruby<1.18.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nokogiri to a version that resolves this vulnerability.

    Fixed in 1.18.8
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch CVE-2025-32415

Event History

Aug 25, 2026
CVE Published
via MITRE·03:15 PM
Rejected
via MITRE·03:15 PM
Data Sourced
via NVD·04:16 PM
Description
Sep 1, 2026
Rejected
via MITRE·08:33 PM

Frequently Asked Questions

1

Which XML validation workflows are affected?

The issue can be triggered by validating an untrusted XML Schema. It can also be triggered when untrusted documents are validated against trusted schemas that use xsd:keyref together with recursively defined types having additional identity constraints.

2

What must an attacker be able to provide to trigger the issue?

An attacker needs to influence an XML Schema used for validation, or provide an untrusted XML document to a vulnerable validation workflow using a trusted schema with the specified xsd:keyref and recursive-type conditions.

3

Which versions should be remediated?

Nokogiri versions before 1.18.8 package a vulnerable libxml2 version. The affected underlying libxml2 versions are before 2.13.8.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203