{"id":"CVE-2025-54575","state":"PUBLISHED","title":"ImageSharp Triggers an Infinite Loop in its GIF Decoder When Skipping Malformed Comment Extension Blocks","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.","publishedAt":"2025-07-30T19:55:16.248Z","updatedAt":"2025-07-30T19:59:35.532Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["SixLabors ImageSharp"],"affected":[{"vendor":"SixLabors","product":"ImageSharp","versions":[{"version":"< 2.1.11","status":"affected"},{"version":">= 3.0.0, < 3.1.11","status":"affected"}]}],"references":["https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc","https://github.com/SixLabors/ImageSharp/issues/2953","https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f","https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6"],"weaknesses":["CWE-400","CWE-770"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/54xxx/CVE-2025-54575.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-54575","state":"PUBLISHED","datePublished":"2025-07-30T19:55:16.248Z","dateUpdated":"2025-07-30T19:59:35.532Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-07-25T16:19:16.092Z"},"containers":{"cna":{"title":"ImageSharp Triggers an Infinite Loop in its GIF Decoder When Skipping Malformed Comment Extension Blocks","descriptions":[{"lang":"en","value":"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":[{"vendor":"SixLabors","product":"ImageSharp","versions":[{"version":"< 2.1.11","status":"affected"},{"version":">= 3.0.0, < 3.1.11","status":"affected"}]}],"references":[{"url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc","name":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-rxmq-m78w-7wmc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/SixLabors/ImageSharp/issues/2953","name":"https://github.com/SixLabors/ImageSharp/issues/2953","tags":["x_refsource_MISC"]},{"url":"https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f","name":"https://github.com/SixLabors/ImageSharp/commit/55e49262df9a057dff9b7807ed1b7bdb49187c3f","tags":["x_refsource_MISC"]},{"url":"https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6","name":"https://github.com/SixLabors/ImageSharp/commit/833f3ceec35af6b775950e06f03b934546cefbf6","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-770","lang":"en","description":"CWE-770: Allocation of Resources Without Limits or Throttling","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-07-30T19:55:16.248Z"},"source":{"advisory":"GHSA-rxmq-m78w-7wmc","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-30T19:59:26.928297Z","id":"CVE-2025-54575","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-30T19:59:35.532Z"}}]}}}