CVE-2024-32035Sixlabors Imagesharp
Medium 6.5 No auth needed
Follow: this CVE · Sixlabors · Sixlabors Imagesharp We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 59
- Auth required
- No
- Published
- Apr 15, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Imagesharp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | SixLabors.ImageSharp |
< 2.1.8 |
2.1.8 |
dotnet add package SixLabors.ImageSharp --version 2.1.8 |
| NuGet | SixLabors.ImageSharp |
≥ 3.0.0 < 3.1.4 |
3.1.4 |
dotnet add package SixLabors.ImageSharp --version 3.1.4 |
Per OSV / GitHub Advisories (GHSA-g85r-6x2q-45w7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sixlabors | imagesharp | < 2.1.8 |
| sixlabors | imagesharp | ≥ 3.0.0 < 3.1.4 |
Official sources
References
Links published by the sources. Open them with care.
- docs.sixlabors.com Product
- docs.sixlabors.com Product
- github.com Patch
- github.com Patch
- github.com Vendor Advisory