CVE-2026-113786
LOW 2.3CVSS 4.0pypdf: Unvalidated JPEG image data loading
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.
- Published
- 21 Oct 2026
- Last modified
- 27 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-183CWE-20
- Also known as
- GHSA-5hx5-vpf9-5wcv
- Sources
- NVDJSONOSV GHSA-5hx5-vpf9-5wcvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | LOW 2.3 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | pypdf | < 6.21.1 | 6.21.1 |
References
- https://github.com/py-pdf/pypdf/commit/512d8eb94eb04be1d1c90504e6da2dcef8679e07 · WEB
- https://github.com/py-pdf/pypdf/pull/4222 · WEB
- https://github.com/py-pdf/pypdf/releases/tag/6.21.1 · WEB
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-5hx5-vpf9-5wcv · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-113786 · ADVISORY
- https://github.com/py-pdf/pypdf · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 21 Oct 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Oct 2026)