Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-106114ImageSharp: ICC CLUT parsing allocates from unvalidated channel and grid dimensions
Medium 5.3
In plain English
A medium-severity security flaw in ImageSharp from SixLabors. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
ImageSharp is a 2D graphics library. From 1.0.0-beta0001 until 4.1.2, ICC CLUT parsing calculates allocation sizes from attacker-declared channel and grid dimensions before confirming that the profile contains the declared values. IccDataReader.ReadClutF32 can request a large float array, and earlier public IccProfile.Entries parsing paths can allocate a large jagged representation, from a short truncated profile. In version 4, automatic image conversion reaches the parser when DecoderOptions.ColorProfileHandling is Convert; the default Preserve mode avoids that conversion path. The demonstrated impact is memory pressure and input-validation failure, not unhandled process termination. This issue is fixed in version 4.1.2.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | sixlabors.imagesharp | 4.1.2 | GHSA-gwg2-r3hj-4w44 |
| NuGet | sixlabors.imagesharp | 3.2.0 | GHSA-gwg2-r3hj-4w44 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| SixLabors | ImageSharp | >= 1.0.0-beta0001, < 4.1.2 |
Weakness: CWE-789 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-gwg2-r3hj-4w44 x_refsource_CONFIRM
- https://github.com/SixLabors/ImageSharp/pull/3187 x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/commit/8de892a7623aa8a09ba2333b624c8d2eb98325df x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2 x_refsource_MISC