Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-106113ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index
High 7.5
In plain English
A high-severity out-of-bounds write in ImageSharp from SixLabors. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | sixlabors.imagesharp | 3.2.0 | GHSA-j3p4-wp97-rph4 |
| NuGet | sixlabors.imagesharp | 4.1.2 | GHSA-j3p4-wp97-rph4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| SixLabors | ImageSharp | >= 2.0.0, < 4.1.2 |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-j3p4-wp97-rph4 x_refsource_CONFIRM
- https://github.com/SixLabors/ImageSharp/pull/3187 x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/commit/c4c4bf292298c026df470db1a17ff826515fd95d x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2 x_refsource_MISC