A boundary error within the "foveonloadcamf()" function (dcraw_foveon.c) when initializing a huffman table in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a stack-based buffer overflow.
{ "vanir_signatures": [ { "source": "https://github.com/libraw/libraw-demosaic-pack-gpl2/commit/194f592e205990ea8fce72b6c571c14350aca716", "target": { "file": "dcraw_foveon.c" }, "deprecated": false, "signature_version": "v1", "digest": { "line_hashes": [ "100850317300044172871758774077954143283", "183165565249248235104004237473157430537", "83649381162801328157103007422383945962", "47514154183160630857492948049019842349", "37475012982426722331624000442743187628", "158946633314018727684819495445952872936", "169360082881815744821892637527684042066", "297389860160314791543952754442543041809", "196569000861448789229074069099911561455", "46361378511996670452354581310182194654", "25993550731896664825248406918372402297", "67138032242703886184429388320837250614" ], "threshold": 0.9 }, "signature_type": "Line", "id": "CVE-2017-6890-b76a6567" }, { "source": "https://github.com/libraw/libraw-demosaic-pack-gpl2/commit/194f592e205990ea8fce72b6c571c14350aca716", "target": { "file": "dcraw_foveon.c", "function": "foveon_load_camf" }, "deprecated": false, "signature_version": "v1", "digest": { "length": 1267.0, "function_hash": "91891604155324030583620799763965924127" }, "signature_type": "Function", "id": "CVE-2017-6890-d6e82664" }, { "source": "https://github.com/libraw/libraw-demosaic-pack-gpl2/commit/194f592e205990ea8fce72b6c571c14350aca716", "target": { "file": "dcraw_foveon.c", "function": "foveon_dp_load_raw" }, "deprecated": false, "signature_version": "v1", "digest": { "length": 766.0, "function_hash": "2862206903275483430271369263106098319" }, "signature_type": "Function", "id": "CVE-2017-6890-e65cd3bb" } ] }