Medium severity5.3NVD Advisory· Published Apr 17, 2026· Updated Apr 22, 2026
CVE-2026-40260
CVE-2026-40260
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.10.0 | 6.10.0 |
Affected products
9- osv-coords8 versionspkg:apk/chainguard/litellmpkg:apk/chainguard/nemopkg:apk/chainguard/open-webuipkg:apk/wolfi/open-webuipkg:pypi/pypdfpkg:rpm/opensuse/python-PyPDF2&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-PyPDF2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Tumbleweed
< 1.82.3.0-r4+ 7 more
- (no CPE)range: < 1.82.3.0-r4
- (no CPE)range: < 2.7.2-r2
- (no CPE)range: < 0.9.2-r0
- (no CPE)range: < 0.9.2-r0
- (no CPE)range: < 6.10.0
- (no CPE)range: < 2.11.1-bp160.6.1
- (no CPE)range: < 2.11.1-9.1
- (no CPE)range: < 6.10.2-1.1
Patches
Vulnerability mechanics
References
6- github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8nvdPatchWEB
- github.com/py-pdf/pypdf/pull/3724nvdIssue TrackingPatchWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mxnvdMitigationPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-3crg-w4f6-42mxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-40260ghsaADVISORY
- github.com/py-pdf/pypdf/releases/tag/6.10.0nvdProductRelease NotesWEB
News mentions
0No linked articles in our index yet.