Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Pillow
  4. ›
  5. CVE-2016-0740

CVE-2016-0740: Pillow Buffer overflow in ImagingLibTiffDecode

July 24, 2018 (updated October 9, 2024)

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.

References

  • github.com/advisories/GHSA-hggx-3h72-49ww
  • github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-5.yaml
  • github.com/python-pillow/Pillow
  • github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
  • github.com/python-pillow/Pillow/commit/6dcbf5bd96b717c58d7b642949da8d323099928e
  • nvd.nist.gov/vuln/detail/CVE-2016-0740
  • security.gentoo.org/glsa/201612-52

Code Behaviors & Features

Detect and mitigate CVE-2016-0740 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.1.1

Fixed versions

  • 3.1.1

Solution

Upgrade to version 3.1.1 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

pypi/Pillow/CVE-2016-0740.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:22 +0000.