Skip to main content
VulnerabilityPublished

CVE-2026-28804: py-pdf pypdf · Inefficient Algorithmic Complexity

Affects py-pdf pypdfSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.9 Medium : upgrade to 6.7.5 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.7.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade py-pdf pypdf to 6.7.5.

Affected software

ProductAffectedFixed in
py-pdfpypdfAffected
  • <6.7.5
Fixed in
  • 6.7.5
PyPIpypdfpkg:pypi/pypdfOther threatsAffected
  • <6.7.5
Fixed in
  • 6.7.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2026-28804, organizations should immediately upgrade all instances of the pypdf library to version 6.7.5 or later, where the vulnerability is patched. For environments where immediate upgrade is not feasible, implement input validation and filtering to block or sanitize PDF files containing /ASCIIHexDecode streams from untrusted sources. Employ rate limiting and resource usage monitoring on PDF processing services to detect and mitigate abnormal processing times indicative of exploitation attempts. Consider sandboxing or isolating PDF processing components to contain potential denial of service impacts. Additionally, maintain updated threat intelligence to monitor for any emerging exploits targeting this vulnerability. Regularly audit and update third-party dependencies like pypdf to ensure timely application of security patches. Finally, educate developers and system administrators about the risks of algorithmic complexity vulnerabilities and the importance of secure PDF handling.

Description

### Impact 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. ### Patches This has been fixed in [pypdf==6.7.5](https://github.com/py-pdf/pypdf/releases/tag/6.7.5). ### Workarounds If you cannot upgrade yet, consider applying the changes from PR [#3666](https://github.com/py-pdf/pypdf/pull/3666).

References

Community reviews

Loading reviews…