CVE-2024-27929

High

Description

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.

SeverityHigh
CVSS7.1
Exploit probability—
ProductSixlabors Imagesharp
PublishedMar 5, 2024
First seenMar 5, 2024

How to fix

Update
  • sixlabors imagesharp2.1.7, 3.1.3 or later
  • SixLabors.ImageSharp3.1.3, 2.1.7 or later

Affected products

ProductAffected versionsFixed in
sixlabors imagesharpv < 2.1.7, 3.1.0 ≤ v < 3.1.32.1.7, 3.1.3
SixLabors.ImageSharpNuGet3.0.0 ≤ v < 3.1.3, v < 2.1.73.1.3, 2.1.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.