Skip to main content

Pdfly: pypdf: Possible long runtimes for zero-only width values in cross-reference streamsuntimes for zero-only width values in cross-reference streams (CVE-2026-48156)

0
Low
Published: 08/13/2026 (08/13/2026, 17:25:44 UTC)
Source: GCVE Database
Product: pdfly

Description

A vulnerability in pdfly's pypdf component allows crafted PDFs with specific cross-reference stream values to cause long runtimes, potentially leading to denial of service. The issue arises when cross-reference streams contain /W [0 0 0] and large /Size values. This vulnerability has a low severity score and does not impact confidentiality or integrity.

CVSS v3.1

Score 3.3low

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Affected software

Homebrewmore threats →ghsa
pdfly
pkg:brew/pdfly
Affected versions
>=0.4.0 <0.5.1_20

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: 10/03/2026, 17:26:27 UTC

Technical Analysis

CVE-2026-48156 describes a performance-related vulnerability in pdfly's pypdf library where an attacker can craft a PDF file with cross-reference streams specifying /W [0 0 0] and large /Size values. This causes the library to experience long runtimes when processing such files. The vulnerability has been addressed in pypdf version 6.12.0. For those unable to upgrade immediately, applying the changes from pull request #3791 is recommended as a workaround.

Potential Impact

The vulnerability can cause denial of service through prolonged processing times when handling maliciously crafted PDFs. It does not affect confidentiality or integrity, only availability due to long runtimes.

Mitigation Recommendations

Upgrade to pypdf version 6.12.0 or later, where this issue is fixed. If immediate upgrade is not possible, apply the changes from pull request #3791 as a temporary workaround.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-pdfly-CVE-2026-48156
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ac1396ea43b0b3b89d5fde9

Added to database: 10/03/2026, 17:20:46 UTC

Last enriched: 10/03/2026, 17:26:27 UTC

Last updated: 10/03/2026, 22:36:47 UTC

Views: 4

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