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.
CVE-2026-59938
This medium-severity CVE scores 5.3 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 78% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.3
- EG Score
- 5.3(medium)
- EPSS
- 22.1%
- KEV
- Not listed
Published
July 8, 2026
Last Modified
July 9, 2026
Advisory Details (4)
Auto-updated Jul 8, 2026Possible large memory usage for wrong image dimensions · Advisory · py-pdf/pypdf · GitHub
https://github.com/py-pdf/pypdf/security/advisories/GHSA-5qjq-93h5-hrgpVersion 6.14.0, 2026-06-22
Patch available: py-pdf/pypdf 6.14.0
https://github.com/py-pdf/pypdf/releases/tag/6.14.0SEC: Apply general limit for requested image size
Patch available: py-pdf/pypdf 6.14.0 (PR #3888 merged 2026-06-22)
https://github.com/py-pdf/pypdf/pull/3888commit c64583be16b8 (py-pdf/pypdf)
Patch available: py-pdf/pypdf 6.14.0 (contains commit c64583be16b8)
https://github.com/py-pdf/pypdf/commit/c64583be16b8e8763d8777075f8ecbf382014b7aWeakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 10× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 15:35 UTCEG score recompute
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 16:15 UTCEG score recompute▼ 1.60
- 2026-07-09 21:46 UTCNVD updateCVSS v3 → 5.3
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 16:51 UTCEG score recompute
- 2026-07-08 17:29 UTCEG score recompute
- 2026-07-08 17:29 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-59938?
When was CVE-2026-59938 disclosed?
Is CVE-2026-59938 actively exploited?
What is the CVSS score of CVE-2026-59938?
How do I remediate CVE-2026-59938?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-59938
Is Your Infrastructure Affected by CVE-2026-59938?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.