CVE-2006-6304
The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL...
CVE-2006-6304 is a high vulnerability (CVSS 7.5) in Linux Kernel, published December 14, 2006. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.55%, the 85th percentile. Fixed in kernel 0:2.6.18-164.11.1.el5.
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.
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2006-6304- CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-399
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2006-6304- Updated
- 2026-11-02
EUVDEUVD-2006-6287 No score
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.
- Record
EUVD-2006-6287- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-v3wx-9x2c-vf5m No score
The do_coredump function in fs/exec.c in the Linux kernel 2.6.19 sets the flag variable to O_EXCL...
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.
- Record
GHSA-v3wx-9x2c-vf5m- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
kernelRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-PAERed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-PAE-debuginfoRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-PAE-develRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debugRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debug-debuginfoRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debug-develRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debuginfoRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debuginfo-commonRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-develRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
Show 21 moreShow less
| Package | Affected | Fixed |
|---|---|---|
kernel-docRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-xenRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-xen-debuginfoRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-xen-develRed Hat:enterprise_linux:5::client |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernelRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-PAERed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-PAE-debuginfoRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-PAE-develRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debugRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debug-debuginfoRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debug-develRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debuginfoRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-debuginfo-commonRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-develRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-docRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-kdumpRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-kdump-debuginfoRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-kdump-develRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-xenRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-xen-debuginfoRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
kernel-xen-develRed Hat:enterprise_linux:5::server |
before 0:2.6.18-164.11.1.el5 | 0:2.6.18-164.11.1.el5 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
securityfocus.com/bid/21591
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7446
kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.19.1
secunia.com/advisories/23349
support.avaya.com/css/P8/documents/100073666
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10797
Show 66 moreShow less
rhn.redhat.com/errata/RHSA-2010-0095.html
vupen.com/english/advisories/2006/5002
rhn.redhat.com/errata/RHSA-2010-0046.html
trustix.org/errata/2006/0074
nvd.nist.gov/vuln/detail/CVE-2006-6304
github.com/advisories/GHSA-v3wx-9x2c-vf5m
access.redhat.com/errata/RHSA-2010:0046
access.redhat.com/security/updates/classification
kbase.redhat.com/faq/docs/DOC-20536
bugzilla.redhat.com/show_bug.cgi?id=526068
bugzilla.redhat.com/show_bug.cgi?id=526788
bugzilla.redhat.com/show_bug.cgi?id=537027
bugzilla.redhat.com/show_bug.cgi?id=537177
bugzilla.redhat.com/show_bug.cgi?id=537273
bugzilla.redhat.com/show_bug.cgi?id=538734
bugzilla.redhat.com/show_bug.cgi?id=539414
bugzilla.redhat.com/show_bug.cgi?id=539686
bugzilla.redhat.com/show_bug.cgi?id=540736
bugzilla.redhat.com/show_bug.cgi?id=540896
bugzilla.redhat.com/show_bug.cgi?id=542582
bugzilla.redhat.com/show_bug.cgi?id=543448
bugzilla.redhat.com/show_bug.cgi?id=544978
bugzilla.redhat.com/show_bug.cgi?id=545411
bugzilla.redhat.com/show_bug.cgi?id=547236
bugzilla.redhat.com/show_bug.cgi?id=547521
bugzilla.redhat.com/show_bug.cgi?id=547530
bugzilla.redhat.com/show_bug.cgi?id=547906
bugzilla.redhat.com/show_bug.cgi?id=548370
bugzilla.redhat.com/show_bug.cgi?id=549905
bugzilla.redhat.com/show_bug.cgi?id=549906
bugzilla.redhat.com/show_bug.cgi?id=549907
bugzilla.redhat.com/show_bug.cgi?id=549908
bugzilla.redhat.com/show_bug.cgi?id=550968
security.access.redhat.com/data/csaf/v2/advisories/2010/rhsa-2010_0046.json
access.redhat.com/security/cve/CVE-2006-6304
cve.org/CVERecord?id=CVE-2006-6304
access.redhat.com/security/cve/CVE-2009-2910
cve.org/CVERecord?id=CVE-2009-2910
nvd.nist.gov/vuln/detail/CVE-2009-2910
access.redhat.com/security/cve/CVE-2009-3080
cve.org/CVERecord?id=CVE-2009-3080
nvd.nist.gov/vuln/detail/CVE-2009-3080
access.redhat.com/security/cve/CVE-2009-3556
cve.org/CVERecord?id=CVE-2009-3556
nvd.nist.gov/vuln/detail/CVE-2009-3556
access.redhat.com/security/cve/CVE-2009-3889
cve.org/CVERecord?id=CVE-2009-3889
nvd.nist.gov/vuln/detail/CVE-2009-3889
access.redhat.com/security/cve/CVE-2009-3939
cve.org/CVERecord?id=CVE-2009-3939
nvd.nist.gov/vuln/detail/CVE-2009-3939
access.redhat.com/security/cve/CVE-2009-4020
cve.org/CVERecord?id=CVE-2009-4020
nvd.nist.gov/vuln/detail/CVE-2009-4020
access.redhat.com/security/cve/CVE-2009-4021
cve.org/CVERecord?id=CVE-2009-4021
nvd.nist.gov/vuln/detail/CVE-2009-4021
access.redhat.com/security/cve/CVE-2009-4138
cve.org/CVERecord?id=CVE-2009-4138
nvd.nist.gov/vuln/detail/CVE-2009-4138
access.redhat.com/security/cve/CVE-2009-4141
cve.org/CVERecord?id=CVE-2009-4141
nvd.nist.gov/vuln/detail/CVE-2009-4141
access.redhat.com/security/cve/CVE-2009-4272
cve.org/CVERecord?id=CVE-2009-4272
nvd.nist.gov/vuln/detail/CVE-2009-4272