Buffer overflow in Sixlabors Imagesharp
CVE-2025-27598
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.006 (45.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 45.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.006 · change: +0.000
Affected products
- Sixlabors Imagesharp — versions < 2.1.10, >= 3.0.0, < 3.1.7
Weakness classification (CWE)
References
- github.com/SixLabors/ImageSharp/security/advisories/GHSA-2cmq-823j-5qj8 (Vendor Advisory)
- github.com/SixLabors/ImageSharp/issues/2859 (Exploit, Issue Tracking)
- github.com/SixLabors/ImageSharp/pull/2890 (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2025-27598?
- CVE-2025-27598 is a high-severity vulnerability in Sixlabors Imagesharp, classified under Out-of-bounds Write. CVSS score: 7.5/10. Published 2025-03-06.
- How severe is CVE-2025-27598?
- High severity. CVSS v3 base score is 7.5 out of 10.