{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-7187","published":"2017-03-20T14:59:00.153000Z","last_modified":"2026-06-17T01:23:50.013000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-119"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_end_excluding":"3.18.50"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.19","version_end_excluding":"4.1.40"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.2","version_end_excluding":"4.4.60"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.5","version_end_excluding":"4.9.21"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"4.10","version_end_excluding":"4.10.9"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"epss":{"score":0.00414,"percentile":0.27399,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2017-7187/","html_en":"/en/cve/CVE-2017-7187/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-7187","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-7187"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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.","affected":[],"references":[{"url":"http://www.securityfocus.com/bid/96989","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1038086","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1842","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2077","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:2669","tags":["Third Party Advisory"]},{"url":"https://gist.github.com/dvyukov/48ad14e84de45b0be92b7f0eda20ff1b","tags":["Third Party Advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?h=4.11/scsi-fixes&id=bf33f87dd04c371ea33feb821b60d63d754e3124","tags":["Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://source.android.com/security/bulletin/pixel/2017-10-01","tags":["Third Party Advisory"]}]}}