// Security Advisory Triage
pypdf 6.21.3 patches memory exhaustion in cross-reference parsing
GitHub advisories — pip · published 2026-11-01 06:08 UTC
WHAT CHANGEDGitHub published GHSA-x3rh-gjgm-fmqc on 30 October 2026, rating CVE-2026-119209 high severity. pypdf versions before 6.21.3 can consume excessive memory when parsing cross-reference streams in PDF files. Version 6.21.3 patches the vulnerability.
WHY IT MATTERSA malformed PDF can exhaust available memory, causing denial of service in any application that parses untrusted PDFs with pypdf. This affects PDF processing pipelines, document upload handlers, and automated parsing workflows.
WHAT TO DOUpgrade pypdf to 6.21.3 or later. Check requirements files and lock files for pypdf dependencies below 6.21.3.
Model-reported confidence 85% (not measured accuracy)
Primary source ↗
written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-x3rh-gjgm-fmqc +summary: pypdf has possible large memory usage when parsing cross-reference streams +severity: high +published_at: 2026-10-30T23:07:28Z +cve_id: CVE-2026-119209 +vulnerabilities[].package.name: pypdf +vulnerabilities[].first_patched_version: 6.21.3
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
| triage verdict | MATERIAL at 0.78, needed 0.5 |
|---|---|
| triage reasoning | pypdf is a common Python dependency. Memory exhaustion in PDF parsing affects service availability and could enable DoS attacks. |
| signals | new advisory published · high severity rating · pypdf is a PDF parsing library in Python dependency trees · memory exhaustion vulnerability affects availability · patched version available (6.21.3) |
| suppression | — |
| triage model | anthropic/claude-haiku-4.5 ($0.00000) |
| writer model | anthropic/claude-sonnet-4.5 ($0.00000) |