Skip to content
OpenAdvisories
High · 7.5 CVE-2026-106118 EUVD-2026-93770GHSA-v76p-62qx-wwq2

ImageSharp: Tiled fax TIFF: tile buffer sized by TileWidth but fax decompressor writes scanlines of ImageWidth — heap OOB write

Published Oct 6, 2026 · Updated Oct 6, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
SixLabors ImageSharp >= 3.0.0, < 4.1.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet SixLabors.ImageSharp >= 3.0.0, < 3.2.0 3.2.0 GHSA-v76p-62qx-wwq2
NuGet SixLabors.ImageSharp >= 4.0.0, < 4.1.1 4.1.1 GHSA-v76p-62qx-wwq2

References