Advisory record · GHSA-cgf9-327m-v77c

pypdf: Possible large memory usage when parsing content streams

CVSS 6.0 MediumEPSS 0.0041 · 35th percentile

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

PackageEcosystemAffectedFixed in
pypdfPyPI<6.21.06.21.0
Identifiers
GHSA-cgf9-327m-v77c · CVE-2026-113791
Weakness (CWE)
CWE-400 · CWE-770
Published
22 Oct 2026
Updated
22 Oct 2026

Machine-written summary

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

The pypdf package, versions before 6.21.0, can use large amounts of memory when parsing PDF content streams. An attacker who supplies a crafted PDF with many small operations can trigger this. Upgrade to pypdf 6.21.0 or later. The source gives no workaround that a user can apply without patching the code.

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.0041, the 35th percentile, on 5 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.