In Jasper 4.2.2, the jpcstreamlistremove function in src/libjasper/jpc/jpc_dec.c:2407 has an assertion failure vulnerability, allowing attackers to cause a denial of service attack through a specific image file.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31744.json"
[
{
"id": "CVE-2024-31744-a9fd437e",
"source": "https://github.com/jasper-software/jasper/commit/6d084c53a77762f41bb5310713a5f1872fef55f5",
"digest": {
"threshold": 0.9,
"line_hashes": [
"303081832339546079775241914365705776155",
"155042177096622166707048127280595433219",
"108443222197420485824093560400368853121",
"188995124371520492910687396484774343284"
]
},
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/libjasper/jpc/jpc_dec.c"
},
"signature_type": "Line"
},
{
"id": "CVE-2024-31744-cac84bbc",
"source": "https://github.com/jasper-software/jasper/commit/6d084c53a77762f41bb5310713a5f1872fef55f5",
"digest": {
"length": 1830.0,
"function_hash": "20288970338612997191061930568466790489"
},
"signature_version": "v1",
"deprecated": false,
"target": {
"file": "src/libjasper/jpc/jpc_dec.c",
"function": "jpc_dec_process_sod"
},
"signature_type": "Function"
}
]