#1134738 pypdf: CVE-2026-41314

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

The following vulnerability was published for pypdf.

CVE-2026-41314[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 an image using `/FlateDecode` with large size values. 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-41314
https://www.cve.org/CVERecord?id=CVE-2026-41314
[1] https://github.com/py-pdf/pypdf/pull/3734
[2] https://github.com/py-pdf/pypdf/security/advisories/GHSA-x284-j5p8-9c5p

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore