Ubuntu CVE Tracker
UBUNTU-CVE-2026-40260
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:20.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:22.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypdf | All versions, no fix listed |
| Ubuntu:24.04:LTS | pypdf2 | All versions, no fix listed |
| Ubuntu:25.10 | pypdf | All versions, no fix listed |
| Ubuntu:26.10 | pypdf | All versions, no fix listed |
| Ubuntu:26.04:LTS | pypdf | All versions, no fix listed |