CVE Catalog

CVE-2026-113786

LowCVSS 2.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.38%

31th percentile - higher than 31% of all known CVEs

Summary

In pypdf before 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 is fixed in version 6.21.1.

Risk Assessment

Processing a malicious PDF may trigger an unintended image parser in Pillow, potentially leading to further attacks or unexpected application behavior.

Recommendation

Update pypdf to version 6.21.1. If Pillow is not required, consider removing that optional dependency.

Other vulnerabilities in pypdf

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS