CVE-2025-27598Sixlabors Imagesharp
High 7.5 No auth needed
Follow: this CVE · Sixlabors · Sixlabors Imagesharp We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 6, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- 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:H
What happens
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
- 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 |
≥ 3.0.0 < 3.1.7 |
3.1.7 |
dotnet add package SixLabors.ImageSharp --version 3.1.7 |
| NuGet | SixLabors.ImageSharp |
< 2.1.10 |
2.1.10 |
dotnet add package SixLabors.ImageSharp --version 2.1.10 |
Per OSV / GitHub Advisories (GHSA-2cmq-823j-5qj8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sixlabors | imagesharp | < 2.1.10 |
| sixlabors | imagesharp | ≥ 3.0.0 < 3.1.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking
- github.com Issue Tracking Patch
- github.com Vendor Advisory