CVE-2024-27929
HIGH 7.1CVSS 3.1Use After Free in SixLabors.ImageSharp
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.
- Published
- 5 Mar 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-416
- Also known as
- GHSA-65x7-c272-7g7r
- Sources
- NVDJSONOSV GHSA-65x7-c272-7g7rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sixlabors | imagesharpcpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
< 2.1.7 | 2.1.7 |
| NVD | sixlabors | imagesharpcpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.3 | 3.1.3 |
| OSV | NuGet | SixLabors.ImageSharp | >= 3.0.0, < 3.1.3 | 3.1.3 |
| OSV | NuGet | SixLabors.ImageSharp | < 2.1.7 | 2.1.7 |
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
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 5 Mar 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Mar 2024)