pypdf is vulnerable to Denial of Service (DoS)
50
Medium Risk
pypdf walks the document outline (bookmark) tree in _get_outline() without bounding depth or entry count. A crafted PDF with a huge outline, deeply nested items, or reused nesting paths forces long runtimes and large memory use when code reads reader.outline. The fix caps traversal at OUTLINE_MAX_DEPTH (100) and OUTLINE_MAX_ENTRIES (100,000) and raises LimitReachedError when those limits are exceeded.
You are affected if you are using a version that falls within the vulnerable range and your application reads outlines or bookmarks from untrusted PDF files.
pypdf is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 6.16.0.
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