Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 97%

CVE-2026-48156: CWE-834: Excessive Iteration in py-pdf pypdf

0
Medium
VulnerabilityCVE-2026-48156cvecve-2026-48156cwe-834
Published: 05/28/2026 (05/28/2026, 14:50:41 UTC)
Source: CVE Database V5
Vendor/Project: py-pdf
Product: pypdf

Description

pypdf is a free and open-source pure-python PDF library. Prior to 6.12.0, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with /W [0 0 0] values and large /Size values. This vulnerability is fixed in 6.12.0.

CVSS v4.0

Score 5.1medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

pypdf
pkg:pypi/pypdf
Affected versions
<6.12.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/04/2026, 20:48:43 UTC

Technical Analysis

The vulnerability CVE-2026-48156 affects the py-pdf pypdf library versions before 6.12.0. An attacker can craft a PDF file with cross-reference streams specifying /W [0 0 0] and large /Size values, causing the library to perform excessive iteration and resulting in prolonged processing times. This is classified under CWE-834 (Excessive Iteration). The issue was resolved in pypdf version 6.12.0.

Potential Impact

The impact of this vulnerability is a denial of service condition through resource exhaustion, as processing a maliciously crafted PDF can cause long runtimes. There is no indication of code execution, privilege escalation, or data disclosure. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade to pypdf version 6.12.0 or later, where this vulnerability has been fixed. Patch status is confirmed by the version fix note. No additional mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-20T23:12:43.031Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a186056e29bf47b500b42cd

Added to database: 05/28/2026, 15:33:42 UTC

Last enriched: 06/04/2026, 20:48:43 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 63

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses