# CVE-2025-27598: Out-of-bounds Write in SixLabors ImageSharp

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-06T22:23:39.486Z
- Modified: 2026-06-17T09:03:53.257Z
- Also known as: GHSA-2cmq-823j-5qj8
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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. The problem has been patched. All users are advised to upgrade to v3.1.7 or v2.1.10.

(As written by CVE List.)

## Affected

- SixLabors ImageSharp: < 2.1.10; >= 3.0.0, < 3.1.7; before 2.1.10; from 3.0.0 before 3.1.7
- SixLabors.ImageSharp (NuGet): from 3.0.0 before 3.1.7; before 2.1.10

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/SixLabors/ImageSharp/issues/2859> (exploit, issue-tracking, web)
- <https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-2cmq-823j-5qj8> (vendor-advisory, web)
- <https://github.com/SixLabors/ImageSharp/pull/2890> (issue-tracking, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-27598> (advisory)
- <https://github.com/SixLabors/ImageSharp> (package)

## Sources

- CVE List: [CVE-2025-27598](https://www.cve.org/CVERecord?id=CVE-2025-27598), CVE Terms of Use, modified 2025-03-07
- GitHub Advisory Database: [GHSA-2cmq-823j-5qj8](https://github.com/advisories/GHSA-2cmq-823j-5qj8), CC-BY-4.0, modified 2025-03-07
- NVD: [CVE-2025-27598](https://nvd.nist.gov/vuln/detail/CVE-2025-27598), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-27598 · Whole record: https://cve.day/CVE-2025-27598.json · Rebuilt by cve.day 2026-11-25T22:58:55.035Z
