Skip to main content
EPSS 0.2%top 93%

Pdfly: pypdf: Possible large memory usage for large offsets for layout mode text (CVE-2026-48155)

0
Medium
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 to cause large memory usage when extracting text in layout mode with large character offsets. This issue has been fixed in pypdf version 6.12.0. Developers unable to upgrade immediately can apply the changes from the referenced pull request as a workaround.

CVSS v4.0

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
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:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

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:30 UTC

Technical Analysis

CVE-2026-48155 describes a vulnerability in pdfly's pypdf library where an attacker can craft a PDF that triggers excessive memory consumption during text extraction in layout mode with large character offsets. This can lead to resource exhaustion on the system processing the PDF. The issue has been addressed and fixed in pypdf version 6.12.0. A code change from pull request #3790 is available as a temporary workaround for developers who cannot upgrade immediately.

Potential Impact

An attacker can cause large memory usage on systems extracting text from malicious PDFs in layout mode with large character offsets, potentially leading to denial of service due to resource exhaustion. There is no indication of privilege escalation or code execution.

Mitigation Recommendations

Upgrade to pypdf version 6.12.0 or later to fully remediate the vulnerability. If immediate upgrade is not possible, apply the changes from pull request #3790 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-48155
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac1396ea43b0b3b89d5fdea

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

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

Last updated: 10/04/2026, 02:46:05 UTC

Views: 3

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