Skip to content

CVE-2026-106110 ImageSharp: TIFF CCITT T4 encoder can write past its compressed 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.0.0 until 4.1.2, the TIFF CCITT Group 3 encoder allocates an undersized compressed-data buffer for narrow 1-bit images. TiffCcittCompressor.Initialize does not reserve enough space for the row data and T4 end-of-line codes, and T4BitCompressor.CompressStrip reaches unchecked writes when TiffCompression.CcittGroup3Fax is selected directly or inherited from decoded TIFF metadata. An attacker-controlled encode or decode-and-re-encode flow can write beyond the logical output span, corrupt process 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.0.0; = 2.1.0; = 2.1.1; = 2.1.2 +32 more 3.2.0, 4.1.2 Fixed
SixLabors ImageSharp = >= 2.0.0, < 4.1.2; >= 2.0.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.0.0, < 4.1.2 No fix listed
nuget SixLabors.ImageSharp(NuGet) >= 2.0.0, < 3.2.0 3.2.0
nuget SixLabors.ImageSharp(NuGet) = 2.0.0 No fix listed
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
Show 14 more
ProductAffected versionsFixed in
nuget SixLabors.ImageSharp(NuGet) = 3.1.2 No fix listed
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.0.0, < 3.2.0 3.2.0
SixLabors ImageSharp >= 4.0.0, < 4.1.2 4.1.2

References