CVE-2016-4009

critical
Published 2016-04-13 ยท Modified 2023-11-08
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
9.8

Description

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.

Predictions

Exploit likelihood
97%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 3.1.1-1
sid Fixed 3.1.1-1
forky Fixed 3.1.1-1
bullseye Fixed 3.1.1-1
bookworm Fixed 3.1.1-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIpillow<3.1.13.1.1
python PyPIpillow<4e0d9b0b9740d258ade40cce248c93777362ac1e||<3.1.14e0d9b0b9740d258ade40cce248c93777362ac1e

Application impact

VendorProductVersionsFixed
python pythonpillow{"endIncluding":"3.1.0"}

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.