CVE-2024-41132
published medium CVSS 3.1 · 5.3SixLabors ImageSharp Allows Excessive Memory Allocation in Gif Decoder
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| SixLabors | ImageSharp | < 2.1.9 (affected)>= 3.0.0, < 3.1.5 (affected) | GitHub_M · cna |
| sixlabors | imagesharp | 0 to < 2.1.9 (affected · custom)3.0.0 to < 3.1.5 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
9- 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/commit/59de13c8cc47f2b402e2c43aa7024511d029d515
- https://github.com/SixLabors/ImageSharp/commit/9816ca45016c5d3859986f3c600e8934bc450a56
- https://github.com/SixLabors/ImageSharp/commit/b496109051cc39feee1f6cde48fca6481de17f9a
- 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/security/advisories/GHSA-qxrv-gp6x-rc23
Provider assertions
3GitHub_M · cna
SixLabors ImageSharp Allows Excessive Memory Allocation in Gif Decoder
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a5c48f16f2e1c6880bf9fa65f17d8c8fbd439a138ea18164caac4702a8add566
- Ingested
- 23 Sep 2026, 08:26:16 UTC
- Source record
- Official CVE record