An issue was discovered in Pillow before 8.2.0. For FLI data, FliDecode did not properly check that the block advance was non-zero, potentially leading to an infinite loop on load.
[
{
"source": "https://github.com/python-pillow/pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856",
"target": {
"file": "src/libImaging/FliDecode.c"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"276082854084581862752233006547183163125",
"154487951280376738261317199800104056040",
"196791183223561229908953348714930460735",
"108716279980050847017816890668636521998"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2021-28676-0f8c3b10"
},
{
"source": "https://github.com/python-pillow/pillow/commit/bb6c11fb889e6c11b0ee122b828132ee763b5856",
"target": {
"function": "ImagingFliDecode",
"file": "src/libImaging/FliDecode.c"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"function_hash": "90249710371010666261709649153104395496",
"length": 3966.0
},
"signature_type": "Function",
"id": "CVE-2021-28676-89bdf835"
}
]