Medium severity6.5NVD Advisory· Published Apr 22, 2026· Updated Apr 27, 2026
CVE-2026-41312
CVE-2026-41312
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.10.2 | 6.10.2 |
Affected products
7- osv-coords6 versionspkg:apk/chainguard/litellmpkg:apk/chainguard/nemopkg:apk/chainguard/open-webuipkg:apk/wolfi/open-webuipkg:pypi/pypdfpkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Tumbleweed
< 1.82.3.0-r4+ 5 more
- (no CPE)range: < 1.82.3.0-r4
- (no CPE)range: < 2.7.2-r2
- (no CPE)range: < 0.9.2-r0
- (no CPE)range: < 0.9.2-r0
- (no CPE)range: < 6.10.2
- (no CPE)range: < 6.10.2-2.1
Patches
Vulnerability mechanics
References
6- github.com/py-pdf/pypdf/commit/ac734dab4eef92bcce50d503949b4d9887d89f11nvdPatchWEB
- github.com/py-pdf/pypdf/pull/3734nvdIssue TrackingPatchWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-7gw9-cf7v-778fnvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-7gw9-cf7v-778fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-41312ghsaADVISORY
- github.com/py-pdf/pypdf/releases/tag/6.10.2nvdRelease NotesWEB
News mentions
0No linked articles in our index yet.