CVE-2025-54575SixLabors ImageSharp
Medium 5.3 No auth needed
Follow: this CVE · SixLabors · SixLabors ImageSharp We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Jul 30, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
ImageSharp is a 2D graphics library. In versions below 2.1.11 and 3.0.0 through 3.1.10, a specially crafted GIF file containing a malformed comment extension block (with a missing block terminator) can cause the ImageSharp GIF decoder to enter an infinite loop while attempting to skip the block. This leads to a denial of service. Applications processing untrusted GIF input should upgrade to a patched version. This issue is fixed in versions 2.1.11 and 3.1.11.
What to do
- Apply the vendor's security update for ImageSharp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | SixLabors.ImageSharp |
< 2.1.11 |
2.1.11 |
dotnet add package SixLabors.ImageSharp --version 2.1.11 |
| NuGet | SixLabors.ImageSharp |
≥ 3.0.0 < 3.1.11 |
3.1.11 |
dotnet add package SixLabors.ImageSharp --version 3.1.11 |
Per OSV / GitHub Advisories (GHSA-rxmq-m78w-7wmc). Check the version in your lockfile before upgrading.
Affected products
- SixLabors · ImageSharp
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.