ImageSharp Triggers an Infinite Loop in its GIF Decoder When Skipping Malformed Comment Extension Blocks
Published Jul 30, 2025
5.3
MEDIUMCVSS 3.1
EPSS 0.39%
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 products
-
- Version < 2.1.11StatusaffectedConstraints-
- Version >= 3.0.0, < 3.1.11StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| SixLabors | ImageSharp | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Jul 30, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.39% (0.00393) | 31.05th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.36% (0.00362) | 27.82th | v5 (v2026.06.15) |
| Jul 31, 2025 | 0.04% (0.00039) | 10.62th | v4 (v2025.03.14) |
References (6)
- https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6 x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/issues/2953 x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc x_refsource_CONFIRM
- https://github.com/advisories/GHSA-rxmq-m78w-7wmc Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-54575
| Link | Providers | Tags |
|---|---|---|
| https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f | x_refsource_MISC | |
| https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6 | x_refsource_MISC | |
| https://github.com/SixLabors/ImageSharp/issues/2953 | x_refsource_MISC | |
| https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc | x_refsource_CONFIRM | |
| https://github.com/advisories/GHSA-rxmq-m78w-7wmc | Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-54575 |
Change history (0)
No recorded changes yet.