{"id":"GHSA-65x7-c272-7g7r","summary":"Use After Free in SixLabors.ImageSharp","details":"### 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\n","aliases":["CVE-2024-27929"],"modified":"2026-09-10T03:50:10.447396758Z","published":"2024-03-05T16:26:15Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-03-05T16:26:15Z","nvd_published_at":"2024-03-05T17:15:07Z","cwe_ids":["CWE-416"]},"references":[{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-65x7-c272-7g7r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27929"},{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/pull/2688"},{"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":"3.0.0"},{"fixed":"3.1.3"}]}],"versions":["3.0.0","3.0.1","3.0.2","3.1.0","3.1.1","3.1.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-65x7-c272-7g7r/GHSA-65x7-c272-7g7r.json"}},{"package":{"name":"SixLabors.ImageSharp","ecosystem":"NuGet","purl":"pkg:nuget/SixLabors.ImageSharp"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.7"}]}],"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.2","2.1.3","2.1.4","2.1.5","2.1.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/03/GHSA-65x7-c272-7g7r/GHSA-65x7-c272-7g7r.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"}]}