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.
{ "vanir_signatures": [ { "digest": { "line_hashes": [ "303081832339546079775241914365705776155", "155042177096622166707048127280595433219", "108443222197420485824093560400368853121", "188995124371520492910687396484774343284" ], "threshold": 0.9 }, "target": { "file": "src/libjasper/jpc/jpc_dec.c" }, "signature_type": "Line", "source": "https://github.com/jasper-software/jasper/commit/6d084c53a77762f41bb5310713a5f1872fef55f5", "deprecated": false, "signature_version": "v1", "id": "CVE-2024-31744-a9fd437e" }, { "digest": { "length": 1830.0, "function_hash": "20288970338612997191061930568466790489" }, "target": { "function": "jpc_dec_process_sod", "file": "src/libjasper/jpc/jpc_dec.c" }, "signature_type": "Function", "source": "https://github.com/jasper-software/jasper/commit/6d084c53a77762f41bb5310713a5f1872fef55f5", "deprecated": false, "signature_version": "v1", "id": "CVE-2024-31744-cac84bbc" } ] }