CVE-2026-28804Inefficient Algorithmic Complexity in Pypdf

Severity
6.9MEDIUMNVD
EPSS
0.0%
top 84.77%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 6

Description

pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.5, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the /ASCIIHexDecode filter. This issue has been patched in version 6.7.5.

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected Packages6 packages

CVEListV5py-pdf/pypdf< 6.7.5
debiandebian/pypdf< pypdf 6.9.0-1 (forky)
debiandebian/pypdf2< pypdf 6.9.0-1 (forky)
NVDpypdf_project/pypdf< 6.7.5
PyPIpypdf_project/pypdf< 6.7.5

Patches

🔴Vulnerability Details

3
OSV
CVE-2026-28804: pypdf is a free and open-source pure-python PDF library2026-03-06
OSV
pypdf vulnerable to inefficient decoding of ASCIIHexDecode streams2026-03-02
GHSA
pypdf vulnerable to inefficient decoding of ASCIIHexDecode streams2026-03-02

📋Vendor Advisories

2
Red Hat
pypdf: pypdf: Denial of Service via crafted PDF with ASCIIHexDecode filter2026-03-06
Debian
CVE-2026-28804: pypdf - pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.5,...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-28804 Impact, Exploitability, and Mitigation Steps | Wiz