A boundary error within the "quicktake100loadraw()" function (internal/dcrawcommon.cpp) in LibRaw versions prior to 0.18.8 can be exploited to cause a stack-based buffer overflow and subsequently cause a crash.
{ "vanir_signatures": [ { "id": "CVE-2018-5805-13bbbe0b", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "72157990115405437072869008142403678089", "91095039444715808141075598593361836804", "315779188054838010719781762465619906325", "260867823482545661855188331808218345790", "234857057552208646917438376645131305911", "206146214758716778749074330095339348478", "247960894787937022536739880342149011721", "54330672415625928981528792743779202859", "293547207206286871192173772426146880978", "9874373981138141896568868911025449957", "249788294694743818553041987795189000353", "264130181463166165130195137198822619265", "146931122158647408271548350055420031602", "117494544255263399237070941369421212546", "97144473278721834432589579486142339929", "3456239808480143829133508580993727315", "101678192708612356873560141099496025139" ] }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "internal/dcraw_common.cpp" }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2018-5805-2b94621f", "signature_type": "Function", "digest": { "function_hash": "81076601981760701772015192067059885823", "length": 3893.0 }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "dcraw/dcraw.c", "function": "quicktake_100_load_raw" }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2018-5805-8b0bfa86", "signature_type": "Function", "digest": { "function_hash": "299153711777264910194194674493063076714", "length": 979.0 }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "internal/dcraw_common.cpp", "function": "leaf_hdr_load_raw" }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2018-5805-95887c80", "signature_type": "Function", "digest": { "function_hash": "299153711777264910194194674493063076714", "length": 979.0 }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "dcraw/dcraw.c", "function": "leaf_hdr_load_raw" }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2018-5805-9796cb0a", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "72157990115405437072869008142403678089", "91095039444715808141075598593361836804", "315779188054838010719781762465619906325", "260867823482545661855188331808218345790", "234857057552208646917438376645131305911", "206146214758716778749074330095339348478", "247960894787937022536739880342149011721", "54330672415625928981528792743779202859", "293547207206286871192173772426146880978", "9874373981138141896568868911025449957", "249788294694743818553041987795189000353", "264130181463166165130195137198822619265", "146931122158647408271548350055420031602", "117494544255263399237070941369421212546", "97144473278721834432589579486142339929", "3456239808480143829133508580993727315", "101678192708612356873560141099496025139" ] }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "dcraw/dcraw.c" }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2018-5805-b0ca8c45", "signature_type": "Function", "digest": { "function_hash": "81076601981760701772015192067059885823", "length": 3893.0 }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "internal/dcraw_common.cpp", "function": "quicktake_100_load_raw" }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2018-5805-f82f3fa4", "signature_type": "Function", "digest": { "function_hash": "191347036979996368125297428625069425213", "length": 61356.0 }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "internal/dcraw_common.cpp", "function": "identify" }, "deprecated": false, "signature_version": "v1" }, { "id": "CVE-2018-5805-fc7560f7", "signature_type": "Function", "digest": { "function_hash": "191347036979996368125297428625069425213", "length": 61356.0 }, "source": "https://github.com/libraw/libraw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff", "target": { "file": "dcraw/dcraw.c", "function": "identify" }, "deprecated": false, "signature_version": "v1" } ] }