CVE-2007-1536 in File
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| File | File | ≤ 4.19 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-1536 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-158953-C |
| CVSS vector | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| Published | 2007-03-20 |
| Last modified | 2026-04-23 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-189: CWE-189
Analysis AI-written, not human-reviewed
An integer underflow vulnerability in the file_printf function of the 'file' program before version 4.20 can be exploited by user-assisted attackers to execute arbitrary code through a specially crafted file, leading to a heap-based buffer overflow.
The vulnerability arises from improper handling of integer values in the file_printf function, which can result in an integer underflow. This underflow can be exploited to manipulate memory, leading to a heap-based buffer overflow. Attackers can craft a file that, when processed by the 'file' program, triggers this vulnerability, potentially allowing the execution of arbitrary code with the privileges of the 'file' program.
Questions
What is CVE-2007-1536?
An integer underflow vulnerability in the file_printf function of the 'file' program before version 4.20 can be exploited by user-assisted attackers to execute arbitrary code through a specially crafted file, leading to a heap-based buffer overflow.
What is the CVSS score for CVE-2007-1536?
CVE-2007-1536 has CVSS 9.3 (Critical). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. EPSS: 13.6%.
Is CVE-2007-1536 actively exploited?
Public exploit available for CVE-2007-1536. Exploitation risk elevated.
How do I remediate CVE-2007-1536?
Priority: IMMEDIATE.
What systems are affected by CVE-2007-1536?
CVE-2007-1536 affects File File.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"File","product":"File","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-04-23.