CVE-2025-27598
HIGH 7.5CVSS 3.1Out-of-bounds Write in SixLabors ImageSharp
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.
- Published
- 6 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-787
- Also known as
- GHSA-2cmq-823j-5qj8
- Sources
- NVDJSONOSV GHSA-2cmq-823j-5qj8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sixlabors | imagesharpcpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
< 2.1.10 | 2.1.10 |
| NVD | sixlabors | imagesharpcpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.1.7 | 3.1.7 |
| OSV | NuGet | SixLabors.ImageSharp | >= 3.0.0, < 3.1.7 | 3.1.7 |
| OSV | NuGet | SixLabors.ImageSharp | < 2.1.10 | 2.1.10 |
References
- https://github.com/SixLabors/ImageSharp/issues/2859 · Exploit, Issue Tracking, WEB
- https://github.com/SixLabors/ImageSharp/pull/2890 · Issue Tracking, Patch, WEB
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-2cmq-823j-5qj8 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-27598 · ADVISORY
- https://github.com/SixLabors/ImageSharp · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 6 Mar 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Mar 2025)