feh - Out-of-Boundary Heap Write Vulnerability

feh Updated 02 Oct 2025

Summary

17/04/2017
N/A
Yes i
Unrated
Not published

DLA-899-1: feh - security update. Affects feh versions < 2.3-2+deb7u1. Fixed in 2.3-2+deb7u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

feh is an image viewer for Linux systems. It allows users to view and manipulate images from the command line or within a graphical environment. The vulnerability affects feh version 2.3-2+deb7u1 on Debian 7 Wheezy.

Vulnerability Detail

The vulnerability in feh allows an attacker to trigger an out-of-boundary heap write when receiving an IPC message. This can lead to arbitrary code execution or a denial of service attack. The issue was discovered by Tobias Stoeckmann.

How To Fix

Minimum fixed version

2.3-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade feh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability.

Conclusion

The feh image viewer on Debian 7 Wheezy is vulnerable to an out-of-boundary heap write vulnerability. It is recommended to upgrade the feh package to version 2.3-2+deb7u1 or later to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for feh →

Share this vulnerability

FAQ

feh is an image viewer for Linux systems that allows users to view and manipulate images from the command line or within a graphical environment.

An out-of-boundary heap write occurs when a program writes data beyond the allocated memory space of a heap object. This can lead to memory corruption and potentially allow an attacker to execute arbitrary code or cause a denial of service.

The vulnerability can be exploited by sending a specially crafted IPC message to the feh image viewer, triggering the out-of-boundary heap write.

The vulnerability can lead to arbitrary code execution or a denial of service attack, depending on how it is exploited.

Yes, upgrading the feh package to version 2.3-2+deb7u1 or later will fix the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for feh.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.3-2+deb7u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade feh

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback