Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2016-4997: Linux kernel netfilter compat offset decrement privilege escalation

Published Jul 3, 2016 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS5.7%93rd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectOracle CorporationLinuxNovellCanonical
IdentifiersCVE-2016-4997CWE-191

CVE-2016-4997 is an integer-underflow-related memory-corruption vulnerability in the Linux kernel netfilter compatibility implementations of the IPT_SO_SET_REPLACE and IP6T_SO_SET_REPLACE setsockopt operations. In kernels before 4.6.3, a crafted offset supplied during compatibility-mode table replacement can trigger an unintended decrement. A local attacker with root access inside a container can use the flaw to corrupt kernel memory, resulting in denial of service or potential privilege escalation.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can corrupt kernel memory, crash the system, or potentially elevate a local attacker’s privileges beyond the container or other initially constrained execution context.

Mitigation

If you can’t patch tonight, do this now.

Restrict untrusted users’ ability to create or administer user and network namespaces, particularly granting capabilities usable for netfilter configuration within containers. Limit container root access and apply least-privilege container capability policies until patched kernels are deployed.

Remediation

Patch, then assume compromise.

Upgrade to Linux kernel version 4.6.3 or later, or apply the vendor-supported kernel update that includes the fix for CVE-2016-4997. Reboot into the updated kernel.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
CanonicalUbuntu Linuxoperating_system
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
NovellSuse Linux Enterprise Desktopoperating_system
NovellSuse Linux Enterprise Live Patchingoperating_system
NovellSuse Linux Enterprise Module For Public Cloudoperating_system
NovellSuse Linux Enterprise Real Time Extensionoperating_system
NovellSuse Linux Enterprise Serveroperating_system
NovellSuse Linux Enterprise Software Development Kitoperating_system
NovellSuse Linux Enterprise Workstation Extensionoperating_system
Oracle CorporationLinuxoperating_system
FAQ

Frequently asked questions

Is CVE-2016-4997 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2016-4997 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2016-4997?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2016-4997, the earliest disclosed Jun 3, 2016.
Is there a patch for CVE-2016-4997?
Upgrade to Linux kernel version 4.6.3 or later, or apply the vendor-supported kernel update that includes the fix for CVE-2016-4997. Reboot into the updated kernel.
What products are affected by CVE-2016-4997?
Linux Kernel, Oracle Corporation Linux, Debian Project Debian Linux, Novell Suse Linux Enterprise Desktop, Novell Suse Linux Enterprise Live Patching, and 6 more.
How severe is CVE-2016-4997?
CVE-2016-4997 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 5.7% (93rd percentile) as of Oct 16, 2026.
Activity feed

Recent activity

2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.