Skip to main content

Use After Free in SixLabors.ImageSharp

CVE-2024-27929

  • SixLabors.ImageSharp
Severity High
Score 7.1/10

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 vulnerability affects SixLabors.ImageSharp package versions through 2.1.6, and 3.0.0 through 3.1.2.

  • LOW
  • LOCAL
  • NONE
  • UNCHANGED
  • REQUIRED
  • NONE
  • HIGH
  • HIGH

CWE-416 - Use After Free

Use-after-free (UaF) vulnerability occurs when the application is using a pointer to memory that has been freed. Any attempt to read/write to a buffer after it is de-allocated allows memory corruption, sensitive information exposure, and can potentially lead to arbitrary code execution.

Advisory Timeline

  • Published