Skip to main content
VulnerabilityPublished

CVE-2026-33123: py-pdf pypdf · Uncontrolled Resource Consumption

Affects py-pdf pypdfSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.1 Medium : upgrade to 6.9.1 when convenient.

Data as of 1 Nov 2026, 22:58 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 6.9.1
CVSS:4.0/AV:L/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 20 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 1 Nov 2026.

What to do

Upgrade py-pdf pypdf to 6.9.1.

Affected software

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

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

AI-suggested

To mitigate this vulnerability, organizations should immediately upgrade all instances of the pypdf library to version 6.9.1 or later, where the issue is fixed. Additionally, implement strict input validation and sanitization to restrict or reject suspicious PDF files, especially those with unusually large or complex array streams. Employ resource limits and timeouts on PDF processing tasks to prevent excessive CPU or memory consumption from impacting overall system stability. Consider sandboxing PDF parsing operations to isolate potential failures and protect critical infrastructure. Monitor logs and system metrics for abnormal resource usage patterns that may indicate exploitation attempts. If upgrading is not immediately feasible, apply compensating controls such as restricting PDF uploads to trusted sources and scanning PDFs with alternative tools before processing. Regularly review and update PDF handling libraries and dependencies as part of a secure software maintenance lifecycle.

Description

CVE-2026-33123 is a medium severity vulnerability in the py-pdf pypdf library versions prior to 6.9.1. It allows an attacker to craft a malicious PDF that triggers uncontrolled resource consumption, causing long runtimes or excessive memory usage. Exploitation requires processing a specially crafted array-based stream with many entries, potentially leading to denial of service due to resource exhaustion. No authentication or user interaction is required, and the vulnerability affects systems that parse untrusted PDFs using vulnerable pypdf versions. The issue has been fixed in version 6.9.1. There are no known exploits in the wild currently.

References

Community reviews

Loading reviews…