Loading0%
SUBZER0
LIVE
Alerts

CVE-2026-106115

ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer

Archived. This CVE has left SubZer0's live 30-day window. Signals below are as of 2026-11-06; check the references for anything newer.

  • Severity: High
  • CVSS 7.5
  • EPSS 0.39%
  • Public exploit
  • P2 · This week

Why P2: this week.

Description

### Summary The TIFF CCITT Group 4 (T6) encoder writes beyond its logical compressed-data buffer when encoding a 1-bit image. A valid 1×1 Group 4 TIFF decoded and re-encoded with the default `TiffEncoder` terminates the process with an unhandled exception. ### Affected package and versions - Package: `SixLabors.ImageSharp` (NuGet) - Affected range: `>= 2.1.0, <= 4.1.1` - Commit `0815358f9202a78bc7f3b83e19282dc3654b500f` corresponds to release **v4.1.1**. The T6 compressor was introduced by commit `3c9eb470a07a15012c2a29ad84090dcc804a7975`, first released in v2.1.0, with the same `Width * rowsPerStrip` allocation and unchecked code writes. The 1×1 exploit terminates published v2.1.0 and v4.1.1; its uncompressed control succeeds. Source history shows no capacity fix through v4.1.1. ### Details [`TiffCcittCompressor.Initialize`](https://github.com/SixLabors/ImageSharp/blob/0815358f9202a78bc7f3b83e19282dc3654b500f/src/ImageSharp/Formats/Tiff/Compression/Compressors/TiffCcittCompressor.cs#L527-L532) allocates `Width * rowsPerStrip` bytes. A 1×1 strip therefore receives one byte. After encoding the row, [`T6BitCompressor.CompressStrip`](https://github.com/SixLabors/ImageSharp/blob/0815358f9202a78bc7f3b83e19282dc3654b500f/src/ImageSharp/Formats/Tiff/Compression/Compressors/T6BitCompressor.cs#L53-L131) appends two 12-bit EOFB codes. [`WriteCode`](https://github.com/SixLabors/ImageSharp/blob/0815358f9202a78bc7f3b83e19282dc3654b500f/src/ImageSharp/Formats/Tiff/Compression/Compre…

Affected products

  • nuget SixLabors.ImageSharp >= 2.1.0, < 3.2.0; first patched: 3.2.0
  • nuget SixLabors.ImageSharp >= 4.0.0, < 4.1.2; first patched: 4.1.2

References

Browse more

NuGet packagesWeek 41, 2026 recap

Published 2026-10-06 · sources: GitHub Advisory Database