pypdf is vulnerable to Denial of Service (DoS)
48
Medium Risk
pypdf parses CID font width information when loading fonts, for example during text extraction. A crafted PDF can declare font width entries with unusually large range and count values. Parsing these values allocates and iterates over oversized structures, causing long runtimes and large memory consumption. The fix limits the accepted CID width range and width count when loading fonts.
You are affected if you are using a version that falls within the vulnerable range and you extract text from PDF documents whose embedded fonts can carry untrusted CID width data.
pypdf is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 6.14.2.
Upgrade the pypdf library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant