In wallpaper.c in feh before v2.18.3, if a malicious client pretends to be the E17 window manager, it is possible to trigger an out-of-boundary heap write while receiving an IPC message. An integer overflow leads to a buffer overflow and/or a double free.
[
{
"id": "CVE-2017-7875-2316f0a4",
"deprecated": false,
"digest": {
"line_hashes": [
"114611271374651776628541093080720029731",
"41834195195041888171198261125242210801",
"108368789263570908763498376805416493156",
"238841293264128875907687015485774305246"
],
"threshold": 0.9
},
"target": {
"file": "src/wallpaper.c"
},
"source": "https://github.com/derf/feh/commit/f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d",
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2017-7875-5f505e22",
"deprecated": false,
"digest": {
"length": 677.0,
"function_hash": "102306032804263360865648438411247829941"
},
"target": {
"file": "src/wallpaper.c",
"function": "enl_ipc_get"
},
"source": "https://github.com/derf/feh/commit/f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d",
"signature_type": "Function",
"signature_version": "v1"
}
]