CVE-2026-113786py-pdf pypdf
Low 2.3 No auth needed
Follow: this CVE · py-pdf · py-pdf pypdf We alert you by email or Slack (account required).
- Priority
- 29
- CVSS 4.0
- 2.3
- EPSS
- —
- Auth required
- No
- Published
- Oct 21, 2026
- Updated
- Oct 27, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for pypdf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pypdf |
< 6.21.1 |
6.21.1 |
pip install "pypdf>=6.21.1" |
Per OSV / GitHub Advisories (GHSA-5hx5-vpf9-5wcv). Check the version in your lockfile before upgrading.
Affected products
- py-pdf · pypdf
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-pypdf-6.21.2-1.1 on GA media · SUSE · openSUSE-SU-2026:12306-1 · Oct 27, 2026 Medium
- Security update for python-pypdf · SUSE · openSUSE-SU-2026:22188-1 · Oct 26, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.