
CVE catalog
CVE-2016-4009
pillow: CVE-2016-4009
- Severity
- Critical · CVSS 9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 7.87% · Oct 27, 2026
Integer overflow in the ImagingResampleHorizontal function in libImaging/Resample.c in Pillow before 3.1.1 allows remote attackers to have unspecified impact via negative values of the new size, which triggers a heap-based buffer overflow.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pillow | sid | 13.0.0-1 | fixed |
| Debian | pillow | forky | 12.3.0-1 | fixed |
| Debian | pillow | trixie | 11.1.0-5+deb13u4 | fixed |
| Debian | pillow | trixie-security | 11.1.0-5+deb13u3 | fixed |
| Debian | pillow | bookworm | 9.4.0-1.1+deb12u1 | fixed |
| Debian | pillow | bookworm-security | 9.4.0-1.1+deb12u1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pillow | source | sid | 3.1.1-1 | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | forky | 3.1.1-1 | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | trixie | 3.1.1-1 | not yet assigned | Not reported | Not reported |
| Debian | pillow | source | bookworm | 3.1.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-pil]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
- [python3-pil.imagetk]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· amd64 · bookwormFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookwormFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
- [python-pil-doc]Unknown
Source package: [pillow]
Details (4)
9.4.0-1.1+deb12u1· all · bookwormFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookwormFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
9.4.0-1.1+deb12u1· all · bookworm-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · bookworm; dsa · pillow · debian · 12
[Debian 13 (Trixie)]
- [python3-pil]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
- [python3-pil.imagetk]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· amd64 · trixieFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u4· arm64 · trixieFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u3· amd64 · trixie-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u3· arm64 · trixie-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
- [python-pil-doc]Unknown
Source package: [pillow]
Details (4)
11.1.0-5+deb13u4· all · trixieFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u4· all · trixieFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
11.1.0-5+deb13u3· all · trixie-securityFixed · Fixed:
3.1.1-1dsa · pillow · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2019_2334-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2016-4009]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2016-4009]
- [https://security-tracker.debian.org/tracker/CVE-2016-4009]
- [https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-4009.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]