Advisory record · GHSA-2rw7-x74f-jg35

pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams

CVSS 1.2 LowEPSS 0.0040 · 34th percentile

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

PackageEcosystemAffectedFixed in
pypdfPyPI<6.7.26.7.2
Identifiers
GHSA-2rw7-x74f-jg35 · CVE-2026-27628 · PYSEC-2026-3005
Weakness (CWE)
CWE-835
Published
25 Feb 2026
Updated
13 Jul 2026

Machine-written summary

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

The pypdf package is vulnerable in versions before 6.7.2 when it loads a PDF with circular /Prev entries in cross-reference streams, causing an infinite loop. An attacker needs to get a user to read a specially crafted PDF, which can make the reading process hang. Upgrade to pypdf 6.7.2 or later.

Written 6 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
1.2 Low 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0040, the 34th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 25 Feb 2026, 03:16 UTC Confirmed by NVD
  2. 31 Oct 2026, 15:02 UTC First seen by agentprime
  3. 31 Oct 2026, 15:02 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.