Resource exhaustion in PyPDF - #VU161872
Published: November 8, 2026
Vulnerability details
The vulnerability allows an unauthenticated attacker to cause large memory consumption when pypdf loads images from a crafted PDF.
The vulnerability exists due to missing data size limits in certain image filters used by pypdf during image loading. An unauthenticated attacker can craft a PDF containing images that use these filters and trigger excessive memory allocation when an application loads those images.