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
| Vendor | Product | Affected 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.
References
- http://secunia.com/advisories/23349 Vendor Advisory
- http://support.avaya.com/css/P8/documents/100073666
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19.1
- http://www.securityfocus.com/bid/21591 Patch
- http://www.trustix.org/errata/2006/0074/
- http://www.vupen.com/english/advisories/2006/5002 Vendor Advisory
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3...
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3...
- https://rhn.redhat.com/errata/RHSA-2010-0046.html
- https://rhn.redhat.com/errata/RHSA-2010-0095.html
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
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