{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-6704","published":"2016-12-28T07:59:00.150000Z","last_modified":"2026-06-16T23:48:38.293000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_end_excluding":"3.2.85"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.3","version_end_excluding":"3.5"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00412,"percentile":0.27129,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2012-6704/","html_en":"/en/cve/CVE-2012-6704/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-6704","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-6704"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"The sock_setsockopt function in net/core/sock.c in the Linux kernel before 3.5 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows local users to cause a denial of service (memory corruption and system crash) or possibly have unspecified other impact by leveraging the CAP_NET_ADMIN capability for a crafted setsockopt system call with the (1) SO_SNDBUF or (2) SO_RCVBUF option.","affected":[],"references":[{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=82981930125abfd39d7c8378a9cfdf5e1be2002b","tags":["Patch","Vendor Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/12/03/1","tags":["Mailing List","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/95135","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1402024","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://github.com/torvalds/linux/commit/82981930125abfd39d7c8378a9cfdf5e1be2002b","tags":["Patch","Third Party Advisory"]}]}}