CVE-2024-32035
MEDIUM 6.5CVSS 3.1SixLabors.ImageSharp vulnerable to Memory Allocation with Excessive Size Value
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.
- Published
- 15 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-770CWE-789
- Also known as
- GHSA-g85r-6x2q-45w7
- Sources
- NVDJSONOSV GHSA-g85r-6x2q-45w7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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.8 | 2.1.8 |
| NVD | sixlabors | imagesharpcpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.1.4 | 3.1.4 |
| OSV | NuGet | SixLabors.ImageSharp | < 2.1.8 | 2.1.8 |
| OSV | NuGet | SixLabors.ImageSharp | >= 3.0.0, < 3.1.4 | 3.1.4 |
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/b6b08ac3e7cea8da5ac1e90f7c0b67dd254535c3 · Patch, WEB
- https://github.com/SixLabors/ImageSharp/commit/f21d64188e59ae9464ff462056a5e29d8e618b27 · Patch, WEB
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-g85r-6x2q-45w7 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32035 · ADVISORY
- https://github.com/SixLabors/ImageSharp · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 15 Apr 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Apr 2024)