CVE-2016-4997
CWE-264Published: July 3, 2016· Updated: Jun 17, 2026
Official 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.
Technical Analysis
CVE-2016-4997 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.
A proof-of-concept (PoC) exploit exists for CVE-2016-4997. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (86)
Quick Facts
Related CVEs (CWE-264)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2016-4997 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts