Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2016-4998: Linux kernel netfilter IPT_SO_SET_REPLACE Out-of-Bounds Read

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.1High · v3
EPSS1.9%80th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Oracle CorporationLinuxCanonical
IdentifiersCVE-2016-4998CWE-125

CVE-2016-4998 is an out-of-bounds read vulnerability in the Linux kernel netfilter implementation of the IPT_SO_SET_REPLACE setsockopt operation. In kernels before 4.6, a crafted offset supplied while replacing an iptables ruleset can cause parsing to cross the boundary of the ruleset blob. This can result in a kernel out-of-bounds read.

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.

A local attacker can cause a denial of service through the invalid kernel memory read. The flaw may also disclose sensitive information residing in kernel heap memory.

Mitigation

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

Until patched kernels are deployed, do not grant untrusted workloads in containers root-equivalent network-administration privileges. Restrict creation and modification of iptables rulesets, enforce least privilege for container capabilities, and limit use of untrusted user or network namespaces where operationally feasible.

Remediation

Patch, then assume compromise.

Update the Linux kernel to version 4.6 or later, or install the vendor-supported kernel update that backports the fix. For Oracle Linux, apply the applicable Oracle Linux security updates through ULN, including the affected kernel or Unbreakable Enterprise Kernel packages.

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
LinuxLinux Kerneloperating_system
Oracle CorporationLinuxoperating_system
FAQ

Frequently asked questions

Is CVE-2016-4998 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2016-4998 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2016-4998?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2016-4998, the earliest disclosed Jun 3, 2016.
Is there a patch for CVE-2016-4998?
Update the Linux kernel to version 4.6 or later, or install the vendor-supported kernel update that backports the fix. For Oracle Linux, apply the applicable Oracle Linux security updates through ULN, including the affected kernel or Unbreakable Enterprise Kernel packages.
What products are affected by CVE-2016-4998?
Linux Kernel, Oracle Corporation Linux, and Canonical Ubuntu Linux.
How severe is CVE-2016-4998?
CVE-2016-4998 has a CVSS v3 score of 7.1 (High) and an EPSS score of 1.9% (80th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 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.