{"id":"CVE-2026-106118","published":"2026-10-06T19:17:42.640","lastModified":"2026-10-06T20:17:17.703","description":"ImageSharp is a 2D graphics library. From 3.0.0 until 4.1.1, tiled TIFF decoding allocates a destination buffer using TileWidth but TiffDecompressorsFactory.Create constructs T4, T6, and Modified Huffman decompressors using the full frame width. TiffDecoderCore.DecodeTilesChunky can therefore direct frame-width fax scanlines into a tile-width buffer when TileWidth is smaller than ImageWidth. The mismatch causes attacker-controlled out-of-bounds writes, heap corruption, and process termination even with legal per-row run codes. This tiled-path vulnerability is distinct from oversized CCITT runs in strip decoding. This issue is fixed in version 4.1.1.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwes":["CWE-787"],"vendors":[],"products":[],"references":[{"url":"https://github.com/SixLabors/ImageSharp/commit/9ee7d1dd5b62d8c9f16cc755e76828386bc2191f","tags":[]},{"url":"https://github.com/SixLabors/ImageSharp/pull/3176","tags":[]},{"url":"https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.1","tags":[]},{"url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-v76p-62qx-wwq2","tags":[]}],"exploitRefs":[{"url":"https://github.com/SixLabors/ImageSharp/commit/9ee7d1dd5b62d8c9f16cc755e76828386bc2191f","tags":[]},{"url":"https://github.com/SixLabors/ImageSharp/pull/3176","tags":[]},{"url":"https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.1","tags":[]},{"url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-v76p-62qx-wwq2","tags":[]}],"hasPoc":true,"ai":{"summary":"ImageSharp library has a buffer overflow vulnerability in TIFF decoding where tiled images with smaller tile widths can cause out-of-bounds writes into heap memory, potentially leading to arbitrary code execution or process termination.","exploitability":"Exploitation is moderately difficult as it requires crafting a malicious TIFF file with specific tile dimensions that trigger the buffer overflow, but the vulnerability allows for reliable heap corruption and process termination even with valid run codes.","blast_radius":"The impact is significant across any application using ImageSharp for TIFF image processing, particularly web applications that accept user-uploaded images, potentially affecting hundreds of thousands to millions of users.","remediation":"Upgrade to version 4.1.1 or later to fix the TIFF decoding buffer overflow vulnerability.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","image-processing","heap-corruption"],"model":"garnet-coder","analyzedAt":"2026-10-15T09:05:09.696Z"}}