# CVE-2026-96778: python3-pillow: Pillow is a Python imaging library

CVE-2026-96778 is fixed in 7 products on 1 platform, first by ALAS2023-2026-3411, released November 10, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-96778
- Priority: High
- CVSS: n/a (important)
- EPSS: 0.0045
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 9, 2026

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | python-pillow-debuginfo amzn 2023 | 9.4.0-2.amzn2023.0.12 | [ALAS2023-2026-3411](https://patchblox.com/security/data/fix/linux/alas2023-2026-3411.md) | Nov 10, 2026 |
| Linux | python-pillow-debugsource amzn 2023 | 9.4.0-2.amzn2023.0.12 | [ALAS2023-2026-3411](https://patchblox.com/security/data/fix/linux/alas2023-2026-3411.md) | Nov 10, 2026 |
| Linux | python3-pillow amzn 2023 | 9.4.0-2.amzn2023.0.12 | [ALAS2023-2026-3411](https://patchblox.com/security/data/fix/linux/alas2023-2026-3411.md) | Nov 10, 2026 |
| Linux | python3-pillow-debuginfo amzn 2023 | 9.4.0-2.amzn2023.0.12 | [ALAS2023-2026-3411](https://patchblox.com/security/data/fix/linux/alas2023-2026-3411.md) | Nov 10, 2026 |
| Linux | python3-pillow-devel amzn 2023 | 9.4.0-2.amzn2023.0.12 | [ALAS2023-2026-3411](https://patchblox.com/security/data/fix/linux/alas2023-2026-3411.md) | Nov 10, 2026 |
| Linux | python3-pillow-tk amzn 2023 | 9.4.0-2.amzn2023.0.12 | [ALAS2023-2026-3411](https://patchblox.com/security/data/fix/linux/alas2023-2026-3411.md) | Nov 10, 2026 |
| Linux | python3-pillow-tk-debuginfo amzn 2023 | 9.4.0-2.amzn2023.0.12 | [ALAS2023-2026-3411](https://patchblox.com/security/data/fix/linux/alas2023-2026-3411.md) | Nov 10, 2026 |

---

Data as of 2026-11-11T01:43:54Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
