Skip to content
OpenAdvisories
High · 7.5 CVE-2026-106113 EUVD-2026-93554GHSA-j3p4-wp97-rph4

ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index

Published Oct 6, 2026 · Updated Oct 7, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
SixLabors ImageSharp >= 2.0.0, < 4.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet SixLabors.ImageSharp >= 2.0.0, < 3.2.0 3.2.0 GHSA-j3p4-wp97-rph4
NuGet SixLabors.ImageSharp >= 4.0.0, < 4.1.2 4.1.2 GHSA-j3p4-wp97-rph4

References