# CVE-2024-41132: SixLabors ImageSharp Allows Excessive Memory Allocation in Gif Decoder

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2024-07-22T14:28:25.348Z
- Modified: 2026-09-10T03:50:17.073Z
- Also known as: GHSA-qxrv-gp6x-rc23
- Weaknesses: CWE-770, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

ImageSharp is a 2D graphics API. 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. All users are advised to upgrade to v3.1.5 or v2.1.9.

(As written by CVE List.)

## Affected

- SixLabors ImageSharp: < 2.1.9; >= 3.0.0, < 3.1.5; before 2.1.9; from 3.0.0 before 3.1.5; from 2.1.0 before 2.1.9; from 3.1.0 before 3.1.5
- SixLabors.ImageSharp (NuGet): before 2.1.9; from 3.0.0 before 3.1.5

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-qxrv-gp6x-rc23> (vendor-advisory, web)
- <https://github.com/SixLabors/ImageSharp/pull/2759> (issue-tracking, web)
- <https://github.com/SixLabors/ImageSharp/pull/2764> (issue-tracking, web)
- <https://github.com/SixLabors/ImageSharp/pull/2770> (issue-tracking, web)
- <https://github.com/SixLabors/ImageSharp/commit/59de13c8cc47f2b402e2c43aa7024511d029d515> (patch, web)
- <https://github.com/SixLabors/ImageSharp/commit/9816ca45016c5d3859986f3c600e8934bc450a56> (patch, web)
- <https://github.com/SixLabors/ImageSharp/commit/b496109051cc39feee1f6cde48fca6481de17f9a> (patch, web)
- <https://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands> (product, web)
- <https://docs.sixlabors.com/articles/imagesharp/security.html> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-41132> (advisory)
- <https://github.com/SixLabors/ImageSharp> (package)

## Sources

- CVE List: [CVE-2024-41132](https://www.cve.org/CVERecord?id=CVE-2024-41132), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-qxrv-gp6x-rc23](https://github.com/advisories/GHSA-qxrv-gp6x-rc23), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-41132](https://nvd.nist.gov/vuln/detail/CVE-2024-41132), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-41132 · Whole record: https://cve.day/CVE-2024-41132.json · Rebuilt by cve.day 2026-11-25T22:58:43.148Z
