CVE-2024-41132
HIGH 7.5CVSS 3.1SixLabors ImageSharp has Excessive Memory Allocation in Gif Decoder
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.
- Published
- 22 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-770CWE-789
- Also known as
- GHSA-qxrv-gp6x-rc23
- Sources
- NVDJSONOSV GHSA-qxrv-gp6x-rc23JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sixlabors | imagesharpcpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
>= 2.1.0, < 2.1.9 | 2.1.9 |
| NVD | sixlabors | imagesharpcpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.5 | 3.1.5 |
| OSV | NuGet | SixLabors.ImageSharp | < 2.1.9 | 2.1.9 |
| OSV | NuGet | SixLabors.ImageSharp | >= 3.0.0, < 3.1.5 | 3.1.5 |
References
- 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://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://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/security/advisories/GHSA-qxrv-gp6x-rc23 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-41132 · ADVISORY
- https://github.com/SixLabors/ImageSharp · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 22 Jul 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jul 2024)