Loading advisory.
Loading advisory.
SixLabors ImageSharp has Excessive Memory Allocation in Gif Decoder
_What kind of vulnerability is it? Who is impacted?_
Published 2024-07-22 14:28 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.9 >= 3.0.0, < 3.1.5 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 13 more | 2.1.9, 3.1.5 | dotnet add package SixLabors.ImageSharp --version 2.1.9dotnet add package SixLabors.ImageSharp --version 3.1.5 |
What kind of vulnerability is it? Who is impacted?
A vulnerability discovered in the ImageSharp library, where the processing of specially crafted files can lead to excessive memory usage in the Gif decoder. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw.
Has the problem been patched? What versions should users upgrade to?
The problem has been patched. All users are advised to upgrade to v3.1.5 or v2.1.9.
Is there a way for users to fix or remediate the vulnerability without upgrading?
Before calling Image.Decode(Async), use Image.Identify to determine the image dimensions in order to enforce a limit.
Are there any links users can visit to find out more?
https://github.com/SixLabors/ImageSharp/pull/2759
https://github.com/SixLabors/ImageSharp/pull/2764
https://github.com/SixLabors/ImageSharp/pull/2770
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.008 on 2026-11-24 to 0.015 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |
| 2026-11-26 | 0.015 | 0.008 | v2026.06.15 |