[ CVE-2026-106113 · Published 6 Oct 2026 ]
ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index
CVSS 7.5
EPSS <1%Fix available
[ Description ]Official description
ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, decoding an attacker-supplied 32-bit floating-point TIFF as Image<HalfVector4> and applying HistogramEqualization can produce a non-finite or out-of-range luminance in ColorNumerics.GetBT709Luminance. GrayscaleLevelsRowOperation.Invoke uses the resulting value as an unchecked histogram offset, causing an unsafe out-of-range access and process termination. Adaptive Histogram Equalization and AutoLevel are not affected by this report. This issue is fixed in version 4.1.2.
[ Fixes ]Fixes and patches
- SixLabors.ImageSharp 4.1.2Fixed version · GitHub Advisories · nuget package SixLabors.ImageSharp: upgrade to 4.1.2 or later (affected >= 2.0.0, <= 4.1.1)
[ Packages ]Affected open-source packages
- SixLabors.ImageSharp nugetAffected >= 2.0.0, <= 4.1.1 · fixed in 4.1.2 · GHSA-j3p4-wp97-rph4