CVE-2026-59204
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.7
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
- Record
CVE-2026-59204- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-789
- Updated
- 2026-11-02
EUVDEUVD-2026-43730
8.7
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
- Record
EUVD-2026-43730- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-vjc4-5qp5-m44j
8.7
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Summary
src/libImaging/Jpeg2KDecode.c:853 accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile. That accumulated value is then used in the tile_bytes calculation at src/libImaging/Jpeg2KDecode.c:868, which can make the decoder grow state->buffer via realloc at src/libImaging/Jpeg2KDecode.c:876 up to roughly one full image's decompressed size even when each tile is small. A crafted tiled JPEG2000 file can therefore force substantially higher transient memory usage and trigger out-of-memory failures during decoding. Based on current evidence, the supported impact is denial of service, not memory corruption.
Details
- Location:
src/libImaging/Jpeg2KDecode.c:853 - Root cause:
total_component_widthis initialized only once before the tile loop and keeps growing across tiles. It is then used to derivetile_bytes, so later tiles are treated as if they had the combined component width of all earlier tiles. - Dangerous operation:
tile_bytesis promoted intotile_info.data_size, thenstate->bufferis grown withreallocatsrc/libImaging/Jpeg2KDecode.c:876. - Reachability: any attacker-controlled JPEG2000 image with many tiles reaches this path during normal
Image.open(...).load()decoding.
PoC
The attached helper script and testcase were used: exercise_j2k_tile_realloc.zip
Generate the testcase:
pythonexercise_j2k_tile_realloc.py make poc_3664_rgba_tile1832.jp2 \
--size 3664 --tile 1832
Expected geometry from the helper:
- image size:
3664 x 3664 - mode:
RGBA - tile size:
1832 x 1832(2x2tiles) image_bytes=53699584- uncapped RSS observed:
- vulnerable build:
maxrss_kb=180264 - fixed comparison build:
maxrss_kb=138404
- vulnerable build:
Load it with the current vulnerable build:
python exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2
Load it again under a 160 MB address-space cap:
python exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2 --limit-mb 160
Impact
Conservative impact: denial of service through memory exhaustion during JPEG2000 decoding.
- Record
GHSA-vjc4-5qp5-m44j- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-770, CWE-789
- Updated
- 2026-11-02
NVD
8.7
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
- Record
CVE-2026-59204- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-789, CWE-770
- Updated
- 2026-11-02
OSV
8.7
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
- Record
CVE-2026-59204- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-789
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2026-59204
7.5
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
- Record
DEBIAN-CVE-2026-59204- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 24 moreShow less
OSVGHSA-vjc4-5qp5-m44j
8.7
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Summary
src/libImaging/Jpeg2KDecode.c:853 accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile. That accumulated value is then used in the tile_bytes calculation at src/libImaging/Jpeg2KDecode.c:868, which can make the decoder grow state->buffer via realloc at src/libImaging/Jpeg2KDecode.c:876 up to roughly one full image's decompressed size even when each tile is small. A crafted tiled JPEG2000 file can therefore force substantially higher transient memory usage and trigger out-of-memory failures during decoding. Based on current evidence, the supported impact is denial of service, not memory corruption.
Details
- Location:
src/libImaging/Jpeg2KDecode.c:853 - Root cause:
total_component_widthis initialized only once before the tile loop and keeps growing across tiles. It is then used to derivetile_bytes, so later tiles are treated as if they had the combined component width of all earlier tiles. - Dangerous operation:
tile_bytesis promoted intotile_info.data_size, thenstate->bufferis grown withreallocatsrc/libImaging/Jpeg2KDecode.c:876. - Reachability: any attacker-controlled JPEG2000 image with many tiles reaches this path during normal
Image.open(...).load()decoding.
PoC
The attached helper script and testcase were used: exercise_j2k_tile_realloc.zip
Generate the testcase:
pythonexercise_j2k_tile_realloc.py make poc_3664_rgba_tile1832.jp2 \
--size 3664 --tile 1832
Expected geometry from the helper:
- image size:
3664 x 3664 - mode:
RGBA - tile size:
1832 x 1832(2x2tiles) image_bytes=53699584- uncapped RSS observed:
- vulnerable build:
maxrss_kb=180264 - fixed comparison build:
maxrss_kb=138404
- vulnerable build:
Load it with the current vulnerable build:
python exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2
Load it again under a 160 MB address-space cap:
python exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2 --limit-mb 160
Impact
Conservative impact: denial of service through memory exhaustion during JPEG2000 decoding.
- Record
GHSA-vjc4-5qp5-m44j- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Weakness
- CWE-770, CWE-789
- Updated
- 2026-11-02
OSVOESA-2026-3137
8.2
python-pillow security update
Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging \ Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift. of CVE-2022-22815,CVE-2022-22816)
Security Fix(es):
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-54059)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.(CVE-2026-54060)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-55379)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.(CVE-2026-55380)
Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0.(CVE-2026-59197)
Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.(CVE-2026-59200)
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.(CVE-2026-59204)
- Record
OESA-2026-3137- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVOESA-2026-3138
8.2
python-pillow security update
Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging \ Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift. of CVE-2022-22815,CVE-2022-22816)
Security Fix(es):
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-54059)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.(CVE-2026-54060)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-55379)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.(CVE-2026-55380)
Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0.(CVE-2026-59197)
Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.(CVE-2026-59200)
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.(CVE-2026-59204)
- Record
OESA-2026-3138- CVSS 3.1
- 8.2 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H - Updated
- 2026-11-02
OSVOESA-2026-3139
7.5
python-pillow security update
Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging \ Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift. of CVE-2022-22815,CVE-2022-22816)
Security Fix(es):
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-54059)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.(CVE-2026-54060)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-55379)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.(CVE-2026-55380)
Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.(CVE-2026-59200)
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.(CVE-2026-59204)
- Record
OESA-2026-3139- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2026-3140
7.5
python-pillow security update
Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging \ Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift. of CVE-2022-22815,CVE-2022-22816)
Security Fix(es):
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-54059)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.(CVE-2026-54060)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-55379)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.(CVE-2026-55380)
Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.(CVE-2026-59200)
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.(CVE-2026-59204)
- Record
OESA-2026-3140- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVOESA-2026-3141
7.5
python-pillow security update
Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging \ Library by Fredrik Lundh and Contributors. As of 2019, Pillow development is supported by Tidelift. of CVE-2022-22815,CVE-2022-22816)
Security Fix(es):
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-54059)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.(CVE-2026-54060)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. This issue is fixed in version 12.3.0.(CVE-2026-55379)
Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.(CVE-2026-55380)
Pillow is a Python imaging library. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0.(CVE-2026-59198)
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.(CVE-2026-59204)
- Record
OESA-2026-3141- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVPYSEC-2026-3496
8.7
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Summary
src/libImaging/Jpeg2KDecode.c:853 accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile. That accumulated value is then used in the tile_bytes calculation at src/libImaging/Jpeg2KDecode.c:868, which can make the decoder grow state->buffer via realloc at src/libImaging/Jpeg2KDecode.c:876 up to roughly one full image's decompressed size even when each tile is small. A crafted tiled JPEG2000 file can therefore force substantially higher transient memory usage and trigger out-of-memory failures during decoding. Based on current evidence, the supported impact is denial of service, not memory corruption.
Details
- Location:
src/libImaging/Jpeg2KDecode.c:853 - Root cause:
total_component_widthis initialized only once before the tile loop and keeps growing across tiles. It is then used to derivetile_bytes, so later tiles are treated as if they had the combined component width of all earlier tiles. - Dangerous operation:
tile_bytesis promoted intotile_info.data_size, thenstate->bufferis grown withreallocatsrc/libImaging/Jpeg2KDecode.c:876. - Reachability: any attacker-controlled JPEG2000 image with many tiles reaches this path during normal
Image.open(...).load()decoding.
PoC
The attached helper script and testcase were used: exercise_j2k_tile_realloc.zip
Generate the testcase:
pythonexercise_j2k_tile_realloc.py make poc_3664_rgba_tile1832.jp2 \
--size 3664 --tile 1832
Expected geometry from the helper:
- image size:
3664 x 3664 - mode:
RGBA - tile size:
1832 x 1832(2x2tiles) image_bytes=53699584- uncapped RSS observed:
- vulnerable build:
maxrss_kb=180264 - fixed comparison build:
maxrss_kb=138404
- vulnerable build:
Load it with the current vulnerable build:
python exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2
Load it again under a 160 MB address-space cap:
python exercise_j2k_tile_realloc.py load poc_3664_rgba_tile1832.jp2 --limit-mb 160
Impact
Conservative impact: denial of service through memory exhaustion during JPEG2000 decoding.
- Record
PYSEC-2026-3496- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2026-59204
8.7
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
- Record
UBUNTU-CVE-2026-59204- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-05
OSVBIT-pillow-2026-59204 No score
Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
- Record
BIT-pillow-2026-59204- Updated
- 2026-11-02
OSVCLSA-2026-1786468070 No score
TuxCare security update for pillow (5 CVEs)
TuxCare rebuilt pillow to address 5 CVEs. Fixed in 11.2.1.post3+tuxcare.
- Record
CLSA-2026-1786468070- Updated
- 2026-11-02
OSVCLSA-2026-1790674233 No score
TuxCare security update for pillow (14 CVEs)
TuxCare rebuilt pillow to address 14 CVEs. Fixed in 11.3.0.post5+tuxcare.
- Record
CLSA-2026-1790674233- Updated
- 2026-11-02
OSVCLSA-2026-1790685259 No score
TuxCare security update for pillow (4 CVEs)
TuxCare rebuilt pillow to address 4 CVEs. Fixed in 10.4.0.post10+tuxcare.
- Record
CLSA-2026-1790685259- Updated
- 2026-11-02
OSVCLSA-2026-1790747347 No score
TuxCare security update for pillow (4 CVEs)
TuxCare rebuilt pillow to address 4 CVEs. Fixed in 9.5.0.post8+tuxcare.
- Record
CLSA-2026-1790747347- Updated
- 2026-11-02
OSVCLSA-2026-1790751826 No score
TuxCare security update for pillow (4 CVEs)
TuxCare rebuilt pillow to address 4 CVEs. Fixed in 9.4.0.post9+tuxcare.
- Record
CLSA-2026-1790751826- Updated
- 2026-11-02
OSVCLSA-2026-1790754735 No score
TuxCare security update for pillow (8 CVEs)
TuxCare rebuilt pillow to address 8 CVEs. Fixed in 8.4.0.post8+tuxcare.
- Record
CLSA-2026-1790754735- Updated
- 2026-11-02
OSVMGASA-2026-0463 No score
Updated python-pillow packages fix security vulnerabilities
Prevent decompression bomb when parsing PDF WindowsViewer.get_command injection EPS image infinite loop JPEG2000 image memory usage McIdas out-of-bounds (OOB) read Out-of-bounds (OOB) read when saving 1 mode TGA images Out-of-bounds (OOB) write from large RankFilter sizes Out-of-bounds (OOB) write from Image.paste() Out-of-bounds (OOB) write in ImageCmsTransform Prevent FontFile decompression bomb Prevent GD decompression bomb
- Record
MGASA-2026-0463- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:11283-1 No score
python313-Pillow-12.3.0-2.1 on GA media
These are all security issues fixed in the python313-Pillow-12.3.0-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:11283-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:21544-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues
- CVE-2026-54058: out-of-bounds read via attacker-controlled row stride on
mmappath (bsc#1271419). - CVE-2026-59197: heap out-of-bounds write in
ImageFilter.RankFiltervia integer overflow inImagingExpand(bsc#1271418). - CVE-2026-59198: out-of-bounds heap data copied into file generated by TGA RLE encoder (bsc#1271420).
- CVE-2026-59199: heap out-of-bounds write in
Image.paste()andImage.crop()via signed coordinate overflow (bsc#1271421). - CVE-2026-59200: decompression bomb DoS via
PdfParser.PdfStream.decode()(bsc#1271422). - CVE-2026-59204: denial of service through memory exhaustion via JPEG2000 tiled decoder (bsc#1271424).
- CVE-2026-59205: controlled heap out-of-bounds write in
ImageCmsTransform.apply()via output mode mismatch (bsc#1271425).
- Record
openSUSE-SU-2026:21544-1- Updated
- 2026-11-02
OSVROOT-APP-PYPI-CVE-2026-59204 No score
CVE-2026-59204 in pillow - Patched by Root
Root has patched CVE-2026-59204 in the pillow package for Root:PyPI. Multiple fixed versions available.
- Record
ROOT-APP-PYPI-CVE-2026-59204- Updated
- 2026-11-06
OSVSUSE-SU-2026:23217-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues
- CVE-2026-54058: out-of-bounds read via attacker-controlled row stride on
mmappath (bsc#1271419). - CVE-2026-59197: heap out-of-bounds write in
ImageFilter.RankFiltervia integer overflow inImagingExpand(bsc#1271418). - CVE-2026-59198: out-of-bounds heap data copied into file generated by TGA RLE encoder (bsc#1271420).
- CVE-2026-59199: heap out-of-bounds write in
Image.paste()andImage.crop()via signed coordinate overflow (bsc#1271421). - CVE-2026-59200: decompression bomb DoS via
PdfParser.PdfStream.decode()(bsc#1271422). - CVE-2026-59204: denial of service through memory exhaustion via JPEG2000 tiled decoder (bsc#1271424).
- CVE-2026-59205: controlled heap out-of-bounds write in
ImageCmsTransform.apply()via output mode mismatch (bsc#1271425).
- Record
SUSE-SU-2026:23217-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:23228-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues
- CVE-2026-54058: out-of-bounds read via attacker-controlled row stride on
mmappath (bsc#1271419). - CVE-2026-59197: heap out-of-bounds write in
ImageFilter.RankFiltervia integer overflow inImagingExpand(bsc#1271418). - CVE-2026-59198: out-of-bounds heap data copied into file generated by TGA RLE encoder (bsc#1271420).
- CVE-2026-59199: heap out-of-bounds write in
Image.paste()andImage.crop()via signed coordinate overflow (bsc#1271421). - CVE-2026-59200: decompression bomb DoS via
PdfParser.PdfStream.decode()(bsc#1271422). - CVE-2026-59204: denial of service through memory exhaustion via JPEG2000 tiled decoder (bsc#1271424).
- CVE-2026-59205: controlled heap out-of-bounds write in
ImageCmsTransform.apply()via output mode mismatch (bsc#1271425).
- Record
SUSE-SU-2026:23228-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:3084-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues
- CVE-2026-54058: out-of-bounds read via attacker-controlled row stride on
mmappath (bsc#1271419). - CVE-2026-59197: heap out-of-bounds write in
ImageFilter.RankFiltervia integer overflow inImagingExpand(bsc#1271418). - CVE-2026-59198: out-of-bounds heap data copied into file generated by TGA RLE encoder (bsc#1271420).
- CVE-2026-59199: heap out-of-bounds write in
Image.paste()andImage.crop()via signed coordinate overflow (bsc#1271421). - CVE-2026-59200: decompression bomb DoS via
PdfParser.PdfStream.decode()(bsc#1271422). - CVE-2026-59204: denial of service through memory exhaustion via JPEG2000 tiled decoder (bsc#1271424).
- CVE-2026-59205: controlled heap out-of-bounds write in
ImageCmsTransform.apply()via output mode mismatch
- Record
SUSE-SU-2026:3084-1- Updated
- 2026-11-02
OSVSUSE-SU-2026:3268-1 No score
Security update for python-Pillow
This update for python-Pillow fixes the following issues:
- CVE-2026-54058: out-of-bounds read via attacker-controlled row stride on
mmappath (bsc#1271419). - CVE-2026-54059: bomb protection bypass via PCF font loading due to
Image.frombytes()being called without_decompression_bomb_check()(bsc#1270409). - CVE-2026-54060: excessive allocation due to
FontFile.compile():Image.new()being called without_decompression_bomb_check()(bsc#1270410). - CVE-2026-55379: bomb protection bypass via font loading due to
Image.new()being called without_decompression_bomb_check()(bsc#1270411). - CVE-2026-55380: unchecked 4.3 GB C-heap allocation due to image dimensions being accepted without
_decompression_bomb_check()inGdImageFile._open()(bsc#1270412). - CVE-2026-59197: heap out-of-bounds write in
ImageFilter.RankFiltervia integer overflow inImagingExpand(bsc#1271418). - CVE-2026-59198: out-of-bounds heap data copied into file generated by TGA RLE encoder (bsc#1271420).
- CVE-2026-59199: heap out-of-bounds write in
Image.paste()andImage.crop()via signed coordinate overflow (bsc#1271421). - CVE-2026-59200: decompression bomb DoS via
PdfParser.PdfStream.decode()(bsc#1271422). - CVE-2026-59204: denial of service through memory exhaustion via JPEG2000 tiled decoder (bsc#1271424).
- CVE-2026-59205: controlled heap out-of-bounds write in
ImageCmsTransform.apply()via output mode mismatch (bsc#1271425).
- Record
SUSE-SU-2026:3268-1- Updated
- 2026-11-02
OSVUSN-8999-1 No score
pillow vulnerabilities
It was discovered that Pillow incorrectly handled map stride values when loading certain McIdas AREA images. An attacker could possibly use this issue to obtain sensitive information or cause a denial of service. (CVE-2026-54058)
It was discovered that Pillow did not properly check for decompression bombs when processing font files. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-54059, CVE-2026-54060, CVE-2026-55379)
It was discovered that Pillow did not properly check for decompression bombs when loading GD image files. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-55380)
It was discovered that Pillow incorrectly validated filter sizes in the rank filter implementation. An attacker could possibly use this issue to cause Pillow to crash or execute arbitrary code. (CVE-2026-59197)
It was discovered that Pillow incorrectly handled image coordinate calculations. An attacker could possibly use this issue to cause Pillow to crash. (CVE-2026-59199)
It was discovered that Pillow did not properly limit the size of decompressed PDF stream data. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-59200)
It was discovered that Pillow incorrectly parsed EPS files containing a negative byte count in the BeginBinary directive. An attacker could possibly use this issue to cause Pillow to hang, resulting in a denial of service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-59203)
It was discovered that Pillow incorrectly accumulated JPEG2000 tile component widths. An attacker could possibly use this issue to cause Pillow to consume excessive memory, resulting in a denial of service. (CVE-2026-59204)
It was discovered that Pillow incorrectly validated image mode compatibility in color management transforms. An attacker could possibly use this issue to cause Pillow to crash or execute arbitrary code. (CVE-2026-59205)
- Record
USN-8999-1- Updated
- 2026-11-05
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pillowPyPI |
8.2.0 up to 12.3.0 | 12.3.0 |
pillowBitnami |
8.2.0 up to 12.3.0 | 12.3.0 |
pillowTuxCare:PyPI From an advisory covering 5 CVEs |
11.2.1 up to 11.2.1.post3+tuxcare, plus listed versions 11.2.1.post1+tuxcare11.2.1.post2+tuxcare |
11.2.1.post3+tuxcare |
pillowTuxCare:PyPI From an advisory covering 14 CVEs |
11.3.0 up to 11.3.0.post5+tuxcare, plus listed versions 11.3.0.post1+tuxcare11.3.0.post2+tuxcare11.3.0.post3+tuxcare11.3.0.post4+tuxcare |
11.3.0.post5+tuxcare |
pillowTuxCare:PyPI From an advisory covering 4 CVEs |
10.4.0 up to 10.4.0.post10+tuxcare, plus listed versions 10.4.0.post1+tuxcare10.4.0.post2+tuxcare10.4.0.post3+tuxcare10.4.0.post4+tuxcare10.4.0.post5+tuxcare Show 4 moreShow less10.4.0.post6+tuxcare10.4.0.post7+tuxcare10.4.0.post8+tuxcare10.4.0.post9+tuxcare |
10.4.0.post10+tuxcare |
pillowTuxCare:PyPI From an advisory covering 4 CVEs |
9.5.0 up to 9.5.0.post8+tuxcare, plus listed versions 9.5.0.post1+tuxcare9.5.0.post2+tuxcare9.5.0.post3+tuxcare9.5.0.post4+tuxcare9.5.0.post5+tuxcare9.5.0.post6+tuxcare9.5.0.post7+tuxcare |
9.5.0.post8+tuxcare |
pillowTuxCare:PyPI From an advisory covering 4 CVEs |
9.4.0 up to 9.4.0.post9+tuxcare, plus listed versions 9.4.0.post1+tuxcare9.4.0.post2+tuxcare9.4.0.post3+tuxcare9.4.0.post4+tuxcare9.4.0.post5+tuxcare9.4.0.post6+tuxcare9.4.0.post7+tuxcare9.4.0.post8+tuxcare |
9.4.0.post9+tuxcare |
pillowTuxCare:PyPI From an advisory covering 8 CVEs |
8.4.0 up to 8.4.0.post8+tuxcare, plus listed versions 8.4.0.post1+tuxcare8.4.0.post2+tuxcare8.4.0.post3+tuxcare8.4.0.post4+tuxcare8.4.0.post5+tuxcare8.4.0.post6+tuxcare8.4.0.post7+tuxcare |
8.4.0.post8+tuxcare |
pillowDebian:12 |
All versions, plus listed versions 10.0.0-110.1.0-110.2.0-110.3.0-110.3.0-2 Show 19 moreShow less10.4.0-110.4.0-1.111.1.0-111.1.0-211.1.0-311.1.0-411.1.0-511.2.1-111.3.0-112.0.0-112.1.0-112.1.1-112.1.1-212.2.0-112.3.0-113.0.0-19.4.0-1.19.4.0-1.1+deb12u19.5.0-1 |
None known |
pillowDebian:13 |
All versions, plus listed versions 11.1.0-511.1.0-5+deb13u111.1.0-5+deb13u211.1.0-5+deb13u311.1.0-5+deb13u4 Show 9 moreShow less11.2.1-111.3.0-112.0.0-112.1.0-112.1.1-112.1.1-212.2.0-112.3.0-113.0.0-1 |
None known |
Show 36 moreShow less
| Package | Affected | Fixed |
|---|---|---|
pillowDebian:14 |
before 12.3.0-1, plus listed versions 11.1.0-511.2.1-111.3.0-112.0.0-112.1.0-112.1.1-112.1.1-212.2.0-1 |
12.3.0-1 |
pillowPyPI |
8.2.0 up to 12.3.0, plus listed versions 10.0.010.0.110.1.010.2.010.3.0 Show 21 moreShow less10.4.011.0.011.1.011.2.111.3.012.0.012.1.012.1.112.2.08.3.08.3.18.3.28.4.09.0.09.0.19.1.09.1.19.2.09.3.09.4.09.5.0 |
12.3.0 |
python-pillowMageia:10 From an advisory covering 11 CVEs |
before 12.3.0-1.mga10 | 12.3.0-1.mga10 |
python-pillowopenEuler:20.03-LTS-SP4 From an advisory covering 7 CVEs |
before 9.0.1-12.oe2003sp4 | 9.0.1-12.oe2003sp4 |
python-pillowopenEuler:22.03-LTS-SP4 From an advisory covering 7 CVEs |
before 9.0.1-12.oe2203sp4 | 9.0.1-12.oe2203sp4 |
python-pillowopenEuler:24.03-LTS-SP1 From an advisory covering 6 CVEs |
before 10.3.0-8.oe2403sp1 | 10.3.0-8.oe2403sp1 |
python-pillowopenEuler:24.03-LTS-SP3 From an advisory covering 6 CVEs |
before 10.3.0-8.oe2403sp3 | 10.3.0-8.oe2403sp3 |
python-pillowopenEuler:24.03-LTS-SP4 From an advisory covering 6 CVEs |
before 10.3.0-8.oe2403sp4 | 10.3.0-8.oe2403sp4 |
pillowRoot:PyPI |
before 12.2.0+aikido.1 | 12.2.0+aikido.112.2.0+aikido.211.2.1+aikido.312.2.0+aikido.310.4.0+aikido.911.2.1+aikido.49.5.0+aikido.89.5.0+aikido.912.1.0+aikido.1112.2.0+aikido.49.5.0+aikido.1011.1.0+aikido.1010.4.0+aikido.1010.3.0+aikido.1211.2.1+aikido.59.3.0+aikido.129.5.0+aikido.1112.2.0+aikido.59.3.0+aikido.1310.4.0+aikido.1112.1.0+aikido.1211.2.1+aikido.611.1.0+aikido.1110.3.0+aikido.1311.0.0+aikido.1011.2.1+aikido.79.3.0+aikido.1411.1.0+aikido.129.5.0+aikido.1212.2.0+aikido.610.4.0+aikido.129.3.0+aikido.1511.1.0+aikido.1312.1.0+aikido.1310.3.0+aikido.1411.0.0+aikido.119.3.0+aikido.1610.3.0+aikido.1510.4.0+aikido.139.3.0+aikido.179.5.0+aikido.1311.2.1+aikido.811.0.0+aikido.1211.1.0+aikido.1412.1.0+aikido.1412.2.0+aikido.710.3.0+aikido.1610.4.0+aikido.1411.1.0+aikido.1511.2.1+aikido.910.2.0+aikido.112.2.0+aikido.89.0.1+aikido.110.4.0+aikido.1512.1.0+aikido.159.0.1+aikido.210.3.0+aikido.1711.0.0+aikido.139.5.0+aikido.1410.4.0+aikido.1610.0.0+aikido.110.3.0+aikido.1810.2.0+aikido.210.3.0+aikido.1910.4.0+aikido.1710.3.0+aikido.208.2.0+aikido.19.4.0+aikido.19.0.0+aikido.19.0.0+aikido.211.0.0+aikido.1412.2.0+aikido.99.5.0+aikido.159.5.0+aikido.169.5.0+aikido.179.5.0+aikido.189.5.0+aikido.1910.4.0+aikido.18 |
python-PillowSUSE:Linux Enterprise Server 16.0 From an advisory covering 7 CVEs |
before 11.3.0-160000.8.1 | 11.3.0-160000.8.1 |
python-PillowSUSE:Linux Enterprise Server for SAP applications 16.0 From an advisory covering 7 CVEs |
before 11.3.0-160000.8.1 | 11.3.0-160000.8.1 |
python-PillowSUSE:Linux Enterprise Module for Package Hub 15 SP7 From an advisory covering 7 CVEs |
before 7.2.0-150300.3.30.1 | 7.2.0-150300.3.30.1 |
python-PillowSUSE:Linux Enterprise Module for Python 3 15 SP7 From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise Server 15 SP4-LTSS From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise Server 15 SP5-LTSS From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise Server 15 SP6-LTSS From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise Server for SAP Applications 15 SP4 From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise Server for SAP Applications 15 SP5 From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
python-PillowSUSE:Linux Enterprise Server for SAP Applications 15 SP6 From an advisory covering 11 CVEs |
before 9.5.0-150400.5.25.1 | 9.5.0-150400.5.25.1 |
pillowUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 2.2.1-1ubuntu22.2.1-2ubuntu12.2.1-3ubuntu22.2.1-3ubuntu32.2.1-3ubuntu4 Show 12 moreShow less2.2.1-3ubuntu62.3.0-1ubuntu12.3.0-1ubuntu22.3.0-1ubuntu32.3.0-1ubuntu3.22.3.0-1ubuntu3.32.3.0-1ubuntu3.42.3.0-1ubuntu3.4+esm12.3.0-1ubuntu3.4+esm22.3.0-1ubuntu3.4+esm32.3.0-1ubuntu3.4+esm42.3.0-1ubuntu3.4+esm5 |
None known |
pillowUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.9.0-13.0.0-13.0.0-1build13.1.0-13.1.1-1 Show 9 moreShow less3.1.2-0ubuntu13.1.2-0ubuntu1.13.1.2-0ubuntu1.33.1.2-0ubuntu1.43.1.2-0ubuntu1.53.1.2-0ubuntu1.63.1.2-0ubuntu1.6+esm13.1.2-0ubuntu1.6+esm23.1.2-0ubuntu1.6+esm3 |
None known |
pillowUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 4.1.1-3build24.3.0-2ubuntu15.0.0-15.1.0-15.1.0-1ubuntu0.2 Show 8 moreShow less5.1.0-1ubuntu0.35.1.0-1ubuntu0.45.1.0-1ubuntu0.55.1.0-1ubuntu0.65.1.0-1ubuntu0.75.1.0-1ubuntu0.85.1.0-1ubuntu0.8+esm15.1.0-1ubuntu0.8+esm2 |
None known |
pillowUbuntu:Pro:20.04:LTS |
All versions, plus listed versions 6.1.0-16.1.0-1build16.2.1-27.0.0-47.0.0-4build1 Show 10 moreShow less7.0.0-4ubuntu0.17.0.0-4ubuntu0.27.0.0-4ubuntu0.37.0.0-4ubuntu0.47.0.0-4ubuntu0.57.0.0-4ubuntu0.67.0.0-4ubuntu0.77.0.0-4ubuntu0.87.0.0-4ubuntu0.97.0.0-4ubuntu0.9+esm1 |
None known |
pillow-python2Ubuntu:Pro:20.04:LTS |
All versions, plus listed versions 6.2.1-3~build16.2.1-36.2.1-3ubuntu0.1~esm16.2.1-3ubuntu0.1~esm2 |
None known |
pillowUbuntu:22.04:LTS |
before 9.0.1-1ubuntu0.6, plus listed versions 8.1.2+dfsg-0.39.0.0-19.0.1-19.0.1-1build19.0.1-1ubuntu0.1 Show 4 moreShow less9.0.1-1ubuntu0.29.0.1-1ubuntu0.39.0.1-1ubuntu0.49.0.1-1ubuntu0.5 |
9.0.1-1ubuntu0.6 |
pillowUbuntu:24.04:LTS |
before 10.2.0-1ubuntu1.4, plus listed versions 10.0.0-110.1.0-110.2.0-110.2.0-1build110.2.0-1ubuntu110.2.0-1ubuntu1.210.2.0-1ubuntu1.3 |
10.2.0-1ubuntu1.4 |
pillowUbuntu:26.04:LTS |
before 12.1.1-2ubuntu1.4, plus listed versions 11.3.0-1ubuntu111.3.0-1ubuntu212.0.0-1ubuntu112.1.1-1ubuntu112.1.1-2ubuntu112.1.1-2ubuntu1.112.1.1-2ubuntu1.212.1.1-2ubuntu1.3 |
12.1.1-2ubuntu1.4 |
pillowUbuntu:22.04:LTS From an advisory covering 11 CVEs |
before 9.0.1-1ubuntu0.6, plus listed versions 8.1.2+dfsg-0.39.0.0-19.0.1-19.0.1-1build19.0.1-1ubuntu0.1 Show 4 moreShow less9.0.1-1ubuntu0.29.0.1-1ubuntu0.39.0.1-1ubuntu0.49.0.1-1ubuntu0.5 |
9.0.1-1ubuntu0.6 |
pillowUbuntu:24.04:LTS From an advisory covering 11 CVEs |
before 10.2.0-1ubuntu1.4, plus listed versions 10.0.0-110.1.0-110.2.0-110.2.0-1build110.2.0-1ubuntu110.2.0-1ubuntu1.210.2.0-1ubuntu1.3 |
10.2.0-1ubuntu1.4 |
pillowUbuntu:26.04:LTS From an advisory covering 11 CVEs |
before 12.1.1-2ubuntu1.4, plus listed versions 11.3.0-1ubuntu111.3.0-1ubuntu212.0.0-1ubuntu112.1.1-1ubuntu112.1.1-2ubuntu112.1.1-2ubuntu1.112.1.1-2ubuntu1.212.1.1-2ubuntu1.3 |
12.1.1-2ubuntu1.4 |
python-PillowopenSUSE:Tumbleweed From an advisory covering 6 CVEs |
before 12.3.0-2.1 | 12.3.0-2.1 |
python-PillowopenSUSE:Leap 16.0 From an advisory covering 7 CVEs |
before 11.3.0-160000.8.1 | 11.3.0-160000.8.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| affected | ||
| affected, aliases, references | OSV | |
| affected | OSV | |
| affected | OSV | |
| affected, facts | OSV | |
| affected | OSV | |
| affected | OSV | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-59204 is a high vulnerability (CVSS 8.7) in Python Pillow, published July 14, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 32nd percentile. Fixed in pillow 12.3.0.
References
github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j
github.com/python-pillow/Pillow/pull/9704
github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca
github.com/python-pillow/Pillow/releases/tag/12.3.0
nvd.nist.gov/vuln/detail/CVE-2026-59204
github.com/advisories/GHSA-vjc4-5qp5-m44j
Show 58 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59204.json
security-tracker.debian.org/tracker/CVE-2026-59204
github.com/python-pillow/Pillow
advisories.mageia.org/MGASA-2026-0463.html
bugs.mageia.org/show_bug.cgi?id=35909
github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3137
nvd.nist.gov/vuln/detail/CVE-2026-54059
nvd.nist.gov/vuln/detail/CVE-2026-54060
nvd.nist.gov/vuln/detail/CVE-2026-55379
nvd.nist.gov/vuln/detail/CVE-2026-55380
nvd.nist.gov/vuln/detail/CVE-2026-59197
nvd.nist.gov/vuln/detail/CVE-2026-59200
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3138
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3139
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3140
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2026-3141
nvd.nist.gov/vuln/detail/CVE-2026-59198
pypi.org/project/pillow
suse.com/support/update/announcement/2026/suse-su-202623217-1
bugzilla.suse.com/1271418
bugzilla.suse.com/1271419
bugzilla.suse.com/1271420
bugzilla.suse.com/1271421
bugzilla.suse.com/1271422
bugzilla.suse.com/1271424
bugzilla.suse.com/1271425
suse.com/security/cve/CVE-2026-54058
suse.com/security/cve/CVE-2026-59197
suse.com/security/cve/CVE-2026-59198
suse.com/security/cve/CVE-2026-59199
suse.com/security/cve/CVE-2026-59200
suse.com/security/cve/CVE-2026-59204
suse.com/security/cve/CVE-2026-59205
suse.com/support/update/announcement/2026/suse-su-202623228-1
suse.com/support/update/announcement/2026/suse-su-20263084-1
suse.com/support/update/announcement/2026/suse-su-20263268-1
bugzilla.suse.com/1270409
bugzilla.suse.com/1270410
bugzilla.suse.com/1270411
bugzilla.suse.com/1270412
suse.com/security/cve/CVE-2026-54059
suse.com/security/cve/CVE-2026-54060
suse.com/security/cve/CVE-2026-55379
suse.com/security/cve/CVE-2026-55380
ubuntu.com/security/CVE-2026-59204
cve.org/CVERecord?id=CVE-2026-59204
ubuntu.com/security/notices/USN-8999-1
ubuntu.com/security/CVE-2026-54058
ubuntu.com/security/CVE-2026-54059
ubuntu.com/security/CVE-2026-54060
ubuntu.com/security/CVE-2026-55379
ubuntu.com/security/CVE-2026-55380
ubuntu.com/security/CVE-2026-59197
ubuntu.com/security/CVE-2026-59199
ubuntu.com/security/CVE-2026-59200
ubuntu.com/security/CVE-2026-59203
ubuntu.com/security/CVE-2026-59205