Skip to content
DayZeroHub
High Not yet writtenCVSS 8.7CVE-2026-137549

CVE-2026-137549: pypdf before 7.0.1 Excessive Memory Usage via Crafted PDF Images

py-pdf pypdf

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-137549: high-severity vulnerability (CVSS 8.7) in py-pdf pypdf.

What happened

Original description from the source: pypdf before 7.0.1 contains a resource exhaustion vulnerability in image loading because data size estimates for some image modes are too low, defeating limits for filters without their own size limit. Attackers can craft a PDF whose images, when loaded, cause large memory usage and denial of service.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

py-pdf pypdf < 7.0.1; py-pdf pypdf 7.0.1 (fixed in 7.0.1)

ProductVersionsFixed in
py-pdf pypdf< 7.0.1—
py-pdf pypdf7.0.17.0.1

Action recommended by the source

Upgrade to a fixed version: 7.0.1.

Fixed in: 7.0.1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-770

Relevant change history

  1. Published

    Preliminary advisory published.