Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-96778 →
Unrated

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

UBUNTU-CVE-2026-96778 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSpillow
All versions→ Not listed
Ubuntu:Pro:16.04:LTSpillow
All versions→ Not listed
Ubuntu:Pro:18.04:LTSpillow
All versions→ Not listed
Ubuntu:Pro:20.04:LTSpillow
All versions→ Not listed
Ubuntu:Pro:20.04:LTSpillow-python2
All versions→ Not listed
Ubuntu:22.04:LTSpillow
All versions→ Not listed
Ubuntu:24.04:LTSpillow
< 10.2.0-1ubuntu1.5→ 10.2.0-1ubuntu1.5
Ubuntu:26.10pillow
< 12.3.0-1ubuntu2→ 12.3.0-1ubuntu2
Ubuntu:26.04:LTSpillow
< 12.1.1-2ubuntu1.5→ 12.1.1-2ubuntu1.5
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details