Low severityNVD Advisory· Published Oct 21, 2026· Updated Oct 27, 2026
CVE-2026-113786
CVE-2026-113786
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.21.1 | 6.21.1 |
Affected products
3- osv-coords2 versionspkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Tumbleweed
< 6.19.0-bp160.2.1+ 1 more
- (no CPE)range: < 6.19.0-bp160.2.1
- (no CPE)range: < 6.21.2-1.1
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-5hx5-vpf9-5wcvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-113786ghsaADVISORY
- github.com/py-pdf/pypdf/commit/512d8eb94eb04be1d1c90504e6da2dcef8679e07nvdWEB
- github.com/py-pdf/pypdf/pull/4222nvdWEB
- github.com/py-pdf/pypdf/releases/tag/6.21.1nvdWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-5hx5-vpf9-5wcvnvdWEB
News mentions
1- PyPDF & fpdf2: Batch of 13 DoS Vulnerabilities Disclosed TogetherVypr Intelligence · Oct 23, 2026