Menu

CVE-2026-119204: CVE-2026-119204: Uncontrolled Resource Consumption in pypdf Page Tree Flattening
📰

CVE-2026-119204: CVE-2026-119204: Uncontrolled Resource Consumption in pypdf Page Tree Flattening

DEV Community: cybersecurity·CVE Reports·16 days ago
#iUJwJ3ye
#devtocybersecurity#devto#dev#pypdf#list_only
Reading 0:00
15s threshold

CVE-2026-119204: Uncontrolled Resource Consumption in pypdf Page Tree Flattening

Vulnerability ID: CVE-2026-119204

CVSS Score: 7.1

Published: 2026-10-30

CVE-2026-119204 (also tracked as GHSA-cggf-277g-3q54) is a Denial of Service (DoS) vulnerability in pypdf prior to version 6.21.4. The vulnerability stems from uncontrolled resource consumption (CWE-400) during the flattening of a PDF document's page tree. By supplying a compact PDF containing a hierarchical amplification structure of shared /Pages and /Page nodes with dense dictionary entries or inherited resources, an unauthenticated attacker can cause pypdf to copy millions of dictionary entries into individual PageObject instances without enforcing a document-wide entry budget. This triggers severe heap memory exhaustion and process termination via Out-Of-Memory (OOM) kills.

TL;DR

pypdf versions prior to 6.21.4 lack a global budget for copied dictionary entries when flattening a PDF page tree.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.