Menu

CVE-2026-119205: CVE-2026-119205: Denial of Service via Infinite Loop in pypdf DictionaryObject Cloning
📰

CVE-2026-119205: CVE-2026-119205: Denial of Service via Infinite Loop in pypdf DictionaryObject Cloning

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

CVE-2026-119205: Denial of Service via Infinite Loop in pypdf DictionaryObject Cloning

Vulnerability ID: CVE-2026-119205

CVSS Score: 7.1

Published: 2026-10-30

CVE-2026-119205 (GHSA-mfr5-77xh-9j7h) is a Denial of Service (DoS) vulnerability in pypdf prior to version 6.21.4. The flaw occurs during the cloning or duplication of nested PDF dictionary structures. Because the cycle-detection algorithm within DictionaryObject._clone() tracked generated destination object references rather than the original source indirect references, cyclic reference graphs in source PDFs evaded detection, resulting in an infinite loop and CPU exhaustion.

TL;DR

Versions of pypdf prior to 6.21.4 contain a logic error in cycle detection during DictionaryObject cloning (CWE-835). Processing a crafted PDF containing cyclic indirect dictionary references triggers an infinite loop, leading to application hangs and CPU exhaustion.…

Continue reading — create a free account

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