---
cve: "CVE-2016-4997"
severity: "LOW"
cvss: 3.1
epss: "5.7%"
vendor: "n/a"
kev: false
exploited: false
published: "2016-07-03 21:59:16"
tags: [cve, security, low]
source: tsecurity.de CVE-Dossier
exported: "2026-09-18T10:29:24+02:00"
---

# CVE-2016-4997

> 3.1 LOW · 🧪 PoC

## Beschreibung

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.

## Exploit-Evidenz

- [EDB-40435 — Linux Kernel 4.6.3 (x86) - 'Netfilter' Local Privilege Escalation (Metasploit)](https://www.exploit-db.com/exploits/40435) ✅
- [EDB-40489 — Linux Kernel 4.6.2 (Ubuntu 16.04.1) - 'IP6T_SO_SET_REPLACE' Local Privilege Escalation](https://www.exploit-db.com/exploits/40489)

## Patch verfügbar (OSV)

- ce683e5f9d045e5d67d1312a42b359cb2ab2a13c (Commit)
- ce683e5f9d045e5d67d1312a42b359cb2ab2a13c (Commit)

## Referenzen

- <http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00053.html>
- <http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html>
- <http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00060.html>
- <http://www.ubuntu.com/usn/USN-3017-1>
- <http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html>
- <http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00007.html>
- <http://www.ubuntu.com/usn/USN-3017-3>
- <http://rhn.redhat.com/errata/RHSA-2016-1847.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1349722>
- <http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00055.html>
- <http://www.ubuntu.com/usn/USN-3018-2>
- <http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00048.html>
- <http://www.ubuntu.com/usn/USN-3017-2>
- <http://rhn.redhat.com/errata/RHSA-2016-1875.html>
- <http://www.ubuntu.com/usn/USN-3019-1>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2016-4997) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
