CVE-2026-106114: CWE-789: Memory Allocation with Excessive Size Value in SixLabors ImageSharp
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.
CVSS v3.1
Score 5.3medium
Affected software
SixLabors
ImageSharp
pkg:nuget/SixLabors/imagesharpRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ImageSharp versions >=1.0.0-beta0001 and <4.1.2 contain a vulnerability in the ICC CLUT parsing logic. Specifically, the IccDataReader.ReadClutF32 method can request a large float array based on attacker-declared channel and grid dimensions before confirming that the profile actually contains those values. Earlier parsing paths in IccProfile.Entries can also allocate large jagged arrays from truncated profiles. In version 4, automatic image conversion triggers this parser when DecoderOptions.ColorProfileHandling is set to Convert, though the default Preserve mode avoids this path. The vulnerability results in memory pressure and input-validation failure but does not cause unhandled process termination. The issue is resolved in version 4.1.2.
Potential Impact
The vulnerability can cause excessive memory allocation leading to memory pressure and potential denial of service conditions due to input-validation failure. There is no impact on confidentiality or integrity, and no unhandled process termination has been demonstrated. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade to ImageSharp version 4.1.2 or later, where this issue is fixed. Until then, avoid using DecoderOptions.ColorProfileHandling set to Convert to prevent triggering the vulnerable parsing path. Patch status is confirmed fixed in 4.1.2.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-10-06T15:33:55.333Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6ac538122cdf04f656cddde9
Added to database: 10/06/2026, 18:04:02 UTC
Last enriched: 10/06/2026, 18:18:38 UTC
Last updated: 10/06/2026, 20:04:26 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.