Skip to content
OpenAdvisories
High · 7.5 CVE-2026-106117 EUVD-2026-93560GHSA-jj3q-cwqj-842r

ImageSharp: CCITT fax decompression (T4/Modified Huffman): unbounded WriteBits overflows strip buffer — heap OOB write in SixLabors.ImageSharp

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, decoding a strip TIFF using CCITT Group 3 or Modified Huffman compression can pass attacker-expanded runs to BitWriterUtils.WriteBits without first checking the current row width. T4TiffCompression.WritePixelRun can accumulate oversized makeup-code runs, and ModifiedHuffmanTiffCompression.Decompress validates the width only after writing. The unchecked writes can overflow the strip buffer, corrupt heap memory, and terminate the process. This strip-path vulnerability is distinct from the tiled decompressor-width mismatch. This issue is fixed in version 4.1.1.

Affected products

VendorProductAffectedFixed
SixLabors ImageSharp >= 3.0.0, < 4.1.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet ImageSharp >= 3.0.0, < 3.2.0 3.2.0 GHSA-jj3q-cwqj-842r
NuGet ImageSharp >= 4.0.0, < 4.1.1 4.1.1 GHSA-jj3q-cwqj-842r

References