ImageSharp: ICC CLUT parsing allocates from unvalidated channel and grid dimensions
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| SixLabors | ImageSharp | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Sixlabors | Imagesharp |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gwg2-r3hj-4w44 | ImageSharp: ICC CLUT parsing allocates from unvalidated channel and grid dimensions |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.328% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Sixlabors
Sixlabors imagesharp |
|
| Vendors & Products |
Sixlabors
Sixlabors imagesharp |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | ImageSharp: ICC CLUT parsing allocates from unvalidated channel and grid dimensions | |
| Weaknesses | CWE-789 | |
| References |
| |
| Metrics |
cvssV3_1
|