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.3%top 73%

CVE-2026-27888: CWE-400: Uncontrolled Resource Consumption in py-pdf pypdf

0
Medium
VulnerabilityCVE-2026-27888cvecve-2026-27888cwe-400
Published: 02/26/2026 (02/26/2026, 00:42:00 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.7.3, an attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the `xfa` property of a reader or writer and the corresponding stream being compressed using `/FlateDecode`. This has been fixed in pypdf 6.7.3. As a workaround, apply the patch manually.

CVSS v4.0

Score 6.6medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

Affected software

pypdf
pkg:pypi/pypdf
Affected versions
<6.7.3

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/24/2026, 15:07:46 UTC

Technical Analysis

The vulnerability CVE-2026-27888 in pypdf (a pure-python PDF library) allows an attacker to cause uncontrolled resource consumption leading to RAM exhaustion. This occurs when a crafted PDF file contains an XFA stream compressed with /FlateDecode, and the xfa property of a PDF reader or writer is accessed. The flaw affects all pypdf versions prior to 6.7.3 and has been addressed by an official fix in version 6.7.3.

Potential Impact

An attacker can cause a denial-of-service condition by exhausting the system's RAM when processing malicious PDF files that exploit this vulnerability. This could disrupt applications or services using vulnerable versions of pypdf by making them unresponsive or crashing due to resource exhaustion.

Mitigation Recommendations

Upgrade to pypdf version 6.7.3 or later, where this vulnerability has been fixed. As a temporary workaround, manually apply the patch if upgrading is not immediately possible. No other vendor advisories indicate alternative mitigations or that no action is required.

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-02-24T15:19:29.716Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 699f9a40b7ef31ef0b726103

Added to database: 02/26/2026, 00:56:32 UTC

Last enriched: 06/24/2026, 15:07:46 UTC

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

Views: 287

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