Medium severity5.3OSV Advisory· Published Jul 30, 2025· Updated Apr 15, 2026
CVE-2025-54575
CVE-2025-54575
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
SixLabors.ImageSharpNuGet | < 2.1.11 | 2.1.11 |
SixLabors.ImageSharpNuGet | >= 3.0.0, < 3.1.11 | 3.1.11 |
Affected products
1- Range: v1.0.3, v2.0.0, v2.1.0, …
Patches
4cb115c2293b6f4a26847377355e49262df9a833f3ceec35aVulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- github.com/advisories/GHSA-rxmq-m78w-7wmcghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54575ghsaADVISORY
- github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3fnvdWEB
- github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6nvdWEB
- github.com/SixLabors/ImageSharp/issues/2953nvdWEB
- github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmcnvdWEB
News mentions
0No linked articles in our index yet.