# CVE-2024-27929: Use After Free in SixLabors.ImageSharp

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-05T16:26:15.000Z
- Modified: 2026-09-10T03:50:10.447Z
- Also known as: GHSA-65x7-c272-7g7r
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- SixLabors ImageSharp: >= 3.0.0, < 3.1.3; < 2.1.7; before 2.1.7; from 3.1.0 before 3.1.3
- SixLabors.ImageSharp (NuGet): from 3.0.0 before 3.1.3; before 2.1.7

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H`

## References

- <https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-65x7-c272-7g7r> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27929> (advisory)
- <https://github.com/SixLabors/ImageSharp/pull/2688> (web)
- <https://github.com/SixLabors/ImageSharp> (package)

## Sources

- CVE List: [CVE-2024-27929](https://www.cve.org/CVERecord?id=CVE-2024-27929), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-65x7-c272-7g7r](https://github.com/advisories/GHSA-65x7-c272-7g7r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-27929](https://nvd.nist.gov/vuln/detail/CVE-2024-27929), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-27929 · Whole record: https://cve.day/CVE-2024-27929.json · Rebuilt by cve.day 2026-11-25T22:58:37.273Z
