{"id":"CVE-2026-106118","summary":"ImageSharp: Tiled fax TIFF: tile buffer sized by TileWidth but fax decompressor writes scanlines of ImageWidth — heap OOB write","details":"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.","aliases":["GHSA-v76p-62qx-wwq2"],"modified":"2026-10-07T10:31:06.784614187Z","published":"2026-10-06T17:59:02.778Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106118.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106118.json"},{"type":"FIX","url":"https://github.com/SixLabors/ImageSharp/commit/9ee7d1dd5b62d8c9f16cc755e76828386bc2191f"},{"type":"FIX","url":"https://github.com/SixLabors/ImageSharp/pull/3176"},{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.1"},{"type":"ADVISORY","url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-v76p-62qx-wwq2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106118"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sixlabors/imagesharp","events":[{"introduced":"6ec1692ee295923d9d40956befd4417d6735507b"},{"fixed":"0815358f9202a78bc7f3b83e19282dc3654b500f"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"3.0.0"},{"fixed":"4.1.1"}]}}],"versions":["v4.1.0","v4.0.0","v3.1.0","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106118.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}