CVE-2026-33699: PYSEC-2026-3012 - pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream

CVE-2026-33699 · Severity: high · CVSS 7.5 · Published 2026-03-27

pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an attacker can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode. This has been fixed in pypdf 6.9.2. If users cannot upgrade yet, consider applying the changes from the patch manually.

Technologies: Py-Pdf Pypdf, pypdf (PyPI). Vendors: Py-Pdf, PyPI.

Quick answers

Is CVE-2026-33699 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-33699 being exploited in the wild.
How severe is CVE-2026-33699?
High severity, with a CVSS score of 7.5, published 27 March 2026.
Which products and versions are affected?
pypdf (PyPI) ECOSYSTEM:introduced=0,fixed=6.9.2.
Is there a fix for CVE-2026-33699?
Yes. pypdf (PyPI): upgrade to 6.9.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2026-33699?
Check whether you run Py-Pdf Pypdf or pypdf (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • pypdf (PyPI): upgrade to 6.9.2 or later
    pip install "pypdf>=6.9.2"

Affected products

  • Py-Pdf Pypdf
  • pypdf (PyPI) ECOSYSTEM:introduced=0,fixed=6.9.2

Identifiers

  • CVE-2026-33699
  • GHSA-87mj-5ggw-8qc3
  • PYSEC-2026-3012

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.