Advisory record · GHSA-39mj-jf6j-2qj3

pypdf: Possible infinite loop when hitting EOF in standard xref table

CVSS 6.0 MediumEPSS 0.0035 · 29th percentile

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

PackageEcosystemAffectedFixed in
pypdfPyPI<6.20.06.20.0
Identifiers
GHSA-39mj-jf6j-2qj3 · CVE-2026-113794
Weakness (CWE)
CWE-835
Published
21 Oct 2026
Updated
21 Oct 2026

Machine-written summary

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

pypdf versions before 6.20.0 can enter an infinite loop when parsing a PDF whose standard xref table is cut off at the end of the file. An attacker who supplies a crafted incomplete PDF can cause the program processing it to hang. Upgrade to pypdf 6.20.0 or later. The source gives no other workaround that the reader can apply directly.

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
6.0 Medium 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0035, the 29th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 21 Oct 2026, 16:17 UTC Confirmed by NVD
  2. 31 Oct 2026, 14:08 UTC First seen by agentprime
  3. 31 Oct 2026, 14:08 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.