CVE-2026-40260
Published:April 13, 2026
Updated:April 17, 2026
Impact An attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata. Patches This has been fixed in "pypdf==6.10.0" (https://github.com/py-pdf/pypdf/releases/tag/6.10.0). Workarounds If you cannot upgrade yet, consider applying the changes from PR "#3724" (https://github.com/py-pdf/pypdf/pull/3724).
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.05