CVE-2026-27888: Pypdf Unbounded Zlib Decompress

Detected unbounded zlib decompression of a PDF object or stream. Using `zlib.decompress` on untrusted stream attributes (e.g., `_data`, `data`, or `get_data()`) without reinforcing limits makes the application highly vulnerable to decompression bombs (zip bombs), leading to memory exhaustion and Denial of Service (DoS) attacks. Implement bounded decompressio

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Python
greprules fetch cve-2026-27888-pypdf-unbounded-zlib-decompress --engine opengrep

Description

Detected unbounded zlib decompression of a PDF object or stream. Using `zlib.decompress` on untrusted stream attributes (e.g., `_data`, `data`, or `get_data()`) without reinforcing limits makes the application highly vulnerable to decompression bombs (zip bombs), leading to memory exhaustion and Denial of Service (DoS) attacks. Implement bounded decompressio