Advisory record · GHSA-87mj-5ggw-8qc3

pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream

CVSS 4.6 MediumEPSS 0.0048 · 42nd percentile

Published by the GitHub Advisory Database at 25 Mar 2026, 20:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pypdfPyPI<6.9.26.9.2
Identifiers
GHSA-87mj-5ggw-8qc3 · CVE-2026-33699 · PYSEC-2026-3012
Weakness (CWE)
CWE-835
Published
25 Mar 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

pypdf versions before 6.9.2 are vulnerable to an infinite loop in DictionaryObject.read_from_stream during recovery attempts. An attacker who supplies a crafted PDF can trigger the loop when the file is read in non-strict mode, causing the process to hang. Upgrade to pypdf 6.9.2 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.6 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0048, the 42nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 27 Mar 2026, 01:16 UTC Confirmed by NVD
  2. 31 Oct 2026, 14:11 UTC First seen by agentprime
  3. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.