CVE-2024-32035
Memory Allocation with Excessive Size Value in SixLabors.ImageSharp
- Published
- Updated
- Reserved
- 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 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVDNVD · Analyzed | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.63% · top 50% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
- affected < 2.1.8
- affected >= 3.0.0, < 3.1.4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- NuGetSixLabors.ImageSharpGHSA-g85r-6x2q-45w7 (opens in a new tab)
References (5)
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-g85r-6x2q-45w7 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/SixLabors/ImageSharp/commit/b6b08ac3e7cea8da5ac1e90f7c0b67dd254535c3 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/SixLabors/ImageSharp/commit/f21d64188e59ae9464ff462056a5e29d8e618b27 (opens in a new tab)x_refsource_MISCx_transferred
- https://docs.sixlabors.com/articles/imagesharp.web/processingcommands.html#securing-processing-commands (opens in a new tab)x_refsource_MISCx_transferred
- https://docs.sixlabors.com/articles/imagesharp/security.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-g85r-6x2q-45w7 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-32035)Record last updated .