Live threats

All CVEs / Sixlabors

CVE-2024-27929Sixlabors Imagesharp

High 7.1

Priority
43
CVSS 3.1
7.1
EPSS
0.4%
probability of exploitation in 30 days · percentile 22
Auth required
Yes
Published
Mar 5, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-416
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H

What happens

ImageSharp is a managed, cross-platform, 2D graphics library. A heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially crafted PNG image file to ImageSharp for conversion, potentially leading to information disclosure. This issue has been patched in versions 3.1.3 and 2.1.7.

Original NVD text.

What to do

  1. Apply the vendor's security update for Imagesharp.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet SixLabors.ImageSharp ≥ 3.0.0 < 3.1.3 3.1.3 dotnet add package SixLabors.ImageSharp --version 3.1.3
NuGet SixLabors.ImageSharp < 2.1.7 2.1.7 dotnet add package SixLabors.ImageSharp --version 2.1.7

Per OSV / GitHub Advisories (GHSA-65x7-c272-7g7r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sixlaborsimagesharp< 2.1.7
sixlaborsimagesharp≥ 3.1.0 < 3.1.3

Official sources

References

Links published by the sources. Open them with care.