PT-2023-29930 · Pypi · Pypdf

·

CVE-2023-46250

·

Published

2023-10-31

·

Updated

2026-07-07

CVSS v3.1

5.1

Medium

VectorAV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions pypdf versions 3.7.0 through 3.16.4
Description The issue allows an attacker to craft a PDF that leads to an infinite loop, blocking the current process and utilizing a single core of the CPU by 100%. This does not affect memory usage and can occur when a user manipulates an incoming malicious PDF, for example, by merging it with another PDF or by adding annotations.
Recommendations For versions 3.7.0 through 3.16.4, update to version 3.17.0 to resolve the issue. As a temporary workaround for versions 3.7.0 through 3.16.4, apply the patch manually by modifying pypdf/generic/ data structures.py.

Exploit

Fix

Infinite Loop

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-46250
GHSA-WJCC-CQ79-P63F
PYSEC-2026-1834

Affected Products

Pypdf