CVE-2023-36464

pypdf: pypdf is an open source, pure-python PDF library

CVE-2023-36464 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2023-36464, released June 27, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0035
29th percentile

pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue was introduced in pull request #969 and resolved in pull request #1828. Users are advised to upgrade. Users unable to upgrade may modify the line `while peek not in (b"\r", b"\n")` in `pypdf/generic/_data_structures.py` to `while peek not in (b"\r", b"\n", b"")`.

Where it's fixed

ProductFixed inFixReleased
Linux
pypdf · Debian 12.15 (bookworm) 3.4.1-1+deb12u1 DEBIAN-CVE-2023-36464 Jun 27, 2023
pypdf · Debian 13.5 (trixie) 3.17.4-1 DEBIAN-CVE-2023-36464 Jun 27, 2023
pypdf · Debian 14 3.17.4-1 DEBIAN-CVE-2023-36464 Jun 27, 2023
pypdf2 · Debian 12.15 (bookworm) 2.12.1-3+deb12u1 DEBIAN-CVE-2023-36464 Jun 27, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.