CVE-2025-54575 ImageSharp Triggers an Infinite Loop in its GIF Decoder When Skipping Malformed Comment Extension Blocks
MediumCVSS 5.3
EPSS 0.82%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nuget SixLabors.ImageSharp(NuGet) | < 2.1.11; = 1.0.0; = 1.0.0-beta0001; = 1.0.0-beta0002 +39 more | 2.1.11, 3.1.11 | Fixed |
| SixLabors ImageSharp | = < 2.1.11; = >= 3.0.0, < 3.1.11 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget SixLabors.ImageSharp(NuGet) | < 2.1.11 | 2.1.11 |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0001 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0002 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0003 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0004 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0005 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0006 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-beta0007 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-rc0001 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-rc0002 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.0-rc0003 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.3 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 1.0.4 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.0.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.10 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.3 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.4 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.5 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.6 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.7 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.8 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 2.1.9 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | >= 3.0.0, < 3.1.11 | 3.1.11 |
| nuget SixLabors.ImageSharp(NuGet) | = 3.0.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.0.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.0.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.0 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.1 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.10 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.2 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.3 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.4 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.5 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.6 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.7 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.8 | No fix listed |
| nuget SixLabors.ImageSharp(NuGet) | = 3.1.9 | No fix listed |
| SixLabors ImageSharp | = < 2.1.11 | No fix listed |
| SixLabors ImageSharp | = >= 3.0.0, < 3.1.11 | No fix listed |
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/SixLabors/ImageSharp/issues/2953
- https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f patch
- https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6 patch
- github.com product
- github.com