# GHSA-vvfq-8hwr-qm4m: Nokogiri updates packaged libxml2 to 2.13.6 to resolve CVE-2025-24928 and CVE-2024-56171

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-02-18T22:36:03.000Z
- Modified: 2026-11-17T07:11:36.432Z
- Weaknesses: CWE-121, CWE-416, CWE-1395

## Description

## Summary

Nokogiri v1.18.3 upgrades its dependency libxml2 to [v2.13.6](https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.13.6).

libxml2 v2.13.6 addresses:

- CVE-2025-24928
  - described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/847
- CVE-2024-56171
   - described at https://gitlab.gnome.org/GNOME/libxml2/-/issues/828

## Impact

### CVE-2025-24928

Stack-buffer overflow is possible when reporting DTD validation errors if the input contains a long (~3kb) QName prefix.

### CVE-2024-56171

Use-after-free is possible during validation against untrusted XML Schemas (.xsd) and, potentially, validation of untrusted documents against trusted Schemas if they make use of `xsd:keyref` in combination with recursively defined types that have additional identity constraints.

(As written by GitHub Advisory Database.)

## Affected

- nokogiri (RubyGems): before 1.18.3

## References

- <https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vvfq-8hwr-qm4m> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/GHSA-vvfq-8hwr-qm4m.yml> (web)
- <https://github.com/sparklemotion/nokogiri> (package)

## Sources

- GitHub Advisory Database: [GHSA-vvfq-8hwr-qm4m](https://github.com/advisories/GHSA-vvfq-8hwr-qm4m), CC-BY-4.0, modified 2026-11-17

---

Page: https://cve.day/GHSA-vvfq-8hwr-qm4m · Whole record: https://cve.day/GHSA-vvfq-8hwr-qm4m.json · Rebuilt by cve.day 2026-11-25T22:56:41.523Z
