CVE-2017-17806 in Canonical Ubuntu Linux and 7 more products
The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker able to use the AF_ALG-based hash interface (CONFIG_CRYPTO_USER_API_HASH) and the SHA-3 hash algorithm (CONFIG_CRYPTO_SHA3) to cause a ker...
Affects 8 products from 6 vendors. Facts below cite their sources.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 16.04 17.10 |
| Debian | Debian Linux | 8.0 9.0 |
| Linux | Linux Kernel | < 3.2.97 ≥ 3.3, < 3.16.52 ≥ 3.17, < 3.18.89 ≥ 3.19, < 4.1.49 ≥ 4.2, < 4.4.107 ≥ 4.5, < 4.9.71+1 more≥ 4.10, < 4.14.8 |
| Opensuse | Leap | 42.2 |
| Opensuse Project | Leap | 42.3 |
| Suse | Linux Enterprise Server For Raspberry Pi | 12 |
| Suse | Linux Enterprise Server | 11 12 |
| Suse | Linux Enterprise Desktop | 12 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker able to use the AF_ALG-based hash interface (CONFIG_CRYPTO_USER_API_HASH) and the SHA-3 hash algorithm (CONFIG_CRYPTO_SHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2017-17806 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-117586-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2017-12-20 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2017. A high severity vulnerability affects Canonical systems (CVE-2017-17806). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The HMAC implementation (crypto/hmac.c) in the Linux kernel before 4.14.8 does not validate that the underlying cryptographic hash algorithm is unkeyed, allowing a local attacker able to use the AF_ALG-based hash interface (CONFIG_CRYPTO_USER_API_HASH) and the SHA-3 hash algorithm (CONFIG_CRYPTO_SHA3) to cause a kernel stack buffer overflow by executing a crafted sequence of system calls that encounter a missing SHA-3 initialization. CVSS vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Questions
What is CVE-2017-17806?
This vulnerability was disclosed in 2017. A high severity vulnerability affects Canonical systems (CVE-2017-17806). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2017-17806?
CVE-2017-17806 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.6%.
Is CVE-2017-17806 actively exploited?
No confirmed active exploitation of CVE-2017-17806 as of 2026-09-25.
How do I remediate CVE-2017-17806?
Priority: MEDIUM.
What systems are affected by CVE-2017-17806?
CVE-2017-17806 affects Canonical Ubuntu Linux; Debian Debian Linux; Linux Linux Kernel; Opensuse Leap; Opensuse Project Leap; Suse Linux Enterprise Server For Raspberry Pi, Linux Enterprise Server, Linux Enterprise Desktop.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.