CVE-2009-0676
The sock_getsockopt function in net/core/sock.c in the Linux kernel before 2.6.28.6 does not initialize a certain structure member, which…
- 2.1LowCVSS base score
- 0.70%Exploitation in 30 daysEPSS · top 46% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
The sock_getsockopt function in net/core/sock.c in the Linux kernel before 2.6.28.6 does not initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel memory via an SO_BSDCOMPAT getsockopt request.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- Linux Kernel 2.6.x - 'sock.c' SO_BSDCOMPAT Option Information Disclosure (Exploit-DB entry) (opens in a new tab)
EDB-ID 32805local, linuxpublished 20 Feb 2009Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
Published
- 15 years later
· 15 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Low2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.70% · top 46% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 2.1.
Affected products
n/a
- affected n/a
References
References38
- 35390 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- kernel-sock-information-disclosure(48847) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- [oss-security] 20090220 CVE request: kernel: memory disclosure in SO_BSDCOMPAT gsopt (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 34502 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2009:0326 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 34786 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 34962 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- oval:org.mitre.oval:def:8618 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 37471 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2009:0360 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2009:0459 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [oss-security] 20090302 Re: CVE request: kernel: memory disclosure in SO_BSDCOMPAT gsopt (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-1749 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- http://patchwork.kernel.org/patch/6816/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-1794 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- [linux-kernel] 20090223 net: amend the fix for SO_BSDCOMPAT gsopt infoleak (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 33758 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- SUSE-SA:2009:030 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- USN-751-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- oval:org.mitre.oval:def:11653 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 33846 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 35011 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue in third party components (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- [oss-security] 20090224 Re: CVE request: kernel: memory disclosure in SO_BSDCOMPAT gsopt (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- SUSE-SA:2009:031 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- SUSE-SA:2009:021 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [linux-kernel] 20090212 [PATCH] 4 bytes kernel memory disclosure in SO_BSDCOMPAT gsopt try #2 (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 34981 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 34394 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=df0bca049d01c0ee94afb7cd5dfd959541e6c8da (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=486305 (opens in a new tab)x_refsource_CONFIRMx_transferred
- DSA-1787 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- MDVSA-2009:071 (opens in a new tab)vendor-advisoryx_refsource_MANDRIVAx_transferred
- 34680 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- ADV-2009-3316 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.28.6 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 35394 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2009-0676 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2009-0676)Record last updated .