Skip to content

CVE-2026-106112 ImageSharp: ICC LUT16 output channel count can write beyond Vector4

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

Description

ImageSharp is a 2D graphics library. From 4.0.0 until 4.1.2, ICC LUT16 conversion accepts more than four output channels even though ClutCalculator.Calculate and LutEntryCalculator.CalculateLut store intermediate and output values in Vector4. When DecoderOptions.ColorProfileHandling is set to Convert, a malformed embedded profile can direct interpolation and output-LUT operations to write one float per declared channel beyond the four-float destination. This can corrupt memory and terminate the process; the default Preserve mode does not run ICC conversion. This issue is fixed in version 4.1.2.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
nuget SixLabors.ImageSharp(NuGet) = 4.0.0; = 4.1.0; = 4.1.1; >= 4.0.0, < 4.1.2 +1 more 4.1.2 Fixed
SixLabors ImageSharp = >= 4.0.0, < 4.1.2; >= 4.0.0, < 4.1.2 4.1.2 Fixed

Affected products

ProductAffected versionsFixed in
SixLabors ImageSharp = >= 4.0.0, < 4.1.2 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
nuget SixLabors.ImageSharp(NuGet) >= 4.0.0, <= 4.1.1 No fix listed
SixLabors ImageSharp >= 4.0.0, < 4.1.2 4.1.2

References