{"id":"CVE-2024-27929","aliases":["CVE-2024-27929","GHSA-65x7-c272-7g7r"],"related":[],"kind":"vulnerability","state":"published","title":"Use After Free in SixLabors.ImageSharp","summary":"ImageSharp is a managed, cross-platform, 2D graphics library. A heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially crafted PNG image file to ImageSharp for conversion, potentially leading to information disclosure. This issue has been patched in versions 3.1.3 and 2.1.7.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ImageSharp is a managed, cross-platform, 2D graphics library. A heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially crafted PNG image file to ImageSharp for conversion, potentially leading to information disclosure. This issue has been patched in versions 3.1.3 and 2.1.7.","source":"cvelist"},{"lang":"en","text":"### Impact\nA heap-use-after-free flaw was found in ImageSharp's InitializeImage() function of PngDecoderCore.cs file. This vulnerability is triggered when an attacker passes a specially crafted PNG image file to ImageSharp for conversion, potentially leading to information disclosure.\n\n### Patches\nThe problem has been patched. All users are advised to upgrade to v3.1.3 or v2.1.7.\n\n### Workarounds\nNone\n\n### References\nNone","format":"markdown","source":"ghsa"},{"lang":"es","text":"ImageSharp es una librería de gráficos 2D multiplataforma administrada. Se encontró una falla de heap-use-after-free en la función InitializeImage() de ImageSharp del archivo PngDecoderCore.cs. Esta vulnerabilidad se activa cuando un atacante pasa un archivo de imagen PNG especialmente manipulado a ImageSharp para su conversión, lo que podría provocar la divulgación de información. Este problema se solucionó en las versiones 3.1.3 y 2.1.7.","source":"nvd"}],"published":"2024-03-05T16:26:15.000Z","modified":"2026-09-10T03:50:10.447Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.1.3","status":"affected"},{"version":"< 2.1.7","status":"affected"}],"vendor":"SixLabors","product":"ImageSharp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.1.3"}],"ecosystem":"NuGet","package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.7"}],"ecosystem":"NuGet","package":"SixLabors.ImageSharp","purl":"pkg:nuget/SixLabors.ImageSharp","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.7"},{"status":"affected","introduced":"3.1.0","fixed":"3.1.3"}],"vendor":"sixlabors","product":"imagesharp","cpe":"cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-65x7-c272-7g7r","tags":["exploit","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27929","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SixLabors/ImageSharp/pull/2688","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/SixLabors/ImageSharp","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-06T16:16:14.955Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27929","url":"https://www.cve.org/CVERecord?id=CVE-2024-27929","licence":"CVE Terms of Use","modified":"2024-08-02T00:41:55.900Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-65x7-c272-7g7r","url":"https://github.com/advisories/GHSA-65x7-c272-7g7r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:10.447Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27929","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27929","licence":"Public domain","modified":"2026-06-17T07:20:37.030Z"}],"updatedAt":"2026-11-25T22:58:37.273Z","epss":{"score":0.00353,"percentile":0.30908,"date":"2026-12-01T12:00:22.000Z"}}