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

CVE-2016-2533: Pillow buffer overflow in ImagingPcdDecode

July 24, 2018 (updated October 8, 2024)

Buffer overflow in the ImagingPcdDecode function in PcdDecode.c in Pillow before 3.1.1 and Python Imaging Library (PIL) 1.1.7 and earlier allows remote attackers to cause a denial of service (crash) via a crafted PhotoCD file.

References

  • github.com/advisories/GHSA-3c5c-7235-994j
  • github.com/pypa/advisory-database/tree/main/vulns/pillow/PYSEC-2016-19.yaml
  • github.com/python-pillow/Pillow
  • github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst
  • github.com/python-pillow/Pillow/blob/c3cb690fed5d4bf0c45576759de55d054916c165/CHANGES.rst?plain=1
  • github.com/python-pillow/Pillow/commit/5bdf54b5a76b54fb00bd05f2d733e0a4173eefc9
  • github.com/python-pillow/Pillow/commit/ae453aa18b66af54e7ff716f4ccb33adca60afd4
  • github.com/python-pillow/Pillow/pull/1706
  • nvd.nist.gov/vuln/detail/CVE-2016-2533
  • security.gentoo.org/glsa/201612-52

Code Behaviors & Features

Detect and mitigate CVE-2016-2533 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:N/A:H

Learn more about CVSS

Weakness

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

Source file

pypi/Pillow/CVE-2016-2533.yml

Spotted a mistake? Edit the file on GitLab.

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

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