CVE-2024-27929: Sixlabors Imagesharp

High severity, CVSS 7.1. EPSS: 0.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Sixlabors Imagesharp: before 2.1.7 (fixed in 2.1.7); from 3.1.0, before 3.1.3 (fixed in 3.1.3)

Published 2024-03-05. Last modified 2026-06-17.