patchminder
No public exploit found CVE-2026-41312

Vulnerabilityin py-pdf pypdf.

Published 22 Apr 2026 · Updated 23 Apr 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Medium 4.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 6.10.2 or later
In plain words

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.

What to do now
  • Upgrade pypdf to 6.10.2 or later.
  • Upgrade pypdf (PyPI) to 6.10.2 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
pypdf
before 6.10.2
6.10.2
CVE record
pypdf (PyPI)
before 6.10.2
6.10.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 20 Apr 2026
    CVE ID reserved by GitHub_M.
  2. 22 Apr 2026
    Published in the CVE List.
  3. 23 Apr 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other pypdf vulnerabilities

Same weakness:

All CWE-789 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-41312: Vulnerability in py-pdf pypdf. https://patchminder.com/cve/cve-2026-41312/ (accessed 5 December 2026).