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

Published Mar 5, 2024
·
Updated

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

Other sources

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.

— NVD

Affected Software

4 affected componentsFixes available
nuget/SixLabors.ImageSharp<2.1.7
2.1.7
nuget/SixLabors.ImageSharp>=3.0.0<3.1.3
3.1.3
SixLabors ImageSharp<2.1.7
SixLabors ImageSharp>=3.1.0<3.1.3

Event History

Mar 5, 2024
Advisory Published
via GitHub·04:26 PM
CVE Published
via MITRE·04:30 PM
Data Sourced
via MITRE·04:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-27929?

CVE-2024-27929 is classified as a high severity vulnerability due to its potential for information disclosure.

2

How do I fix CVE-2024-27929?

To fix CVE-2024-27929, update to version 2.1.7 or 3.1.3 of the SixLabors.ImageSharp package.

3

What causes the vulnerability CVE-2024-27929?

CVE-2024-27929 is caused by a heap-use-after-free flaw in the InitializeImage() function of the PngDecoderCore.cs file.

4

In which software is CVE-2024-27929 found?

CVE-2024-27929 affects the SixLabors.ImageSharp package versions below 2.1.7 and between 3.0.0 and 3.1.3.

5

What happens if CVE-2024-27929 is exploited?

If exploited, CVE-2024-27929 can lead to potential information disclosure when processing specially crafted PNG image files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203