Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2006-6304: Linux kernel core dump can let attackers alter files

CVE-2006-6304 · published 19 years ago
Summary

The Linux kernel version 2.6.19 may not correctly protect the file it creates when a program crashes. An attacker who can influence the crash could replace or change any file on the system. Updating the kernel to a newer version or applying the vendor's patch will resolve the issue.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
linux linux_kernel 2.6.19
cpe:2.3:o:linux:linux_kernel:2.6.19:*:*:*:*:*:*:*
Original advisory text
The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL but does not use it, which allows context-dependent attackers to modify arbitrary files via a rewri...
The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL but does not use it, which allows context-dependent attackers to modify arbitrary files via a rewrite attack during a core dump.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
7.5 High
Exploitation
3% chance of attack within 30 days
Type
CWE-399Resource Management Errors
Timeline
Published14 Dec 2006
Updated30 Oct 2026
First seen29 Sep 2026
Sources
CVE-2006-6304 · NVD
Track software like this
Free during beta