Advisory record · GHSA-62m5-6wh8-28x7

pypdf has possible long runtimes/large memory usage for encrypted PDF files

CVSS 7.1 HighEPSS 0.0022 · 12th percentile

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

PackageEcosystemAffectedFixed in
pypdfPyPI<6.21.36.21.3
Identifiers
GHSA-62m5-6wh8-28x7 · CVE-2026-119208
Weakness (CWE)
CWE-400 · CWE-770
Published
30 Oct 2026
Updated
30 Oct 2026

Machine-written summary

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

The pypdf Python package, versions before 6.21.3, can be made to run for a long time or use large amounts of memory when processing an encrypted PDF. An attacker would need to supply a crafted encrypted PDF whose declared page count value is wrong, and the impact occurs when the page count is read. The fix is to upgrade to pypdf 6.21.3; the source also suggests applying the changes from PR #4270 if an upgrade is not yet possible.

Written 31 Oct 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
7.1 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0022, the 12th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 29 Oct 2026, 20:41 UTC Confirmed by the CVE List
  2. 29 Oct 2026, 21:17 UTC Confirmed by NVD
  3. 31 Oct 2026, 14:07 UTC First seen by agentprime
  4. 31 Oct 2026, 14:07 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.