Integer underflow in the file_printf function in the "file" program before 4.20 allows…
Priority MEDIUM 55CWE-189Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-189 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.1355 96th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2007:0124 Released 2007-03-23 · Red Hat rating Moderatefile security update
- Red Hat Enterprise Linux (v. 5 server) file-4.17-9.el5, file-4.17-9.el5.i386, file-4.17-9.el5.ia64 +1
- Red Hat Enterprise Linux AS version 4 file-4.10-3.EL4.5, file-4.10-3.EL4.5.i386, file-4.10-3.EL4.5.ia64 +1
- Red Hat Enterprise Linux Desktop (v. 5 client) file-4.17-9.el5, file-4.17-9.el5.i386
- Red Hat Enterprise Linux Desktop version 4 file-4.10-3.EL4.5, file-4.10-3.EL4.5.i386
- Red Hat Enterprise Linux ES version 4 file-4.10-3.EL4.5, file-4.10-3.EL4.5.i386, file-4.10-3.EL4.5.ia64
- Red Hat Enterprise Linux WS version 4 file-4.10-3.EL4.5, file-4.10-3.EL4.5.i386, file-4.10-3.EL4.5.ia64
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2007:0124 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2007:0124 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2007:0124 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2007:0124 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2007:0124 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2007:0124 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-1536
- 2026-10-03 Alias added: GHSA-h28w-vfj4-vh5j
References
Advisory 15
More File vulnerabilities
- TI-2004-01182 Stack-based buffer overflow in the ELF header parsing code in file before 4.12 allows… CVSS 2.0HIGH 10.0
- TI-2007-02709 Integer overflow in the "file" program 4.20, when running on 32-bit systems, as used in… CVSS 2.0MEDIUM 5.1
- TI-2003-00097 Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute… CVSS 2.0MEDIUM 4.6
Sources
- CVE-2007-1536 · CVE Program
- CVE-2007-1536 · NVD
- FIRST EPSS
- GHSA-h28w-vfj4-vh5j · GitHub Advisory Database · CC BY 4.0
- CVE-2007-1536 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences