Pillow starting with 9.2.0 and prior to 9.3.0 allows denial of service via SAMPLESPERPIXEL. A large value in the SAMPLESPERPIXEL tag could lead to a memory and runtime DOS in TiffImagePlugin.py when setting up the context for image decoding. This issue has been patched in version 9.3.0.
{
"cwe_ids": [
"CWE-400"
],
"github_reviewed": true,
"nvd_published_at": "2022-11-14T07:15:00Z",
"github_reviewed_at": "2022-11-15T13:24:05Z",
"severity": "HIGH"
}