All reports
High

Use After Free in SixLabors.ImageSharp

Affected versions

Affected versions
< 2.1.7
Fixed version
2.1.7
Affected versions
>= 3.0.0, < 3.1.3
Fixed version
3.1.3

Exploitation

CVE-2024-27929

Probability of exploitation in the next 30 days: 0.35%

FIRST EPSS · 2026-11-21

Description

Impact

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.

Patches

The problem has been patched. All users are advised to upgrade to v3.1.3 or v2.1.7.

Workarounds

None

References

None

Links

Credits

  • antonfirsov
  • Luzenna