CVE-2024-27929 json
Use After Free in SixLabors.ImageSharp
published 2024-03-05 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0840 , GHSA-65x7-c272-7g7r
- cvss
- 7.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
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.
Patch / fix
- nuget SixLabors.ImageSharp 2.1.7, 3.1.3
- sixlabors imagesharp 2.1.7, 3.1.3
- github.com/SixLabors/ImageSharp#2688 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-65x7-c272-7g7r referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | SixLabors.ImageSharp | >=3.0.0, <3.1.3 <2.1.7 |
3.1.3 2.1.7 |
Affected products
- SixLabors ImageSharp
Classification
- Weakness
-
- CWE-416 Use After Free
References
-
github.com
/SixLabors/ImageSharp/pull/2688
web
-
github.com
/SixLabors/ImageSharp/security/advisories/GHSA-65x7-c272-7g7r
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-27929
advisory
-
github.com
/SixLabors/ImageSharp
package
Sources
- CVE List CVE-2024-27929
- GitHub Advisory GHSA-65x7-c272-7g7r
- NVD CVE-2024-27929
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.