Live threats

All CVEs / Sixlabors

CVE-2024-32035Sixlabors Imagesharp

Medium 6.5 No auth needed

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
Weakness (CWE)
CWE-789, CWE-770
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagesharp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
sixlaborsimagesharp< 2.1.8
sixlaborsimagesharp≥ 3.0.0 < 3.1.4

Official sources

References

Links published by the sources. Open them with care.