PT-2022-7123

CVE-2023-36464

·

Published

2022-06-10

·

Updated

2026-09-23

Description by

CVSS 3.1
6.2
Medium
MetricsAV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions pypdf versions prior to 3.9.0
Description The issue is related to the execution of parse content stream which can lead to an infinite loop if a crafted PDF is used. This can occur, for example, when a user extracts text from such a PDF. The infinite loop can block the current process and utilize a single core of the CPU by 100%. It does not affect memory usage.
Recommendations For versions prior to 3.9.0, upgrade to pypdf>=3.9.0 to resolve the issue. If you cannot update your version of pypdf, modify the line while peek not in (b"r", b" ") in pypdf/generic/ data structures.py to while peek not in (b"r", b" ", b"").
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-4VVM-4W3V-6MR8
PYSEC-2026-1835
PYSEC-2026-3008
RHLW-2026-821EAAB8409C2A61
Found an issue in the description? Have something to add? Feel free to write us 👾