{"id":"CVE-2016-4997","url":"https://www.cyber-defence.io/tools/cve/CVE-2016-4997","generatedAt":"2026-10-27T21:03:49.975Z","title":"The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container…","description":"The compat IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt implementations in the netfilter subsystem in the Linux kernel before 4.6.3 allow local users to gain privileges or cause a denial of service (memory corruption) by leveraging in-container root access to provide a crafted offset value that triggers an unintended decrement.","published":"2016-07-03T21:59:16.000Z","lastModified":"2026-06-17T00:48:35.000Z","status":"Modified","sourceIdentifier":"secalert@redhat.com","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"},"cwe":["CWE-264"],"affected":["linux/linux kernel","canonical/ubuntu linux","novell/suse linux enterprise software development kit","novell/suse linux enterprise desktop","novell/suse linux enterprise live patching","novell/suse linux enterprise module for public cloud","novell/suse linux enterprise real time extension","novell/suse linux enterprise server","novell/suse linux enterprise workstation extension","oracle/linux","debian/debian linux"],"epss":{"score":0.05676,"percentile":0.92933,"date":"2026-10-26","history":[{"date":"2026-09-27","score":0.06979,"percentile":0.9392},{"date":"2026-10-12","score":0.05676,"percentile":0.92813}]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2016-09-27","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":40489,"kind":"exploit","title":"Linux Kernel 4.6.2 (Ubuntu 16.04.1) - 'IP6T_SO_SET_REPLACE' Local Privilege Escalation","url":"https://www.exploit-db.com/exploits/40489","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/40489.txt","file":"exploits/linux/local/40489.txt","published":"2016-10-10","added":"2016-10-10","updated":"2017-01-30","author":"Qian Zhang","type":"local","platform":"linux","port":null,"verified":false,"codes":["CVE-2016-4997","DSA-3607-1"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null},{"edbId":40435,"kind":"exploit","title":"Linux Kernel 4.6.3 (x86) - 'Netfilter' Local Privilege Escalation (Metasploit)","url":"https://www.exploit-db.com/exploits/40435","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux_x86/local/40435.rb","file":"exploits/linux_x86/local/40435.rb","published":"2016-09-27","added":"2016-09-27","updated":"2017-01-30","author":"Metasploit","type":"local","platform":"linux_x86","port":null,"verified":true,"codes":["CVE-2016-4997","DSA-3607-1"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"2 public exploits are published in Exploit-DB (verified) and the impact is high, while EPSS rates exploitation at 5.7%. Anyone can run this; patch or mitigate before the next change window and check exposed instances for signs of use."},"changes":[],"references":[{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1847.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1875.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1883.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.debian.org/security/2016/dsa-3607","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.6.3","tags":["Vendor Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2016/06/24/5","tags":["Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.openwall.com/lists/oss-security/2016/09/29/10","tags":["Exploit","Mailing List","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.oracle.com/technetwork/topics/security/ovmbulletinoct2016-3090547.html","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.securityfocus.com/bid/91451","tags":["Third Party Advisory","VDB Entry"],"source":"secalert@redhat.com"},{"url":"http://www.securitytracker.com/id/1036171","tags":["Third Party Advisory","VDB Entry"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3016-1","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3016-2","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3016-3","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3016-4","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3017-1","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3017-2","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3017-3","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3018-1","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3018-2","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3019-1","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"http://www.ubuntu.com/usn/USN-3020-1","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1349722","tags":["Issue Tracking","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://github.com/nccgroup/TriforceLinuxSyscallFuzzer/tree/master/crash_reports/report_compatIpt","tags":["Exploit","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://github.com/torvalds/linux/commit/ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","tags":["Patch","Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05347541","tags":["Third Party Advisory"],"source":"secalert@redhat.com"},{"url":"https://www.exploit-db.com/exploits/40435/","tags":["Third Party Advisory","VDB Entry"],"source":"secalert@redhat.com"},{"url":"https://www.exploit-db.com/exploits/40489/","tags":["Third Party Advisory","VDB Entry"],"source":"secalert@redhat.com"},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html","tags":["Mailing List","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1847.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1875.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-1883.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-4997","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}