# CVE-2024-32035: Memory Allocation with Excessive Size Value in SixLabors.ImageSharp

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-02)
- Published: 2024-04-15T19:59:59.530Z
- Modified: 2026-09-10T03:50:11.374Z
- Also known as: GHSA-g85r-6x2q-45w7
- Weaknesses: CWE-770, CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- SixLabors ImageSharp: < 2.1.8; >= 3.0.0, < 3.1.4; from 3.0.0 up to 3.1.4; before 2.1.8; from 3.0.0 before 3.1.4
- SixLabors.ImageSharp (NuGet): before 2.1.8; from 3.0.0 before 3.1.4

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-g85r-6x2q-45w7> (vendor-advisory, web)
- <https://github.com/SixLabors/ImageSharp/commit/b6b08ac3e7cea8da5ac1e90f7c0b67dd254535c3> (patch, web)
- <https://github.com/SixLabors/ImageSharp/commit/f21d64188e59ae9464ff462056a5e29d8e618b27> (patch, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2024-32035> (advisory)
- <https://github.com/SixLabors/ImageSharp> (package)

## Sources

- CVE List: [CVE-2024-32035](https://www.cve.org/CVERecord?id=CVE-2024-32035), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-g85r-6x2q-45w7](https://github.com/advisories/GHSA-g85r-6x2q-45w7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-32035](https://nvd.nist.gov/vuln/detail/CVE-2024-32035), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32035 · Whole record: https://cve.day/CVE-2024-32035.json · Rebuilt by cve.day 2026-11-25T22:58:39.226Z
