There is an assertion failure in SingleComponentLSScan::ParseMCU in singlecomponentlsscan.cpp in libjpeg before 1.64 via an empty JPEG-LS scan.
[
{
"deprecated": false,
"source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
"digest": {
"function_hash": "163515957555476654476716648341094672251",
"length": 2810.0
},
"target": {
"function": "SampleInterleavedLSScan::ParseMCU",
"file": "codestream/sampleinterleavedlsscan.cpp"
},
"id": "CVE-2022-32978-55200ea4",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
"digest": {
"function_hash": "311285046678055315024752986528906340906",
"length": 2328.0
},
"target": {
"function": "SingleComponentLSScan::ParseMCU",
"file": "codestream/singlecomponentlsscan.cpp"
},
"id": "CVE-2022-32978-5689dc72",
"signature_version": "v1",
"signature_type": "Function"
},
{
"deprecated": false,
"source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"280594311517971789971203805469285792835",
"152281044020064936939215788550432439759",
"262519431338909069941027999591901449611",
"197514939160667512479996465199404682623",
"198321237115231452784671131740169231885",
"317299035883896088909785713870291028212",
"321259370930290079189657963577302053983",
"122386116870419651546625519921519775685"
]
},
"target": {
"file": "codestream/sampleinterleavedlsscan.cpp"
},
"id": "CVE-2022-32978-8798bcde",
"signature_version": "v1",
"signature_type": "Line"
},
{
"deprecated": false,
"source": "https://github.com/thorfdbg/libjpeg/commit/4746b577931e926a49e50de9720a4946de3069a7",
"digest": {
"threshold": 0.9,
"line_hashes": [
"279784259655055939818511820799877684835",
"198321237115231452784671131740169231885",
"133851965833139932519803887623922890079",
"64937156121700232804210135073088639598",
"236524264625233893874486566012351735951"
]
},
"target": {
"file": "codestream/singlecomponentlsscan.cpp"
},
"id": "CVE-2022-32978-b7b8509b",
"signature_version": "v1",
"signature_type": "Line"
}
]