{"id":"GHSA-rxmq-m78w-7wmc","summary":"SixLabors ImageSharp Has Infinite Loop in GIF Decoder When Skipping Malformed Comment Extension Blocks","details":"### Impact\nA 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.\n\n### Patches\nThe problem has been patched. All users are advised to upgrade to v3.1.11 or v2.1.11.\n\n### Workarounds\nNone.","aliases":["CVE-2025-54575"],"modified":"2025-07-31T11:34:24.295122Z","published":"2025-07-30T13:23:01Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2025-07-30T13:23:01Z","nvd_published_at":"2025-07-30T20:15:37Z","cwe_ids":["CWE-400","CWE-770"]},"references":[{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54575"},{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/issues/2953"},{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f"},{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6"},{"type":"PACKAGE","url":"https://github.com/SixLabors/ImageSharp"}],"affected":[{"package":{"name":"SixLabors.ImageSharp","ecosystem":"NuGet","purl":"pkg:nuget/SixLabors.ImageSharp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.11"}]}],"versions":["1.0.0","1.0.0-beta0001","1.0.0-beta0002","1.0.0-beta0003","1.0.0-beta0004","1.0.0-beta0005","1.0.0-beta0006","1.0.0-beta0007","1.0.0-rc0001","1.0.0-rc0002","1.0.0-rc0003","1.0.1","1.0.2","1.0.3","1.0.4","2.0.0","2.1.0","2.1.1","2.1.10","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-rxmq-m78w-7wmc/GHSA-rxmq-m78w-7wmc.json"}},{"package":{"name":"SixLabors.ImageSharp","ecosystem":"NuGet","purl":"pkg:nuget/SixLabors.ImageSharp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.0"},{"fixed":"3.1.11"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.1.0","3.1.1","3.1.10","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8","3.1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/07/GHSA-rxmq-m78w-7wmc/GHSA-rxmq-m78w-7wmc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}