Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-40260
Published:April 16, 2026
Updated:April 25, 2026
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.
Affected Packages
pypdf (CONDA):
Affected version(s) >=3.2.0 <6.10.0
Fix Suggestion:
Update to version 6.10.0
https://github.com/py-pdf/pypdf.git (GITHUB):
Affected version(s) >=v1.17 <6.10.0
Fix Suggestion:
Update to version 6.10.0
pypdf (PYTHON):
Affected version(s) >=1.0 <6.10.0
Fix Suggestion:
Update to version 6.10.0
pypdf (PYTHON):
Affected version(s) >=1.0 <6.10.0
Fix Suggestion:
Update to version 6.10.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
EPSS
Base Score:
0.02