cve.bz

CVE-2016-0740

6.5 mediumEPSS 2.7%Fix available

Medium (6.5). EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 3.1.1.

On this page
Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF file.

Severity

CVSS 3.0

6.5 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
2.7% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-0740 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-0740?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-0740?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-0740 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pillowthrough 3.1.0
debian:debian_linux7.0
debian:debian_linux8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hggx-3h72-49wwPyPIpillow<3.1.13.1.1
PYSEC-2016-5PyPIpillow<3.1.13.1.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8pillow2.6.1-2+deb8u2DSA-3499-1
Debian12, 13, 14pillow3.1.1-1DEBIAN-CVE-2016-0740
Ubuntu14.04:LTSpillow2.3.0-1ubuntu3.2UBUNTU-CVE-2016-0740 USN-3090-1
SUSEEnterprise Storage 1.0python-Pillow2.7.0-7.1SUSE-SU-2016:1355-1
SUSEEnterprise Storage 2python-Pillow2.7.0-3.2SUSE-SU-2016:1569-1
SUSEEnterprise Storage 2.1, OpenStack Cloud 6python-Pillow2.7.0-3.1SUSE-SU-2016:0935-1
SUSEOpenStack Cloud 5python-Pillow2.7.0-9.1SUSE-SU-2016:0924-1
openSUSETumbleweedpython-Pillow10.3.0-1.1openSUSE-SU-2024:13827-1
openSUSETumbleweedpython-Pillow12.3.0-1.1openSUSE-SU-2026:11261-1
openSUSETumbleweedpython-Pillow3.1.1-4.1openSUSE-SU-2024:10567-1
openSUSETumbleweedpython-Pillow3.4.2-1.1openSUSE-SU-2024:10511-1
openSUSETumbleweedpython-Pillow8.3.2-1.2openSUSE-SU-2024:11209-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5python-imagingNot affected
Red Hat Enterprise Linux 6python-imagingNot affected
Red Hat Enterprise Linux 7python-pillowWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-0740.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON