Pillow 是一个 Python 图像处理库。在 8.1.0 至 13.0.0 版本中,Pillow 会在执行解压炸弹检测之前,先按画布完整尺寸为 APNG 的清除背景(disposal background)分配内存。攻击者可构造一个 APNG 文件,其首帧尺寸很小,但声明的画布尺寸极大,并包含背景清除操作或首帧使用 操作码。当 定位到第 0 帧时,该文件会触发 方法,进而在 内部直接分配完整画布大小的内存,而无需加载像素数据或迭代帧。此行为可能导致内存耗尽,从而引发拒绝服务(DoS)攻击。该问题已在 13.0
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| python-pillow | Pillow | >= 8.1.0, < 13.0.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-112403 | 9.2 CRITICAL | Pillow: Heap buffer overflow in ImagingJpegDecode |
| CVE-2026-112393 | 9.2 CRITICAL | Pillow: Heap buffer overflow in _tiffWriteProc when saving TIFF to BytesIO |
| CVE-2026-112398 | 9.2 CRITICAL | Pillow: Heap buffer overflow in FlashPix (FPX) JPEG decoding leads to code execution |
| CVE-2026-112900 | 9.2 CRITICAL | Pillow: Argument Injection in Ghostscript call, potentially leading into RCE |
| CVE-2026-112896 | 8.8 HIGH | Pillow: TIFF encoder ColorMap plane-size mismatch causes a heap out-of-bounds read |
| CVE-2026-112404 | 8.8 HIGH | Pillow: OOB read in TiffDecode.c tile and RGBA paths leaks heap memory into pixels |
| CVE-2026-112397 | 8.7 HIGH | Pillow: Out-of-bounds access in _imagingmorph on a zero-width image |
| CVE-2026-112402 | 8.7 HIGH | Pillow: Double free in ImagingScaleAffine on calloc failure via Image.transform |
| CVE-2026-112897 | 8.7 HIGH | Pillow: TiffDecode returns uninitialized memory as pixels for short JPEG strips |
| CVE-2026-112400 | 8.7 HIGH | Pillow: GIF seek keeps rejected size after DecompressionBombError, allowing DoS |
| CVE-2026-112894 | 8.7 HIGH | Pillow: Quadratic-time DoS in PDF save_all (PdfParser.next_object_id) |
| CVE-2026-112406 | 8.7 HIGH | Pillow: Infinite loop in PdfParser.rewrite_pages on page tree Parent cycle |
| CVE-2026-112892 | 8.7 HIGH | Pillow: MSP RLE decoder expands a tiny file into unbounded memory |
| CVE-2026-112405 | 8.7 HIGH | Pillow: NULL pointer dereference in Image.merge via an unvalidated band 0 |
| CVE-2026-112895 | 8.7 HIGH | Pillow: Unbounded recursion parsing a PDF page tree or trailer chain (incomplete fix for C |
| CVE-2026-112392 | 8.2 HIGH | Pillow: NULL dereference in ImagingExpand via rank filters on zero-size images |
| CVE-2026-112390 | 8.2 HIGH | Pillow: Infinite loop in MIC n_frames when the embedded TIFF |
| CVE-2026-112893 | 8.2 HIGH | Pillow: Invalid free in FreeType glyph rendering when a stroker is active |
| CVE-2026-112898 | 6.9 MEDIUM | Pillow: Image.quantize() with empty palette leaks uninitialized stack memory |
| CVE-2026-112901 | 6.9 MEDIUM | Pillow: ReDoS in XbmImagePlugin: 512-byte file stalls Image.open() for minutes |
Showing top 20 of 27 CVEs. View all on vendor page → →
No comments yet