CVE Explorer
CVE-2026-40260
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pypdf","vendor":"py-pdf","versions":[{"status":"affected","version":"< 6.10.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1f70793def67af158570e61934fcd911f183b290f67076d7ae5ebe7dd1f5eaae · sha256:e84961f6aaf25f39… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1f70793def67af158570e61934fcd911f183b290f67076d7ae5ebe7dd1f5eaae · sha256:e84961f6aaf25f39… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-776","description":"CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1f70793def67af158570e61934fcd911f183b290f67076d7ae5ebe7dd1f5eaae · sha256:e84961f6aaf25f39… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1f70793def67af158570e61934fcd911f183b290f67076d7ae5ebe7dd1f5eaae · sha256:e84961f6aaf25f39… · /containers/cna/references/2
{"name":"https://github.com/py-pdf/pypdf/pull/3724","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/pull/3724"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1f70793def67af158570e61934fcd911f183b290f67076d7ae5ebe7dd1f5eaae · sha256:e84961f6aaf25f39… · /containers/cna/references/1
{"name":"https://github.com/py-pdf/pypdf/releases/tag/6.10.0","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/releases/tag/6.10.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1f70793def67af158570e61934fcd911f183b290f67076d7ae5ebe7dd1f5eaae · sha256:e84961f6aaf25f39… · /containers/cna/references/3
{"name":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1f70793def67af158570e61934fcd911f183b290f67076d7ae5ebe7dd1f5eaae · sha256:e84961f6aaf25f39… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.