CVE-2024-32035
published medium CVSS 3.1 · 5.3Memory Allocation with Excessive Size Value in SixLabors.ImageSharp
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 image decoders. The vulnerability is triggered when ImageSharp attempts to process image files that are designed to exploit this flaw. This flaw can be exploited to cause a denial of service (DoS) by depleting process memory, thereby affecting applications and services that rely on ImageSharp for image processing tasks. Users and administrators are advised to update to the latest version of ImageSharp that addresses this vulnerability to mitigate the risk of exploitation. The problem has been patched in v3.1.4 and v2.1.8.
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.8 (affected)>= 3.0.0, < 3.1.4 (affected) | GitHub_M · cna |
| sixlabors | imagesharp | 3.0.0 through 3.1.4 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-789 CWE-789: Memory Allocation with Excessive Size Value
References
5- 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/b6b08ac3e7cea8da5ac1e90f7c0b67dd254535c3
- https://github.com/SixLabors/ImageSharp/commit/f21d64188e59ae9464ff462056a5e29d8e618b27
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-g85r-6x2q-45w7
Provider assertions
3GitHub_M · cna
Memory Allocation with Excessive Size Value in SixLabors.ImageSharp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cd03c12342f8bf6f3166d785800c57feee625bcb17e0f1af8a71d96353a4670a
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record