# SixLabors ImageSharp has Excessive Memory Allocation in Gif Decoder

Advisory record · `GHSA-qxrv-gp6x-rc23`

- **Identifiers:** `GHSA-qxrv-gp6x-rc23` · `CVE-2024-41132`
- **State:** Confirmed
- **Severity:** CVSS 5.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-770](https://cwe.mitre.org/data/definitions/770.html) · [CWE-789](https://cwe.mitre.org/data/definitions/789.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 22 Jul 2024
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 22 Jul 2024, 17:42 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `SixLabors.ImageSharp` (NuGet): affected `<2.1.9 || >=3.0.0, <3.1.5`; fixed in `2.1.9`, `3.1.5`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> SixLabors.ImageSharp versions before 2.1.9 and from 3.0.0 before 3.1.5 are vulnerable. An attacker who can supply a specially crafted GIF file for ImageSharp to process can cause excessive memory usage in the GIF decoder. Upgrade to 2.1.9 or 3.1.5. As a workaround, call Image.Identify to check image dimensions before calling Image.Decode or Image.DecodeAsync, and enforce a limit on them.

Written 9 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.3 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0077, the 56th percentile, on 11 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 22 Jul 2024, 10:20 UTC: [Published by the maintainers as a GitHub repository advisory](https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-qxrv-gp6x-rc23)
- 31 Oct 2026, 15:21 UTC: First seen by agentprime
- 31 Oct 2026, 15:21 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-qxrv-gp6x-rc23)

## Sources

- [GitHub Advisory Database: GHSA-qxrv-gp6x-rc23](https://github.com/advisories/GHSA-qxrv-gp6x-rc23)
- [OSV: GHSA-qxrv-gp6x-rc23](https://osv.dev/vulnerability/GHSA-qxrv-gp6x-rc23)
- <https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-qxrv-gp6x-rc23>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41132>
- <https://github.com/SixLabors/ImageSharp/pull/2759>
- <https://github.com/SixLabors/ImageSharp/pull/2764>
- <https://github.com/SixLabors/ImageSharp/pull/2770>
- <https://github.com/SixLabors/ImageSharp/commit/59de13c8cc47f2b402e2c43aa7024511d029d515>
- <https://github.com/SixLabors/ImageSharp/commit/9816ca45016c5d3859986f3c600e8934bc450a56>
- <https://github.com/SixLabors/ImageSharp/commit/b496109051cc39feee1f6cde48fca6481de17f9a>
- <https://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands>
- <https://docs.sixlabors.com/articles/imagesharp/security.html>
- <https://github.com/SixLabors/ImageSharp>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-qxrv-gp6x-rc23>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-qxrv-gp6x-rc23/>. Everything for agents: <https://agentprime.io/llms.txt>.
