CVE-2026-40260
CVE-2026-40260 is a medium-severity vulnerability in Pypdf Project Pypdf with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-776.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v4: 6.9
- EPSS exploit prediction: 0% (34th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-23327
- Weakness: CWE-776
- Affected product: Pypdf Project Pypdf
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-40260?
- CVE-2026-40260 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2026-40260 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (34th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-40260?
- CVE-2026-40260 affects Pypdf Project Pypdf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-40260?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-40260 have an EU (EUVD) identifier?
- Yes. CVE-2026-40260 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-23327.
- When was CVE-2026-40260 published?
- CVE-2026-40260 was published on 2026-04-17 and last updated on 2026-06-17.
References
- https://github.com/py-pdf/pypdf/commit/b15a374e5ca648d4878e57c3b2c0551e7f8cc7f8
- https://github.com/py-pdf/pypdf/pull/3724
- https://github.com/py-pdf/pypdf/releases/tag/6.10.0
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-3crg-w4f6-42mx
Affected products (1)
- cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
More vulnerabilities in Pypdf Project Pypdf
- CVE-2026-33699 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an…
- CVE-2026-27888 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can…
- CVE-2026-27628 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can…
- CVE-2025-62708 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this…
- CVE-2025-62707 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this…
- CVE-2025-55197 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which…
All CVEs affecting Pypdf Project Pypdf →
Other CWE-776 vulnerabilities
- CVE-2019-19144 — Critical (CVSS 9.8): XML External Entity Injection vulnerability in Quantum DXi6702 2.3.0.3 (11449-53631 Build304) devices via…
- CVE-2022-23640 — Critical (CVSS 9.8): Excel-Streaming-Reader is an easy-to-use implementation of a streaming Excel reader using Apache POI. Prior to…
- CVE-2014-2228 — Critical (CVSS 9.8): The XStream extension in HP Fortify SCA before 2.2 RC3 allows remote attackers to execute arbitrary code via unsafe…
- CVE-2013-4335 — Critical (CVSS 9.8): opOpenSocialPlugin 0.8.2.1, > 0.9.9.2, 0.9.13, 1.2.6: Multiple XML External Entity Injection Vulnerabilities
- CVE-2021-23926 — Critical (CVSS 9.1): The XML parsers used by XMLBeans up to version 2.6.0 did not set the properties needed to protect the user from…
- CVE-2020-24590 — Critical (CVSS 9.1): The Management Console in WSO2 API Manager through 3.1.0 and API Microgateway 2.2.0 allows XML Entity Expansion attacks.