#1134736 pypdf: CVE-2026-41312

Package:
src:pypdf
Source:
src:pypdf
Submitter:
Salvatore Bonaccorso
Date:
2026-05-13 02:47:47 UTC
Severity:
normal
Tags:
#1134736#5
Date:
2026-04-23 20:25:31 UTC
From:
To:
Hi,

The following vulnerability was published for pypdf.

CVE-2026-41312[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-41312
https://www.cve.org/CVERecord?id=CVE-2026-41312
[1] https://github.com/py-pdf/pypdf/pull/3734
[2] https://github.com/py-pdf/pypdf/security/advisories/GHSA-7gw9-cf7v-778f

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore