The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages.
CVE-2017-16939
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2022-05-13. NVD baseline CVSS 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EPSS
- 80.1%
- KEV
- Not listed
Published
November 24, 2017
Last Modified
May 13, 2026
References (28)
- cve@mitrehttp://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2
- cve@mitrehttp://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html
- cve@mitrehttp://seclists.org/fulldisclosure/2017/Nov/40
- cve@mitrehttp://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11
- cve@mitrehttp://www.securityfocus.com/bid/101954
- cve@mitrehttps://access.redhat.com/errata/RHSA-2018:1318
- cve@mitrehttps://access.redhat.com/errata/RHSA-2018:1355
- cve@mitrehttps://access.redhat.com/errata/RHSA-2019:1170
- cve@mitrehttps://access.redhat.com/errata/RHSA-2019:1190
- cve@mitrehttps://blogs.securiteam.com/index.php/archives/3535
- cve@mitrehttps://bugzilla.suse.com/show_bug.cgi?id=1069702
- cve@mitrehttps://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2
- cve@mitrehttps://lists.debian.org/debian-lts-announce/2017/12/msg00004.html
- cve@mitrehttps://www.debian.org/security/2018/dsa-4082
- af854a3a-2127-422b-91ae-364da2661108http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2
Vendor Advisories for CVE-2017-16939(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(14)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Additional Vendor Advisories
(12)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2018:0654IMPORTANT2017-11-24
RHSA-2018:0654 — Important
- Red HatRHSA-2018:1318IMPORTANT2017-11-24
RHSA-2018:1318 — Important
- Red HatRHSA-2018:1355IMPORTANT2017-11-24
RHSA-2018:1355 — Important
- UbuntuUSN-3507-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-3507-2HIGH
Linux kernel (GCP) vulnerabilities
- UbuntuUSN-3508-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-3508-2HIGH
Linux kernel (HWE) vulnerabilities
- UbuntuUSN-3509-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-3509-2HIGH
Linux kernel (Xenial HWE) vulnerabilities
- UbuntuUSN-3510-1HIGH
Linux kernel vulnerabilities
- UbuntuUSN-3510-2HIGH
Linux kernel (Trusty HWE) vulnerabilities
- UbuntuUSN-3511-1HIGH
Linux kernel (Azure) vulnerabilities
Data Freshness Timeline
(refreshed 9× in last 7d / 37× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-11 14:41 UTCOSV refresh
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-08 15:10 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 UTCEPSS rescore
- 2026-07-05 02:27 UTCEPSS rescore
- 2026-07-04 06:28 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-07-01 15:02 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-29 14:03 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:05 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
Show 52 moreShow fewer
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-22 21:05 UTCOSV refresh
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 14:54 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-21 01:57 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-19 19:23 UTCEPSS rescore
- 2026-06-18 17:50 UTCEPSS rescore
- 2026-06-17 17:50 UTCEPSS rescore
- 2026-06-16 17:50 UTCEPSS rescore
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-14 23:14 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 UTCEPSS rescore
- 2026-06-11 13:57 UTCEPSS rescore
- 2026-06-10 22:15 UTCEPSS rescore
- 2026-06-08 14:14 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-07 15:22 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 12:27 UTCOSV refresh
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-05 06:08 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-04 13:10 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-29 13:41 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-26 13:42 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 07:42 UTCEG score recompute
- 2026-05-22 07:42 UTCVendor advisory
- 2026-05-22 07:42 UTCGHSA enrichment
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-20 11:21 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
- 2026-05-18 21:30 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-44049First seen Nov 23, 2017
Linux Kernel (Ubuntu 17.04) - 'XFRM' Local Privilege Escalation
Open source ↗
Related CVEs(same vendor)
Frequently asked(5)
What is CVE-2017-16939?
When was CVE-2017-16939 disclosed?
Is CVE-2017-16939 actively exploited?
What is the CVSS score of CVE-2017-16939?
How do I remediate CVE-2017-16939?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2017-16939
Is Your Infrastructure Affected by CVE-2017-16939?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.