Vulnerability

CVE-2026-113786

lowCVSS 4.0 2.3Published 21 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /py-pdf/pypdf/commit/512d8eb94eb04be1d1c90504e6da2dcef8679e…
  • github.com /py-pdf/pypdf/pull/4222
  • github.com /py-pdf/pypdf/releases/tag/6.21.1
  • github.com /py-pdf/pypdf/security/advisories/GHSA-5hx5-vpf9-5wcv

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning