7.1high
Use After Free in SixLabors.ImageSharp
- Severity
- 7.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.35% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-65x7-c272-7g7r
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| SixLabors ImageSharp | >= 3.0.0, < 3.1.3, < 2.1.7, before 2.1.7, from 3.1.0 before 3.1.3 | CVE List, NVD |
| SixLabors.ImageSharp (NuGet) | from 3.0.0 before 3.1.3, before 2.1.7 | GitHub Advisory Database |
All scores
| GitHub_M | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
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.
Patches
The problem has been patched. All users are advised to upgrade to v3.1.3 or v2.1.7.
Workarounds
None
References
None
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27929 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-65x7-c272-7g7r changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-27929 changed 2026-06-17 | Public domain |