Intel

AIKIDO-2026-302378

SixLabors.ImageSharp is vulnerable to Out-of-Bounds Write

Out-of-Bounds WriteGHSA-ffp7-56pq-64mr Published Sep 18, 2026

55

Medium Risk

This Affects:

DOTNETSixLabors.ImageSharp
4.0.0 - 4.1.1
Fixed in 4.1.2
Are you affected? Scan for Free

TL;DR

When ICC conversion is enabled, ImageSharp's LUT16 calculators store intermediate color values in a four-float Vector4. The ICC parser still accepts up to 15 CLUT output channels, so a malformed embedded LUT16 A2B0 profile that declares more than four output channels makes ClutCalculator.Calculate and LutEntryCalculator.CalculateLut write past that Vector4. Decoding such an image with DecoderOptions.ColorProfileHandling set to Convert corrupts memory and can terminate the process. The default Preserve handling does not run this conversion. The fix rejects ICC conversion profiles with more than four input or output channels before they reach the calculators.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you decode images that embed an ICC color profile with DecoderOptions.ColorProfileHandling set to Convert.

Background info

SixLabors.ImageSharp is vulnerable to Out-of-Bounds Write in versions 4.0.0 - 4.1.1.

How to fix this

Upgrade the SixLabors.ImageSharp library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform