Back to list

pypdf has possible infinite loop when hitting EOF in standard xref table during trailer search — GHSA-5849-834G-HVW5

GitHub · GitHub · GHSA-5849-834G-HVW5

ID
GHSA-5849-834G-HVW5
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 an infinite loop. This requires opening an incomplete file without a `trailer`. ### Patches This has been fixed in [pypdf==6.21.4](https://github.com/py-pdf/pypdf/releases/tag/6.21.4). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#4289](https://github.com/py-pdf/pypdf/pull/4289).

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-5849-834G-HVW5
Source
GitHub
Vendor
GitHub
Published by source
2026-10-30
Last source activity
2026-10-30
Additional identifiers
CVE-2026-119203
Curated by
hlukh.ch

Related advisories and connections

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