The sg_ioctl function in drivers/scsi/sg.c in the Linux kernel through 4.10.4 allows local users to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a large command size in an SG_NEXT_CMD_LEN ioctl call, leading to out-of-bounds write access in the sg_write function.
CVE-2017-7187
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2022-05-14. 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)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation0% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 35%
- KEV
- Not listed
Published
March 20, 2017
Last Modified
June 17, 2026
References (16)
- cve@mitrehttp://www.securityfocus.com/bid/96989
- cve@mitrehttp://www.securitytracker.com/id/1038086
- cve@mitrehttps://access.redhat.com/errata/RHSA-2017:1842
- cve@mitrehttps://access.redhat.com/errata/RHSA-2017:2077
- cve@mitrehttps://access.redhat.com/errata/RHSA-2017:2669
- cve@mitrehttps://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b
- cve@mitrehttps://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsi-fixes&id=bf33f87dd04c371ea33feb821b60d63d754e3124
- cve@mitrehttps://source.android.com/security/bulletin/pixel/2017-10-01
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/96989
- af854a3a-2127-422b-91ae-364da2661108http://www.securitytracker.com/id/1038086
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:1842
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:2077
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2017:2669
- af854a3a-2127-422b-91ae-364da2661108https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b
- af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsi-fixes&id=bf33f87dd04c371ea33feb821b60d63d754e3124
Vendor Advisories for CVE-2017-7187(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2017:2669Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel-rt security and bug fix update
- RHSA-2017:1842Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel security, bug fix, and enhancement update
- RHSA-2017:2077Red Hat Product SecurityHigh
Red Hat Security Advisory: kernel-rt security, bug fix, and enhancement update
Patch Availability(10)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | linux-image-extra-4.10.0-27-generic (4.10.0-27.30~16.04.2) @ xenial | 2026-05-22 | ubuntu |
| ubuntu | linux-image-extra-4.4.0-1013-gke (4.4.0-1013.13) @ xenial | 2026-05-22 | ubuntu |
| ubuntu | linux-image-extra-3.13.0-132-generic (3.13.0-132.181) @ trusty | 2026-05-22 | ubuntu |
| ubuntu | linux-image-raspi2 (4.10.0.1005.7) @ zesty | 2026-05-22 | ubuntu |
| ubuntu | linux-image-3.13.0-132-generic-lpae (3.13.0-132.181~precise1) @ precise | 2026-05-22 | ubuntu |
| ubuntu | linux-image-extra-4.4.0-78-generic (4.4.0-78.99) @ xenial | 2026-05-22 | ubuntu |
| ubuntu | linux-image-extra-4.4.0-78-generic (4.4.0-78.99~14.04.2) @ trusty | 2026-05-22 | ubuntu |
| redhat | kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rt | 2017-09-06 | redhat |
| redhat | kernel-0:3.10.0-693.el7 | 2017-08-01 | redhat |
| redhat | kernel-rt-0:3.10.0-693.rt56.617.el7 | 2017-08-01 | redhat |
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.
Affected Packages
(4 across 4 ecosystems)
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 4.9.18-1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 4.9.18-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 4.9.18-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 4.9.18-1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(7)
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.
- UbuntuUSN-3291-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-3291-2MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-3291-3MEDIUM
Linux kernel (Xenial HWE) vulnerabilities
- UbuntuUSN-3293-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-3361-1MEDIUM
Linux kernel (HWE) vulnerabilities
- UbuntuUSN-3422-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-3422-2MEDIUM
Linux kernel (Trusty HWE) vulnerabilities
Data Freshness Timeline
(refreshed 5× in last 7d / 24× 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.
Showing the most recent 100 of 145 total refreshes for this CVE.
- 2026-08-19 16:59 UTCEPSS rescore
- 2026-08-18 13:43 UTCEPSS rescore
- 2026-08-16 14:51 UTCEPSS rescore
- 2026-08-16 02:10 UTCEPSS rescore
- 2026-08-15 01:26 UTCEPSS rescore
- 2026-08-14 04:29 UTCOSV refresh
- 2026-08-12 13:46 UTCEPSS rescore
- 2026-08-09 13:42 UTCEPSS rescore
- 2026-08-08 16:32 UTCEPSS rescore
- 2026-08-07 16:22 UTCEPSS rescore
- 2026-08-06 13:42 UTCEPSS rescore
- 2026-08-06 13:42 UTCEPSS rescore
- 2026-08-05 19:13 UTCEPSS rescore
- 2026-08-02 02:23 UTCEPSS rescore
- 2026-08-02 02:23 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 16:24 UTCEPSS rescore
- 2026-07-30 01:26 UTCEPSS rescore
- 2026-07-29 09:07 UTCOSV refresh
- 2026-07-28 15:32 UTCEPSS rescore
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-26 14:51 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:30 UTCEG score recompute
- 2026-07-22 22:10 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-22 14:04 UTCEPSS rescore
- 2026-07-21 15:21 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-18 10:01 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-16 16:59 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:54 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-13 22:26 UTCEPSS rescore
- 2026-07-12 05:43 UTCEPSS rescore
- 2026-07-12 01:52 UTCOSV refresh
- 2026-07-11 08:24 UTCEPSS rescore
- 2026-07-09 19:06 UTCEPSS rescore
- 2026-07-07 13:42 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 02:20 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-04 06:28 UTCEPSS rescore
- 2026-07-02 16:54 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-28 14:04 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-28 04:53 UTCEPSS rescore
- 2026-06-27 03:06 UTCEPSS rescore
- 2026-06-25 13:47 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 08:30 UTCOSV refresh
- 2026-06-22 14:23 UTCEPSS rescore
- 2026-06-22 14:23 UTCEPSS rescore
- 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:58 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:09 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-10 13:19 UTCEPSS rescore
- 2026-06-08 14:14 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-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 07:34 UTCOSV refresh
- 2026-06-05 22:44 UTCEPSS rescore
- 2026-06-05 22:44 UTCEPSS rescore
- 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
Frequently asked(5)
What is CVE-2017-7187?
When was CVE-2017-7187 disclosed?
Is CVE-2017-7187 actively exploited?
What is the CVSS score of CVE-2017-7187?
How do I remediate CVE-2017-7187?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2017-7187
Is Your Infrastructure Affected by CVE-2017-7187?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.