-
CVSS Score
-Basic Information
CVE ID
-
GHSA ID
-
EPSS Score
-
CWE
-
Published
-
Updated
-
KEV Status
-
Technology
-
The vulnerability stems from insufficient validation of the 'minCodeSize' parameter in the LZW decoder. The patches in PR #2754/2756 added a 'minCodeSize > MaximumLzwBits' check to both DecodePixels and SkipIndices methods. The original code only checked 'minCodeSize < 2' and 'clearCode > MaxStackSize', leaving a gap where oversized 'minCodeSize' values could trigger buffer overflows. These functions directly handle LZW decompression logic, making them the entry points for the out-of-bounds write vulnerability. The high confidence stems from the direct correlation between the patch changes and the CWE-787 description.
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| SixLabors.ImageSharp | nuget | < 2.1.9 | 2.1.9 |
| SixLabors.ImageSharp | nuget | >= 3.0.0, < 3.1.5 | 3.1.5 |