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.
CVE-2016-4997
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2022-05-13. NVD baseline CVSS 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- 66(Track)EG Risk 66/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation65% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 92.2%
- KEV
- Not listed
Published
July 3, 2016
Last Modified
May 6, 2026
References (86)
- secalert@redhathttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ce683e5f9d045e5d67d1312a42b359cb2ab2a13c
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-06/msg00061.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00000.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00027.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00044.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00050.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00051.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00052.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00054.html
- secalert@redhathttp://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2016-1847.html
Patch Availability(15)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
All Vendor Advisories
(15)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2016:1847IMPORTANT2016-06-24
RHSA-2016:1847 — Important
- Red HatRHSA-2016:1875IMPORTANT2016-06-24
RHSA-2016:1875 — Important
- Red HatRHSA-2016:1883IMPORTANT2016-06-24
RHSA-2016:1883 — Important
- UbuntuUSN-3016-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-3016-2HIGH
Linux kernel (Raspberry Pi 2) vulnerabilities
- UbuntuUSN-3016-3HIGH
Linux kernel (Qualcomm Snapdragon) vulnerabilities
- UbuntuUSN-3016-4HIGH
Linux kernel (Xenial HWE) vulnerabilities
- UbuntuUSN-3017-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-3017-2HIGH
Linux kernel (Raspberry Pi 2) vulnerabilities
- UbuntuUSN-3017-3HIGH
Linux kernel (Wily HWE) vulnerabilities
- UbuntuUSN-3018-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-3018-2HIGH
Linux kernel (Trusty HWE) vulnerabilities
- UbuntuUSN-3019-1HIGH
Linux kernel (Utopic HWE) vulnerabilities
- UbuntuUSN-3020-1HIGH
Linux kernel (Vivid HWE) vulnerabilities
- UbuntuUSN-3338-1HIGH
Linux kernel vulnerabilities
Data Freshness Timeline
(refreshed 10× in last 7d / 41× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 14:14 UTCEPSS rescore
- 2026-07-23 01:23 UTCEG score recompute
- 2026-07-22 22:02 UTCEG score recompute
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:03 UTCEPSS rescore
- 2026-07-19 14:27 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-18 10:00 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 06:09 UTCEPSS rescore
- 2026-07-12 09:07 UTCOSV refresh
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 08:23 UTCEPSS rescore
- 2026-07-09 19:05 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 14:30 UTCOSV refresh
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-06 17:59 UTCOSV refresh
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-06-01 13:49 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-24 16:43 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 19:44 UTCEG score recompute
- 2026-05-22 19:44 UTCVendor advisory
- 2026-05-22 19:44 UTCGHSA enrichment
- 2026-05-21 22:40 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Publicly available exploits
(3 references)Working exploit code is in the public domain (1 Metasploit module) (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-40489First seen Oct 10, 2016
Linux Kernel 4.6.2 (Ubuntu 16.04.1) - 'IP6T_SO_SET_REPLACE' Local Privilege Escalation
Open source ↗ - Exploit-DBEDB-40435✓ verifiedFirst seen Sep 27, 2016
Linux Kernel 4.6.3 (x86) - 'Netfilter' Local Privilege Escalation (Metasploit)
Open source ↗ - Metasploitexploit/linux/local/netfilter_priv_esc_ipv4✓ verifiedFirst seen Jun 3, 2016
Linux Kernel 4.6.3 Netfilter Privilege Escalation
Open source ↗
Frequently asked(5)
What is CVE-2016-4997?
When was CVE-2016-4997 disclosed?
Is CVE-2016-4997 actively exploited?
What is the CVSS score of CVE-2016-4997?
How do I remediate CVE-2016-4997?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2016-4997
Is Your Infrastructure Affected by CVE-2016-4997?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.