CVE-2026-96778
8.8, highPython-pillow Pillow Out-of-Bounds Write Vulnerability
- CVSS
- 8.8, high high CVSS v3.1
- EPSS, next 30 days
- 0.5% higher than 42.8% of scored CVEs
- Exploitation
- No public evidence
- Published
- 21 Oct 20267 days ago
Description
Pillow is a Python imaging library. From 9.4.0 until 13.0.0, ImagingJpegEncode() in src/libImaging/JpegEncode.c can call jpeg_write_marker() for a JPEG COM comment when an ICC profile has exactly filled the 65536-byte encoder buffer. libjpeg writes one byte before checking the exhausted free_in_buffer counter, which then wraps and permits the attacker-controlled comment and subsequent compressed image data to overwrite adjacent heap memory. Re-saving an untrusted image as JPEG while preserving its ICC profile and forwarded comment can crash the process and may enable code execution in suitable runtime and heap layouts. This issue is fixed in version 13.0.0.
Details
- Vendor
- Python-pillow
- Product
- Pillow
- Weakness
- CWE-787 (opens in a new tab)
- Status
- Modified
- Updated
- 28 Oct 2026
- Assigner
- security-advisories@github.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References 4
Patches and fixes 2
Advisories 1
Other references 1
The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.
Other Python-pillow CVEs
Every Python-pillow CVE we holdSame vendor in what we hold, not a known link between the flaws.
- CVE-2026-96640 Python-pillow Pillow Uncontrolled Resource Consumption Vulnerability EPSS 0.5% 7.5, high
- CVE-2026-96644 Python-pillow Pillow Out-of-Bounds Read Vulnerability EPSS 0.4% 8.1, high
- CVE-2026-112390 Pillow is a Python imaging library EPSS 0.6% 7.5, high
- CVE-2026-112391 Pillow is a Python imaging library EPSS 0.6% 7.5, high
- CVE-2026-112393 Python-pillow Pillow Heap-based Buffer Overflow Vulnerability EPSS 1% 9.8, critical
- CVE-2026-112394 Pillow is a Python imaging library EPSS 0.6% 8.2, high
- CVE-2026-112395 Python-pillow Pillow Heap-based Buffer Overflow Vulnerability EPSS 0.5% 8.2, high
- CVE-2026-112392 Python-pillow Pillow NULL Pointer Dereference Vulnerability EPSS 0.6% 7.5, high
Beyond this page
Is CVE-2026-96778 in your network?
This page tells you how dangerous CVE-2026-96778 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.
-
EXYS7600 OCELOT
Find it before attackers do
Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2026-96778 comes with the devices to patch.
Learn more about EXYS7600 OCELOT -
EXYS7950 KONDRA
Detect it if it's exploited
Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.
Learn more about EXYS7950 KONDRA
Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 28 Oct 2026, not the live upstream state.