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

CVE-2026-134366: pypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsets

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-134366: high-severity vulnerability (CVSS 8.7) in py-pdf pypdf.

What happened

Original description from the source: pypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.

Why it matters

High severity, CVSS 8.7.

Affected products and versions

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

ProductVersionsFixed in
py-pdf pypdf< 7.0.0—
py-pdf pypdf7.0.07.0.0

Action recommended by the source

Upgrade to a fixed version: 7.0.0.

Fixed in: 7.0.0

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

Sources and references

Weaknesses (CWE): CWE-407

Relevant change history

  1. Published

    Preliminary advisory published.