CVE-2026-40260pypdf: Manipulated XMP metadata entity declarations can exhaust RAM
Updated under an hour ago ()
Does this affect you?
It affects py-pdf pypdf and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 6.9 MEDIUM (v4.0, CNA)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
- Weakness (CWE)
- CWE-776
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Apr 17, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
py-pdf pypdf py_pdf:pypdf (from the name) | before 6.10.0 | CNA record |
pypdf_project pypdf pypdf_project:pypdf | before 6.10.0 | NVD |
References
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mxx-refsource-confirm, mitigation, patch, vendor-advisory
- https://github.com/py-pdf/pypdf/pull/3724x-refsource-misc, issue-tracking, patch
- https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8x-refsource-misc, patch
- https://github.com/py-pdf/pypdf/releases/tag/6.10.0x-refsource-misc, product, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.