CVE Catalog

CVE-2026-106114

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Summary

In ImageSharp from 1.0.0-beta0001 to 4.1.2, ICC CLUT parsing calculates allocation sizes from attacker-declared dimensions before confirming the profile contains the declared values. IccDataReader.ReadClutF32 can request a large float array, and earlier parsing paths can allocate large jagged representations from a short truncated profile. In version 4, automatic conversion reaches the parser when ColorProfileHandling is Convert; default Preserve avoids that path. Fixed in 4.1.2.

Risk Assessment

An attacker can cause excessive memory usage or input-validation failure, potentially leading to application crashes or resource exhaustion.

Recommendation

Update ImageSharp to version 4.1.2 or later and consider using the default Preserve mode for color profile handling.

Other vulnerabilities in ImageSharp

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS