CVE-2026-40260
pypdf: Manipulated XMP metadata entity declarations can exhaust RAM
5.3
MEDIUM
CVSS 3.1
EPSS 0.02%
Description
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.
How to fix CVE-2026-40260
To remediate CVE-2026-40260, upgrade the affected package to a fixed version below.
- —no fix listed
- —no fix listed
- —upgrade to 6.10.0 or later
Is CVE-2026-40260 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0
- from 0
- from 0, < 6.10.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |