CVE-2024-32036: SixLabors.ImageSharp vulnerable to data leakage
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53072%
CWE
Published
4/15/2024
Updated
1/9/2025
KEV Status
No
Technology
C#
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| SixLabors.ImageSharp | nuget | < 2.1.8 | 2.1.8 |
| SixLabors.ImageSharp | nuget | >= 3.0.0, < 3.1.4 | 3.1.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from uninitialized pixel buffers in JPEG/TGA decoders. The patches explicitly add AllocationOptions.Clean (JPEG) and replace CreateUninitialized with a constructor that initializes buffers (TGA). These changes directly address CWE-212 and CWE-226 by ensuring buffers are cleared before reuse. The affected functions are clearly identified in the commit diffs as the pre-patch buffer allocation points.