Patch Ticker
EnglishEN
Elevated

pypdf excessive memory use when loading crafted PDF images

CVE-2026-137549

A PDF reading program can freeze and slow down a server.

CVE
CVE-2026-137549 (opens in a new tab)
Score
CVSS 8.7
Public date
2026-11-10
First seen
8.7
Products

Mitigation

Update to pypdf 7.0.1 or later. If you cannot upgrade yet, apply the changes from PR #4374.

Summary

pypdf underestimates data sizes for some image modes, which defeats its size limits. A crafted PDF can make it use large amounts of memory and stop working. Users of pypdf before 7.0.1 are affected.

Affected when

Loading PDFs with image filters that have no size limit of their own

1 other Incident of this product in the last 30 days

Incidents by product: pypdf

Other recent Incidents of pypdf

All Incidents of 2026-11-27

Distribution packages (3) (every link below opens in a new tab)

Sources: Debian Security Tracker

Read the advisory · github.com (opens in a new tab)