CVE-2016-4009: Buffer Overflow

Published Apr 13, 2016
·
Updated

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.

Other sources

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.

Affected Software

2 affected componentsFixes available
pip/pillow>=0<3.1.1
3.1.1
Python Pillow<=3.1.0

Event History

Apr 13, 2016
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 24, 2018
Advisory Published
08:15 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-4009?

CVE-2016-4009 is considered a critical vulnerability due to the potential for remote attackers to execute arbitrary code via a heap-based buffer overflow.

2

How do I fix CVE-2016-4009?

To fix CVE-2016-4009, upgrade the Pillow library to version 3.1.1 or later.

3

Which versions of Pillow are affected by CVE-2016-4009?

Pillow versions prior to 3.1.1, specifically up to and including 3.1.0, are affected by CVE-2016-4009.

4

Can CVE-2016-4009 be exploited remotely?

Yes, CVE-2016-4009 can be exploited remotely through the use of negative values for new sizes in image processing.

5

What component of Pillow is affected by CVE-2016-4009?

CVE-2016-4009 specifically affects the ImagingResampleHorizontal function in the libImaging/Resample.c file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203