Skip to content

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

HighCVSS 7.5 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
nuget SixLabors.ImageSharp(NuGet) = 3.0.0; = 3.0.1; = 3.0.2; = 3.1.0 +16 more 3.2.0, 4.1.1 Fixed
SixLabors ImageSharp = >= 3.0.0, < 4.1.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
SixLabors ImageSharp = >= 3.0.0, < 4.1.1 No fix listed
nuget SixLabors.ImageSharp(NuGet) >= 3.0.0, < 3.2.0 3.2.0
nuget SixLabors.ImageSharp(NuGet) = 3.0.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.0.1 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.0.2 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.1 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.10 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.11 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.12 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.2 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.3 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.4 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.5 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.6 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.7 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.8 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.9 No fix listed
nuget SixLabors.ImageSharp(NuGet) >= 4.0.0, < 4.1.1 4.1.1
nuget SixLabors.ImageSharp(NuGet) = 4.0.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 4.1.0 No fix listed

References