Read the docs
TI-2007-01478 Aliases CVE-2007-1536GHSA-h28w-vfj4-vh5j

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:file:file:*:*:*:*:*:*:*:*up to 4.19VulnerableFile
  • cpe:2.3:a:file:file:*:*:*:*:*:*:*:* Versions up to 4.19 Vulnerable ·File

Remediation

Red Hat 1 advisory

  • RHSA-2007:0124 Released 2007-03-23 · Red Hat rating Moderate
    file 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux (v. 5 server)Fixed RHSA-2007:0124
Red Hat Enterprise Linux AS version 4Fixed RHSA-2007:0124
Red Hat Enterprise Linux Desktop (v. 5 client)Fixed RHSA-2007:0124
Red Hat Enterprise Linux Desktop version 4Fixed RHSA-2007:0124
Red Hat Enterprise Linux ES version 4Fixed RHSA-2007:0124
Red Hat Enterprise Linux WS version 4Fixed RHSA-2007:0124

Timeline

  1. 2026-10-02 Threatist record created from CVE-2007-1536
  2. 2026-10-03 Alias added: GHSA-h28w-vfj4-vh5j

References

  • 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