CVE-2017-7875

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-7875
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7875.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-7875
Downstream
Related
Published
2017-04-14T18:59:01Z
Modified
2025-10-21T04:21:34.800446Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/derf/feh

Affected ranges

Type
GIT
Repo
https://github.com/derf/feh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.10
1.10.1
1.11
1.12
1.13
1.14
1.14.1
1.14.2
1.15
1.15.1
1.16
1.16.1
1.16.2
1.3.5
1.4
1.4.1
1.4.2
1.4.3
1.5
1.6
1.6.1
1.7
1.8
1.9

2.*

2.0
2.1
2.10
2.11
2.12
2.13
2.13.1
2.14
2.15
2.15.1
2.15.2
2.15.3
2.15.4
2.16
2.16.1
2.16.2
2.17
2.17.1
2.18
2.18.1
2.18.2
2.2
2.3
2.4
2.5
2.6
2.6.1
2.6.2
2.6.3
2.7
2.8
2.9
2.9.1
2.9.2
2.9.3

Database specific

vanir_signatures

[
    {
        "source": "https://github.com/derf/feh/commit/f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d",
        "target": {
            "file": "src/wallpaper.c"
        },
        "digest": {
            "line_hashes": [
                "114611271374651776628541093080720029731",
                "41834195195041888171198261125242210801",
                "108368789263570908763498376805416493156",
                "238841293264128875907687015485774305246"
            ],
            "threshold": 0.9
        },
        "deprecated": false,
        "id": "CVE-2017-7875-2316f0a4",
        "signature_type": "Line",
        "signature_version": "v1"
    },
    {
        "source": "https://github.com/derf/feh/commit/f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d",
        "target": {
            "function": "enl_ipc_get",
            "file": "src/wallpaper.c"
        },
        "digest": {
            "function_hash": "102306032804263360865648438411247829941",
            "length": 677.0
        },
        "deprecated": false,
        "id": "CVE-2017-7875-5f505e22",
        "signature_type": "Function",
        "signature_version": "v1"
    }
]