1. Home
  2. Vulnerabilities
  3. CVE-2026-106117

CVE-2026-106117

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

Published 6 Oct 2026 · modified 27 Oct 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 47/100

Summary

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 and versions

Sixlabors (3 line(s))
Sixlabors
ProductVersionsFixed inSource
Imagesharp Versions not specified — CNA (vendor or assigner)
Imagesharp from 3.0.0 (included) to 3.2.0 (excluded) — NVD
Imagesharp from 4.0.0 (included) to 4.1.1 (excluded) — NVD
NuGet (2 line(s))
NuGet
ProductVersionsFixed inSource
ImageSharp from 3.0.0 (included) to 3.2.0 (excluded) 3.2.0 GitHub Advisory
ImageSharp from 4.0.0 (included) to 4.1.1 (excluded) 4.1.1 GitHub Advisory

Fix

Upgrade — NuGet/ImageSharp 3.2.0; NuGet/ImageSharp 4.1.1official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

Exploit reported by sources

These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:GitHub_M)
Weakness
CWE-787 · Corruption mémoire

How this data is obtained and calculated