CVE-2025-54575 Details
Description
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.
A denial-of-service vulnerability has been identified in the SixLabors ImageSharp library, specifically in the GIF decoding functionality. This issue affects versions prior to 2.1.11 and in the 3.0.0 to 3.1.10 range. The vulnerability arises when the decoder processes a specially crafted GIF file that contains a malformed comment extension block, lacking a proper block terminator. As a result, the decoder can enter an infinite loop while trying to skip the problematic block, leading to excessive resource consumption. Applications that handle untrusted GIF files are advised to upgrade to version 2.1.11 or 3.1.11, where this issue has been fixed.
Users are advised to upgrade to ImageSharp versions 2.1.11 or 3.1.11, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 30, 2025CISA-ADP
Assessed Jul 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f | [email protected] | Source CodeVendor |
| https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6 | [email protected] | Source CodeVendor |
| https://github.com/SixLabors/ImageSharp/issues/2953 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SixLabors ImageSharp | < 2.1.11 (semver) < 3.1.11 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2025 | New CVE Received | [email protected] |
Volerion