CVE Catalog

CVE-2026-106113

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Summary

In ImageSharp versions 2.0.0 through 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. The issue is fixed in version 4.1.2.

Risk Assessment

An attacker can supply a crafted TIFF file to crash the process. In environments processing untrusted TIFF images, this poses a risk of remote denial of service.

Recommendation

Upgrade ImageSharp to version 4.1.2 or later. Until then, avoid applying HistogramEqualization to untrusted float TIFF files.

Other vulnerabilities in ImageSharp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS