Skip to main content
← All vulnerabilities
CVE-2025-54575GHSA-RXMQ-M78W-7WMC

ImageSharp Triggers an Infinite Loop in its GIF Decoder When Skipping Malformed Comment Extension Blocks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.11, 3.1.11
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • SixLabors ImageSharp

    fixed in 2.1.11; From 3.0.0 · fixed in 3.1.11

  • SixLabors.ImageSharpNuGet

    fixed in 2.1.11

  • SixLabors.ImageSharpNuGet

    From 3.0.0 · fixed in 3.1.11

References 4

GitHub · SixLabors/ImageSharp