Advisory

GHSA-65x7-c272-7g7r

Also known as: CVE-2024-27929

Summary

Use After Free in SixLabors.ImageSharp

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-03-05 16:26 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

SixLabors.ImageSharp

NuGet · All systems

Affected

  • introduced 3.0.0, fixed 3.1.3 (ecosystem)

Fixed versions

3.1.3

Fix

The export has no generic command for this ecosystem.

SixLabors.ImageSharp

NuGet · All systems

Affected

  • introduced 0, fixed 2.1.7 (ecosystem)

Fixed versions

2.1.7

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences