// Security Advisory Triage

pypdf memory exhaustion in font parsing, patched in 6.18.1

GitHub advisories — pip · published 2026-10-02 21:54 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published CVE-2026-102996 on 1 October 2026, rating it high severity. pypdf versions before 6.18.1 can consume excessive memory when parsing font data in PDFs. Version 6.18.1 patches the vulnerability.
WHY IT MATTERSIf you parse untrusted PDFs with pypdf, an attacker can send a crafted file that exhausts memory and crashes the process. This breaks availability for any service that accepts PDF uploads or processes PDFs from external sources.
WHAT TO DOGrep your requirements files and lock files for pypdf. If found and below 6.18.1, update to 6.18.1 or later. If you cannot update immediately, restrict PDF processing to trusted sources only until patched.
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-g9cg-prrw-2r8q
+summary: pypdf: Possible large memory usage when parsing font data
+severity: high
+published_at: 2026-10-01T15:06:13Z
+cve_id: CVE-2026-102996
+vulnerabilities[].package.name: pypdf
+vulnerabilities[].first_patched_version: 6.18.1
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.72, needed 0.5
triage reasoningNew high-severity advisory for pypdf, a widely-used PDF parsing library with a known fix available.
signalsnew advisory published · high severity rating · pypdf is a common PDF parsing library in dependency trees · memory exhaustion vulnerability affects availability · patched version available (6.18.1)
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)