Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-1536 EUVD-2007-1530GHSA-h28w-vfj4-vh5j

Integer underflow in the file_printf function in the "file" program before 4.20 allows user-assisted attackers to execute arbitrary code vi…

Published Mar 20, 2007 · Updated Aug 7, 2024 · Assigned by mitre

Description

Integer underflow in the file_printf function in the "file" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 file 4.20-1 —
Debian 13 file 4.20-1 —
Debian 12 file 4.20-1 —
Debian 4.0 file 4.17-5etch1 DSA-1274-1
Debian 3.1 file 4.12-1sarge1 DSA-1274-1
ReleasePackageFixed inAdvisory
RHEL 5 file 4.17-9.el5 RHSA-2007:0124
RHEL 4 file 4.10-3.EL4.5 RHSA-2007:0124
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed file 5.40-1.14 openSUSE-SU-2024:10755-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References