The ecryptfs_write_metadata_to_contents function in the eCryptfs functionality in the…
Priority LOW 23CWE-189Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Complete · None · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.
Summary
The ecryptfs_write_metadata_to_contents function in the eCryptfs functionality in the Linux kernel 2.6.28 before 2.6.28.9 uses an incorrect size when writing kernel memory to an eCryptfs file header, which triggers an out-of-bounds read and allows local users to obtain portions of kernel memory.
Why it matters now
EPSS 0.00389 33rd percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:2.6.28:*:*:*:*:*:*:* | 2.6.28 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.1:*:*:*:*:*:*:* | 2.6.28.1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.2:*:*:*:*:*:*:* | 2.6.28.2 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.3:*:*:*:*:*:*:* | 2.6.28.3 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.4:*:*:*:*:*:*:* | 2.6.28.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.5:*:*:*:*:*:*:* | 2.6.28.5 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.6:*:*:*:*:*:*:* | 2.6.28.6 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.7:*:*:*:*:*:*:* | 2.6.28.7 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:2.6.28.8:*:*:*:*:*:*:* | 2.6.28.8 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:2.6.28:*:*:*:*:*:*:* Versions 2.6.28 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.1:*:*:*:*:*:*:* Versions 2.6.28.1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.2:*:*:*:*:*:*:* Versions 2.6.28.2 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.3:*:*:*:*:*:*:* Versions 2.6.28.3 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.4:*:*:*:*:*:*:* Versions 2.6.28.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.5:*:*:*:*:*:*:* Versions 2.6.28.5 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.6:*:*:*:*:*:*:* Versions 2.6.28.6 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.7:*:*:*:*:*:*:* Versions 2.6.28.7 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:2.6.28.8:*:*:*:*:*:*:* Versions 2.6.28.8 Vulnerable ·Linux
Remediation
Red Hat 1 advisory
- RHSA-2009:0473 Released 2009-05-07 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux (v. 5 server) kernel-2.6.18-128.1.10.el5, kernel-2.6.18-128.1.10.el5.ia64, kernel-PAE-2.6.18-128.1.10.el5 +18
- Red Hat Enterprise Linux Desktop (v. 5 client) kernel-2.6.18-128.1.10.el5, kernel-PAE-2.6.18-128.1.10.el5, kernel-PAE-devel-2.6.18-128.1.10.el5 +8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2009:0473 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2009:0473 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-0787
- 2026-10-03 Alias added: GHSA-qj8r-wxmp-5mmr
References
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2009-0787 · CVE Program
- CVE-2009-0787 · NVD
- FIRST EPSS
- GHSA-qj8r-wxmp-5mmr · GitHub Advisory Database · CC BY 4.0
- CVE-2009-0787 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences