CVE-2026-106114: ImageSharp: ICC CLUT parsing allocates from unvalidated channel and grid dimensions

Published Oct 6, 2026
·
Updated

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 Software

1 affected component
SixLabors ImageSharp>=1.0.0-beta0001<4.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.1.2
  2. Configuration

    Set DecoderOptions.ColorProfileHandling to Preserve to avoid the automatic image-conversion path that reaches the ICC parser.

    ImageSharp DecoderOptions.ColorProfileHandling = Preserve

Event History

Oct 6, 2026
CVE Published
via MITRE·05:48 PM
Data Sourced
via MITRE·05:48 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to the automatic parsing path in version 4?

In version 4, the automatic image-conversion path reaches the vulnerable ICC parser only when DecoderOptions.ColorProfileHandling is set to Convert. The default Preserve mode avoids that conversion path.

2

What must an attacker provide to trigger the issue?

An attacker needs to supply an ICC profile with declared channel and grid dimensions that cause large allocations before the parser verifies that the profile contains the declared values. A short, truncated profile can trigger the affected allocation behavior.

3

What is the demonstrated impact?

The demonstrated impact is memory pressure and input-validation failure. The available information does not demonstrate unhandled process termination.

4

What can be done if upgrading is not immediately possible?

For version 4 automatic conversion, keep DecoderOptions.ColorProfileHandling in its default Preserve mode rather than Convert. This avoids the described automatic conversion path to the ICC parser.

5

Which versions are affected and fixed?

The issue affects ImageSharp versions from 1.0.0-beta0001 through 4.1.2. Version 4.1.2 is identified as the fixed version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203