KeygraphLabs · CVE MCP

CVE-2016-2533 · mitre

CVE-2016-2533

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.

Published 2016-04-13, last changed 2026-06-17. Weakness: CWE-119.

CVSS
6.5
medium, from NVD
EPSS
4.03%
percentile 90.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: pillow 3.1.1 (PyPI). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in python-pillow/Pillow by 5bdf54b5a7, ae453aa18b, pull request #1706. Functions changed by the fix: ImagingPcdDecode. Regression tests: Tests/images/hopper.pcd, Tests/test_file_pcd.py. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2016-04-13Published
2016-04-13Package advisory PYSEC-2016-19
2018-07-24Package advisory GHSA-3c5c-7235-994j
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 4.03%
2026-12-02Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-3c5c-7235-994jpillow (PyPI)3.1.1
PYSEC-2016-19pillow (PyPI)3.1.1

Also known as: GHSA-3c5c-7235-994j, PYSEC-2016-19

Related

CVEPublishedCVSSSummary
CVE-2026-1280672026-11-138.4Pillow: Heap buffer overflow saving TIFF with libtiff when tags override image size
CVE-2026-1280662026-11-138.7Pillow: Memory DoS in TIFF and EXIF IFD parsing via overlapping tag data
CVE-2026-1129022026-11-059.1Pillow: Memory disclosure and segfault in libtiff encoder via crafted TIFF tags
CVE-2026-1128992026-11-055.3Pillow: EPS load(scale) lets Ghostscript render past the decompression bomb limit
CVE-2026-1145012026-10-215.3Pillow: Arrow export leaks stale heap memory when PILLOW_ALIGNMENT > 1
CVE-2026-967782026-10-218.8Pillow: Heap buffer overflow writing JPEG comment after ICC profile fills buffer
CVE-2026-966442026-10-218.1Pillow: Heap over-read in WMF/EMF rendering via 16-bit dimension truncation (Windows builds)
CVE-2026-966432026-10-216.5Pillow: PNG eXIf chunk makes EXIF parsing run in quadratic time

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-2533, or call /api/v1/vulnerabilities/CVE-2016-2533. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org