VulnPulse
CriticalAdvisoryPython

Pillow: Heap buffer overflow in ImagingJpegDecode

影響: pip:Pillow <= 12.3.0 → 13.0.0

JpegImageFile.draft() — which Image.thumbnail() calls automatically — requests 1/2, 1/4 or 1/8 scaled JPEG output and shrinks self._size and the tile extents to match, so _setimage() allocates a single-row decode buffer of ceil(W/s) samples. ImagingJpegDecode() sets cinfo.scale_num/scale_denom, calls jpeg_start_decompress(), and then reads scanlines into that buffer without ever comparing cinfo.output_width, cinfo.output_height or cinfo.out_color_components against state->xsize, state->…

Read on GitHub Advisory Database

CVECVE-2026-112403
SourceGitHub Advisory Database
Fetched10/22/2026, 01:17 AM
DataMarkdown JSON

On 10/21/2026, 05:40 AM, GitHub Advisory Database published "Pillow: Heap buffer overflow in ImagingJpegDecode" (type: Advisory). Severity is "Critical" (critical). Related technologies: Python. CVE: CVE-2026-112403.