CVE-2026-41312
CVE-2026-41312 is a medium-severity vulnerability in Pypdf Project Pypdf with a CVSS 3.x base score of 6.5. 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-789.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v4: 4.8
- EPSS exploit prediction: 0% (13th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-25112
- Weakness: CWE-789
- Affected product: Pypdf Project Pypdf
- Published:
- Last modified:
Description
pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing a stream compressed using `/FlateDecode` with a `/Predictor` unequal 1 and large predictor parameters. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.
Frequently asked questions
- What is CVE-2026-41312?
- pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing a stream compressed using `/FlateDecode` with a `/Predictor` unequal 1 and large predictor parameters. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.
- How severe is CVE-2026-41312?
- CVE-2026-41312 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-41312 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (13th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-41312?
- CVE-2026-41312 affects Pypdf Project Pypdf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-41312?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-41312 have an EU (EUVD) identifier?
- Yes. CVE-2026-41312 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-25112.
- When was CVE-2026-41312 published?
- CVE-2026-41312 was published on 2026-04-22 and last updated on 2026-06-17.
References
- https://github.com/py-pdf/pypdf/commit/ac734dab4eef92bcce50d503949b4d9887d89f11
- https://github.com/py-pdf/pypdf/pull/3734
- https://github.com/py-pdf/pypdf/releases/tag/6.10.2
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-7gw9-cf7v-778f
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-789 vulnerabilities
- CVE-2021-34869 — High (CVSS 8.8): This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop…
- CVE-2021-34868 — High (CVSS 8.8): This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop…
- CVE-2024-20260 — High (CVSS 8.6): A vulnerability in the VPN and management web servers of the Cisco Adaptive Security Virtual Appliance (ASAv) and Cisco…
- CVE-2021-34867 — High (CVSS 8.2): This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop…
- CVE-2026-20048 — High (CVSS 7.7): A vulnerability in the Simple Network Management Protocol (SNMP) subsystem of Cisco Nexus 9000 Series Fabric Switches…
- CVE-2026-55380 — High (CVSS 7.5): Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from…