Skip to content

CVE-2026-106115 ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer

HighCVSS 7.5 EPSS 0.66%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
nuget SixLabors.ImageSharp(NuGet) = 2.1.0; = 2.1.1; = 2.1.2; = 2.1.3 +31 more 3.2.0, 4.1.2 Fixed
SixLabors ImageSharp = >= 2.1.0, < 4.1.2; >= 2.1.0, < 3.2.0; >= 4.0.0, < 4.1.2 3.2.0, 4.1.2 Fixed

Affected products

ProductAffected versionsFixed in
SixLabors ImageSharp = >= 2.1.0, < 4.1.2 No fix listed
nuget SixLabors.ImageSharp(NuGet) >= 2.1.0, < 3.2.0 3.2.0
nuget SixLabors.ImageSharp(NuGet) = 2.1.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.1 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.10 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.11 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.12 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.13 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.2 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.3 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.4 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.5 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.6 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.7 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.8 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 2.1.9 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.0.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.0.1 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.0.2 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.1 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.10 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.11 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.12 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.2 No fix listed
Show 13 more
ProductAffected versionsFixed in
nuget SixLabors.ImageSharp(NuGet) = 3.1.3 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.4 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.5 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.6 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.7 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.8 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 3.1.9 No fix listed
nuget SixLabors.ImageSharp(NuGet) >= 4.0.0, < 4.1.2 4.1.2
nuget SixLabors.ImageSharp(NuGet) = 4.0.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 4.1.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 4.1.1 No fix listed
SixLabors ImageSharp >= 2.1.0, < 3.2.0 3.2.0
SixLabors ImageSharp >= 4.0.0, < 4.1.2 4.1.2

References