Use-after-free in ImageSharp - CVE-2024-27929

 

Use-after-free in ImageSharp - CVE-2024-27929

Published: March 5, 2024 / Updated: August 21, 2026


Vulnerability identifier: #VU144571
CSH Severity: High
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-27929
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information and cause a denial of service.

The vulnerability exists due to use-after-free in the ImageSharp image processing component when parsing a crafted image file. A remote attacker can trick the victim into opening a crafted file to disclose sensitive information and cause a denial of service.

User interaction is required to open a crafted file.


Affected software

ImageSharp

How to mitigate CVE-2024-27929

Install security update from vendor's website.

ImageSharp - addressed in versions 2.1.7, 3.1.3

External References

Related Security Bulletins