feh 'src/wallpaper.c' Integer Overflow Vulnerability

BID:97689

Info

feh 'src/wallpaper.c' Integer Overflow Vulnerability

Bugtraq ID: 97689
Class: Boundary Condition Error
CVE: CVE-2017-7875
Remote: Yes
Local: No
Published: Apr 14 2017 12:00AM
Updated: Apr 18 2017 12:07AM
Credit: The vendor reported this issue.
Vulnerable: derf feh 2.18.2
derf feh 2.18.1
derf feh 2.18
derf feh 2.17.1
derf feh 2.17
derf feh 2.16.2
derf feh 2.16.1
derf feh 1.11.2
derf feh 1.11.1
Not Vulnerable: derf feh 2.18.3

Discussion

feh 'src/wallpaper.c' Integer Overflow Vulnerability

feh is prone to an integer-overflow vulnerability because it fails to properly bounds-check user-supplied data before copying it into an insufficiently sized buffer.

Attackers can exploit this issue to execute arbitrary code in the context of the affected application. Failed exploit attempts will result in denial-of-service conditions.

feh 2.18.2 and prior are vulnerable.

Exploit / POC

feh 'src/wallpaper.c' Integer Overflow Vulnerability

Currently, we are not aware of any working exploits. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].

Solution / Fix

feh 'src/wallpaper.c' Integer Overflow Vulnerability

Solution:
Updates are available. Please see the references or vendor advisory for more information.

References

feh 'src/wallpaper.c' Integer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report