In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade pypdf to version 6.4.0 or higher.
pypdf is an A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
Affected versions of this package are vulnerable to Improper Handling of Highly Compressed Data (Data Amplification) via the LZWDecode process. An attacker can exhaust system memory by crafting a PDF that triggers excessive memory allocation during content stream parsing. This is only exploitable if the content stream of a page uses the LZWDecode filter.
This vulnerability can be mitigated by setting pypdf.filters.LZW_MAX_OUTPUT_LENGTH = 75_000_000.