Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-106115

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-106115

ImageSharp

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "SixLabors",
    "product": "ImageSharp",
    "versions": [
      {
        "status": "affected",
        "version": ">= 2.1.0, < 4.1.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-106115

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#16127 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement