๐Ÿ” CVE Alert

CVE-2026-113786

UNKNOWN 0.0

pypdf: Unvalidated JPEG image data loading

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-20 CWE-183
Vendor py-pdf
Product pypdf
Published Oct 21, 2026
Stay Ahead of the Next One

Get instant alerts for py-pdf pypdf

Be the first to know when new unknown vulnerabilities affecting py-pdf pypdf are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

py-pdf / pypdf
< 6.21.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/py-pdf/pypdf/security/advisories/GHSA-5hx5-vpf9-5wcv github.com: https://github.com/py-pdf/pypdf/pull/4222 github.com: https://github.com/py-pdf/pypdf/commit/512d8eb94eb04be1d1c90504e6da2dcef8679e07 github.com: https://github.com/py-pdf/pypdf/releases/tag/6.21.1