Skip to content
Noroxi
NVD / CVE Program· CNA redhat

CVE-2016-4997: 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…

HighCVSS 7.8 · v3.1—Weaponized Fix available

Noroxi assessment

Priority: Plan (action score 40/100)

  • A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
  • Because a ready-made attack tool exists, priority is at least “Plan”.
  • Probability of exploitation in the next 30 days: 5.6% (FIRST EPSS); higher than 93.1% of all records.
  • Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
  • Fixed version: linux (Debian:12) 4.6.2-2; kernel (Red Hat:enterprise_linux:7::client) 0:3.10.0-327.36.1.el7; kernel-abi-whitelists (Red Hat:enterprise_linux:7::client) 0:3.10.0-327.36.1.el7.

Add it to your regular patch cycle. Upgrade to linux (Debian:12) 4.6.2-2; kernel (Red Hat:enterprise_linux:7::client) 0:3.10.0-327.36.1.el7; kernel-abi-whitelists (Red Hat:enterprise_linux:7::client) 0:3.10.0-327.36.1.el7 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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
Jul 3, 2016
Updated
Jun 16, 2026
EPSS
5.6% · 93th percentile

Report tools

JSON

Action score

40

Plan

Add it to your regular patch cycle.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 5.6%
Ready-made attack tool
7 / 40 · floor: at least 40

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2016-4997

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
linuxlinux kernel
canonicalubuntu linux
novellsuse linux enterprise software development kit
novellsuse linux enterprise desktop
novellsuse linux enterprise live patching
novellsuse linux enterprise module for public cloud
novellsuse linux enterprise real time extension
novellsuse linux enterprise server
novellsuse linux enterprise workstation extension
oraclelinux
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux15.10
  • canonical ubuntu linux16.04
  • debian debian linux8.0
  • linux linux kernel3.17 and later · before 3.18.37
  • linux linux kernel3.19 and later · before 4.1.28
  • linux linux kernel4.2 and later · before 4.4.14

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 4.6.2-24.6.2-2
Red Hat:enterprise_linux:7::clientkernelbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-abi-whitelistsbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-debugbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-debug-debuginfobefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-debug-develbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-debuginfobefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-debuginfo-common-x86_64before 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-develbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-docbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-headersbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-toolsbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-debuginfobefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-libsbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientkernel-tools-libs-develbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientperfbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientperf-debuginfobefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientpython-perfbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::clientpython-perf-debuginfobefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::serverkernel-bootwrapperbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::serverkernel-debuginfo-common-ppc64before 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::serverkernel-debuginfo-common-ppc64lebefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::serverkernel-debuginfo-common-s390xbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7
Red Hat:enterprise_linux:7::serverkernel-kdumpbefore 0:3.10.0-327.36.1.el70:3.10.0-327.36.1.el7

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2016-1237Jun 29, 2016 · nfsd in the Linux kernel through 4.6.3 allows local users to bypass intended file-permission restrictions by setting a POSIX ACL, related…
    22Monitor
  • ← EarlierCVE-2016-3955Jul 3, 2016 · The usbip_recv_xbuff function in drivers/usb/usbip/usbip_common.c in the Linux kernel before 4.5.3 allows remote attackers to cause a…
    47Plan
  • Later →CVE-2016-4998Jul 3, 2016 · The IPT_SO_SET_REPLACE setsockopt implementation in the netfilter subsystem in the Linux kernel before 4.6 allows local users to cause a…
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:linux4.6.2-2 · Debian:12Package registry (OSV)
red hat:kernel0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-abi-whitelists0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug-debuginfo0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debug-devel0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debuginfo0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-debuginfo-common-x86_640:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-devel0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-doc0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-headers0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-tools0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:kernel-tools-debuginfo0:3.10.0-327.36.1.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:kernel-default3.12.59-60.45.2 · SUSE:Linux Enterprise Desktop 12 SP1Package registry (OSV)
suse:kernel-docs3.12.59-60.45.4 · SUSE:Linux Enterprise Software Development Kit 12 SP1Package registry (OSV)
suse:kernel-ec23.12.59-60.45.2 · SUSE:Linux Enterprise Module for Public Cloud 12Package registry (OSV)
suse:kernel-obs-build3.12.59-60.45.3 · SUSE:Linux Enterprise Software Development Kit 12 SP1Package registry (OSV)
suse:kernel-rt3.0.101.rt130-57.1 · SUSE:Linux Enterprise Real Time 11 SP4Package registry (OSV)
suse:kernel-rt_trace3.0.101.rt130-57.1 · SUSE:Linux Enterprise Real Time 11 SP4Package registry (OSV)
suse:kernel-source3.12.59-60.45.1 · SUSE:Linux Enterprise Desktop 12 SP1Package registry (OSV)
suse:kernel-source-rt3.0.101.rt130-57.1 · SUSE:Linux Enterprise Real Time 11 SP4Package registry (OSV)
suse:kernel-syms3.12.59-60.45.1 · SUSE:Linux Enterprise Desktop 12 SP1Package registry (OSV)
suse:kernel-xen3.12.59-60.45.2 · SUSE:Linux Enterprise Desktop 12 SP1Package registry (OSV)
suse:kgraft-patch-SLE12_Update_151-2.3 · SUSE:Linux Enterprise Live Patching 12Package registry (OSV)
suse:kgraft-patch-SLE12-SP1_Update_61-2.3 · SUSE:Linux Enterprise Live Patching 12Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrylocal2016-10-10
Exploit-DB entrylocal2016-09-27
Metasploit moduleexploit/linux/local/netfilter_priv_esc_ipv4Linux Kernel 4.6.3 Netfilter Privilege Escalationexploit2016-06-03

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Metasploit-31 d
  2. Published
  3. First PoC+85 d
  4. TodayNov 15, 2026+3787 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

References

All records