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

High 7.5 Published Updated

Attacker can trigger heap out-of-bounds writes via crafted tiled TIFF files, leading to code execution or crashes in applications using ImageSharp.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-106118?

CVE-2026-106118 is a high-severity memory corruption vulnerability in SixLabors ImageSharp, published on 6 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2026-106118?

4 open source packages ship an affected version, including SixLabors.ImageSharp.

PackageAffectedFixed in
SixLabors.ImageSharp NuGetFrom 3.0.03.2.0
SixLabors.ImageSharp NuGetFrom 3.0.03.2.0
SixLabors.ImageSharp NuGetFrom 4.0.04.1.1
SixLabors.ImageSharp NuGetFrom 4.0.04.1.1

How do I fix CVE-2026-106118?

Upgrade SixLabors.ImageSharp to a fixed version for your release line: 3.2.0 or 4.1.1.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-106118 being exploited?

There is no known exploitation of CVE-2026-106118 in the wild and no public exploit code.

Sources

Also known as ECHO-9c96-4e24-b0b3, GHSA-v76p-62qx-wwq2.

Is CVE-2026-106118 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free