high7.5
CVE-2026-106113
ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | SixLabors.ImageSharp | >= 2.0.0, < 3.2.0 | 3.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Sixlabors | Imagesharp | from 2.0.0 before 3.2.0 from 4.0.0 before 4.1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-j3p4-wp97-rph4
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-j3p4-wp97-rph4
- https://nvd.nist.gov/vuln/detail/CVE-2026-106113
- https://github.com/SixLabors/ImageSharp/pull/3187
- https://github.com/SixLabors/ImageSharp/commit/c4c4bf292298c026df470db1a17ff826515fd95d
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2
- https://github.com/SixLabors/ImageSharp/pull/3208
- https://github.com/SixLabors/ImageSharp/commit/baa37cd19077b2a2a0c5667535111cf31d48c019
- https://github.com/SixLabors/ImageSharp/releases/tag/v3.2.0