Advisory

GHSA-2cmq-823j-5qj8

Also known as: CVE-2025-27598

Summary

Out-of-bounds Write in SixLabors ImageSharp

Details

Impact
An Out-of-bounds Write vulnerability has been found in the ImageSharp gif decoder, allowing attackers to cause a crash using a specially crafted gif. This can potentially lead to denial of service.

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

Workarounds
None.

References
https://github.com/SixLabors/ImageSharp/issues/2859
https://github.com/SixLabors/ImageSharp/issues/2890

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-03-06 22:23 UTC
Modified
2025-03-07 14:20 UTC

Affected packages and fixes

SixLabors.ImageSharp

NuGet · All systems

Affected

  • introduced 3.0.0, fixed 3.1.7 (ecosystem)

Fixed versions

3.1.7

Fix

The export has no generic command for this ecosystem.

SixLabors.ImageSharp

NuGet · All systems

Affected

  • introduced 0, fixed 2.1.10 (ecosystem)

Fixed versions

2.1.10

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