Back to list

pypdf has possible long runtimes/large memory usage for encrypted PDF files — GHSA-62M5-6WH8-28X7

GitHub · GitHub · GHSA-62M5-6WH8-28X7

ID
GHSA-62M5-6WH8-28X7
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.1
EPSS
0.00304

Summary

### Impact An attacker who uses this vulnerability can craft a PDF which leads to large runtimes/memory usage. This requires accessing the page count of an encrypted PDF file, which itself declares a wrong `/Count` value. ### Patches This has been fixed in [pypdf==6.21.3](https://github.com/py-pdf/pypdf/releases/tag/6.21.3). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR…

Timeline

Published by source
2026-10-30

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 7.1 out of 10.
  • Reported EPSS value: 0.00304.
  • Review exposure for the affected product or family: pip: pypdf.

Product

pip: pypdf

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-62M5-6WH8-28X7
Source
GitHub
Vendor
GitHub
Published by source
2026-10-30
Last source activity
2026-10-30
Additional identifiers
CVE-2026-119208
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.