CVE Explorer
CVE-2026-59938
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.0, an attacker can craft a PDF with declared image size values that are much too large compared to the actual data, causing large memory usage in pypdf image parsing. This issue is fixed in version 6.14.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.14.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d11b88ad15ea7b252fa96c01cebd2ed5b482f9ec52c85087e343e92bf92d7233 · sha256:7a915e4087843791… · /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:d11b88ad15ea7b252fa96c01cebd2ed5b482f9ec52c85087e343e92bf92d7233 · sha256:7a915e4087843791… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-789","description":"CWE-789: Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d11b88ad15ea7b252fa96c01cebd2ed5b482f9ec52c85087e343e92bf92d7233 · sha256:7a915e4087843791… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/py-pdf/pypdf/commit/c64583be16b8e8763d8777075f8ecbf382014b7a","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/commit/c64583be16b8e8763d8777075f8ecbf382014b7a"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d11b88ad15ea7b252fa96c01cebd2ed5b482f9ec52c85087e343e92bf92d7233 · sha256:7a915e4087843791… · /containers/cna/references/2
{"name":"https://github.com/py-pdf/pypdf/pull/3888","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/pull/3888"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d11b88ad15ea7b252fa96c01cebd2ed5b482f9ec52c85087e343e92bf92d7233 · sha256:7a915e4087843791… · /containers/cna/references/1
{"name":"https://github.com/py-pdf/pypdf/releases/tag/6.14.0","tags":["x_refsource_MISC"],"url":"https://github.com/py-pdf/pypdf/releases/tag/6.14.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d11b88ad15ea7b252fa96c01cebd2ed5b482f9ec52c85087e343e92bf92d7233 · sha256:7a915e4087843791… · /containers/cna/references/3
{"name":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5qjq-93h5-hrgp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5qjq-93h5-hrgp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d11b88ad15ea7b252fa96c01cebd2ed5b482f9ec52c85087e343e92bf92d7233 · sha256:7a915e4087843791… · /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.