Ad

CVE-2026-40260

MEDIUM CVSS 4.0: 6.9
Updated Apr 17, 2026
Python
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions before 6.10.0
Fixed In 6.10.0
Type CWE-776
Vendor Python
Public PoC No

pypdf is a free and open-source pure-python PDF library. In versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker who exploits this vulnerability can craft a PDF which leads to large memory usage.

This requires parsing the XMP metadata. This issue has been fixed in version 6.10.0.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
Low
Partial disruption

CVSS Vector v4.0

Weakness Type (CWE)