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.0Fix Suggestion:
Update to version 6.10.0https://github.com/py-pdf/pypdf.git (GITHUB):
Affected version(s) >=v1.17 <6.10.0Fix Suggestion:
Update to version 6.10.0pypdf (PYTHON):
Affected version(s) >=1.0 <6.10.0Fix Suggestion:
Update to version 6.10.0pypdf (PYTHON):
Affected version(s) >=1.0 <6.10.0Fix Suggestion:
Update to version 6.10.0Related ResourcesĀ (5)
Do you need more information?
Contact UsCVSS 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