Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2016-4009

35
FAUCET Score

CVE-2016-4009 is an integer overflow vulnerability in the Pillow library (versions prior to 3.1.1) that affects Python applications. Specifically, the ImagingResampleHorizontal function can be exploited by providing negative values for image resizing, leading to a heap-based buffer overflow. This vulnerability carries a critical CVSS score of 9.8, indicating it is easily exploitable over the network with no user interaction, potentially leading to complete compromise of confidentiality, integrity, and availability. While there is no known active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has garnered significant community discussion, with 10 mentions across various platforms.

Impacted Technologies

VendorProductVersion(s)CPE
<= 3.1.0CPE matchmatch criteria
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.0

9.8CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9
CvssVersion
3.0

Exploit Intelligence

EPSS Score
7.87%
Probability of exploitation in next 30 days
EPSS Percentile
94.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0787 is in the 89th percentile among its peer group of 36,862 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: pillowFixed in: 3.1.1

Vendor Advisories (2)

pipGHSA-hvr8-466p-75rhcritical

Pillow Integer overflow in ImagingResampleHorizontal

Jul 24, 2018
redhatCVE-2016-4009Moderate

python-pillow: integer overflow in the ImagingResampleHorizontal function

Apr 14, 2016

References

github.com / python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
PatchVendor Advisory
github.com / python-pillow/Pillow/commit/4e0d9b0b9740d258ade40cce248c93777362ac1e
Patch
github.com / python-pillow/Pillow/pull/1714
Patch
security.gentoo.org / glsa/201612-52
securityfocus.com / bid/86064