published 21 Oct 2026 · updated 27 Oct 2026
pypdf: Unvalidated JPEG image data loading
2.3LowCVSS 2.3EPSS 0%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.1, an attacker can craft a PDF containing image data labeled with the /DCTDecode filter that causes Pillow to select and invoke an unintended image parser when the image is loaded. Environments without the optional Pillow dependency are not affected. This issue is fixed in version 6.21.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| py-pdf | <6.21.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket