Loading advisory.
Loading advisory.
SixLabors.ImageSharp vulnerable to Memory Allocation with Excessive Size Value
A vulnerability discovered in the ImageSharp library, where the processing of specially crafted files can lead to excessive memory usage in image decoders. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw.
Published 2024-04-15 19:59 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| SixLabors.ImageSharp | NuGet | < 2.1.8 >= 3.0.0, < 3.1.4 versions 1.0.0, 1.0.0-beta0001, 1.0.0-beta0002, 1.0.0-beta0003, 1.0.0-beta0004, 1.0.0-beta0005, 1.0.0-beta0006, 1.0.0-beta0007, 1.0.0-rc0001, 1.0.0-rc0002, 1.0.0-rc0003, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 2.0.0, 2.1.0, 2.1.1, 2.1.2, 2.1.3 and 11 more | 2.1.8, 3.1.4 | dotnet add package SixLabors.ImageSharp --version 2.1.8dotnet add package SixLabors.ImageSharp --version 3.1.4 |
A vulnerability discovered in the ImageSharp library, where the processing of specially crafted files can lead to excessive memory usage in image decoders. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw.
This flaw can be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on ImageSharp for image processing tasks. Users and administrators are advised to update to the latest version of ImageSharp that addresses this vulnerability to mitigate the risk of exploitation.
The problem has been patched. All users are advised to upgrade to v3.1.4 or v2.1.8.
Before calling Image.Decode(Async), use Image.Identify to determine the image dimensions in order to enforce a limit.
ImageSharp: Security Considerations
ImageSharp.Web: Securing Processing Commands
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.006 on 2026-11-24 to 0.009 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.006 | first score | v2026.06.15 |
| 2026-11-26 | 0.009 | 0.006 | v2026.06.15 |