CyberRota Analysis
AI-GeneratedThe pypdf library, prior to version 6.15.0, is vulnerable to a denial-of-service attack where an attacker can exploit the read_until_whitespace function to create a PDF that leads to excessive processing time due to inefficient handling of long byte sequences. This vulnerability results in quadratic processing costs, potentially causing applications using this library to hang or crash. Organizations utilizing pypdf for PDF processing should prioritize upgrading to version 6.15.0 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly performs immutable bytes concatenation in a one-byte loop, causing quadratic processing cost for the long non-whitespace input. This issue is fixed in version 6.15.0.