Back to CVE catalog
CVE-2007-1536

Integer underflow in file_printf function in "file" before 4.20 allows arbitrary code execution

Multiple products

At a glance

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 description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityComplete
IntegrityComplete
AvailabilityComplete

CVSS summary v2.0

9.3High
Published:
Updated:
EPSS:
13.55%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:filefileAffected versions:
≤ 4.19
Vendor:Debianfile
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 4.20-1
Vendor:Debianlibmagic-dev
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 4.20-1
Vendor:Debianlibmagic1
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 4.20-1
Vendor:Debianpython-magic
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 4.20-1
Vendor:redhatfile
Environments (1)
  • cpe:/o:redhat:enterprise_linux:5
Affected versions:
< 0:4.17-9.el5
Vendor:SUSEfile
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:4.24-43.17
Vendor:SUSEfile-32bit
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:4.24-43.17
Vendor:SUSEfile-x86
Environments (1)
  • cpe:/o:suse:sles:11:sp1
Affected versions:
< 0:4.24-43.17
Vendor:SUSEfile
Environments (1)
  • cpe:/o:suse:sles:11:sp2
Affected versions:
< 0:4.24-43.19.1

1–10 of 40 · Page 1 of 4

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd · Wazuh CTI (cna)9.3 / 10HighCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Complete
Integrity
Complete
Availability
Complete
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories54

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences