Skip to main content
← All vulnerabilities
CVE-2026-106115GHSA-JJFR-HCJ7-QF5W

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.1.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

ImageSharp is a 2D graphics library. From 2.1.0 until 4.1.2, the TIFF CCITT Group 4 encoder allocates Width times rowsPerStrip bytes even though T6BitCompressor.CompressStrip can emit encoded row data and two 12-bit end-of-facsimile-block codes beyond that capacity. TiffCcittCompressor.WriteCode performs unchecked writes, and a decode-and-re-encode flow can inherit TiffCompression.CcittGroup4Fax and one-bit metadata from attacker-supplied input. The resulting out-of-bounds writes can corrupt memory and terminate the process. This issue is fixed in version 4.1.2.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • SixLabors ImageSharp

    From 2.1.0 · fixed in 4.1.2

  • SixLabors.ImageSharpNuGet

    From 2.1.0 · fixed in 4.1.2

References 4

GitHub · SixLabors/ImageSharp