Skip to main content

Use After Free


Severity High
Score 7.1/10


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
  • NONE
  • 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