CVE-2006-6304 json
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…
published 2006-12-14 19 y ago modified 2026-06-16 4 mo ago also EUVD-2006-6287
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- kernel RHEL 5 2.6.18-164.11.1.el5
- kernel-PAE RHEL 5 2.6.18-164.11.1.el5
- kernel-xen RHEL 5 2.6.18-164.11.1.el5
- kernel-kdump RHEL 5 2.6.18-164.11.1.el5
- kernel-debuginfo-common RHEL 5 2.6.18-164.11.1.el5
red hat advisories RHSA-2010:0046
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2006-6304 updated cvss 1.9
kernel: use flag in do_coredump()
-
Red Hat Enterprise Linux (v. 5 server) kernel 2.6.18-164.11.1.el5, kernel-PAE 2.6.18-164.11.1.el5, kernel-xen 2.6.18-164.11.1.el5, kernel-kdump 2.6.18-164.11.1.el5, kernel-debuginfo-common 2.6.18-164.11.1.el5 Red Hat Enterprise Linux Desktop (v. 5 client) kernel 2.6.18-164.11.1.el5, kernel-PAE 2.6.18-164.11.1.el5, kernel-xen 2.6.18-164.11.1.el5, kernel-kdump 2.6.18-164.11.1.el5, kernel-debuginfo-common 2.6.18-164.11.1.el5fixed: vendor fix RHSA-2010:0046
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.55% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-399 Resource Management Errors
- Technology feeds
References
-
securityfocus.com
/bid/21591
vdb-entry, patch
-
rhn.redhat.com
/errata/RHSA-2010-0095.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2010-0046.html
vendor-advisory
-
trustix.org
/errata/2006/0074/
vendor-advisory
-
secunia.com
/advisories/23349
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2006/5002
vdb-entry, vendor-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7446
vdb-entry, signature
- kernel.org /pub/linux/kernel/v2.6/ChangeLog-2.6.19.1
- support.avaya.com /css/P8/documents/100073666
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10797
vdb-entry, signature
Sources
- CVE List CVE-2006-6304
- NVD CVE-2006-6304
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.