CVE-2007-1536 Integer overflow in n/a

Critical 9.3 Published Updated

An integer underflow in the file utility allows attackers to execute arbitrary code via a crafted file, requiring user interaction to open the malicious file.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-1536?

CVE-2007-1536 is a critical vulnerability in n/a, published on 20 Mar 2007. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-189

Which versions are affected by CVE-2007-1536?

It affects 1 product.

Linux distribution packages (12)
file Red Hat:enterprise_linux:4::asAll versions0:4.10-3.EL4.5
file-debuginfo Red Hat:enterprise_linux:4::asAll versions0:4.10-3.EL4.5
file Red Hat:enterprise_linux:4::desktopAll versions0:4.10-3.EL4.5
file-debuginfo Red Hat:enterprise_linux:4::desktopAll versions0:4.10-3.EL4.5
file Red Hat:enterprise_linux:4::esAll versions0:4.10-3.EL4.5
file-debuginfo Red Hat:enterprise_linux:4::esAll versions0:4.10-3.EL4.5
file Red Hat:enterprise_linux:4::wsAll versions0:4.10-3.EL4.5
file-debuginfo Red Hat:enterprise_linux:4::wsAll versions0:4.10-3.EL4.5
file Red Hat:enterprise_linux:5::clientAll versions0:4.17-9.el5
file-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:4.17-9.el5
file Red Hat:enterprise_linux:5::serverAll versions0:4.17-9.el5
file-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:4.17-9.el5

Products include File File.

How do I fix CVE-2007-1536?

Upgrade to a fixed version.

Is CVE-2007-1536 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-1536 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2007-1536, DSA-1274-1, GHSA-h28w-vfj4-vh5j, RHSA-2007:0124.

Is CVE-2007-1536 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free