CVE Catalog

CVE-2026-106118

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

In ImageSharp versions 3.0.0 through 4.1.1, tiled TIFF decoding allocates a destination buffer based on TileWidth while T4, T6, and Modified Huffman decompressors use the full frame width. When TileWidth is smaller than ImageWidth, frame-width fax scanlines are written into a tile-width buffer, causing out-of-bounds writes and heap corruption. The issue is fixed in version 4.1.1.

Risk Assessment

An attacker can supply a crafted TIFF file to corrupt process memory, leading to a crash or potential code execution. In environments processing untrusted TIFF images, this poses a risk of remote denial of service or service compromise.

Recommendation

Upgrade ImageSharp to version 4.1.1 or later. Until then, avoid processing untrusted TIFF files in tiled mode.

Other vulnerabilities in ImageSharp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS