Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2017-7187
linux linux kernel

Score7.8 High
CVSS 3.1
Exploit probability (EPSS)0.41%
within the next 30 days
CategoryMemory corruption
Published20 March 2017
Last modified: 17 June 2026

In short

This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: Buffer bounds violation.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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.

CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-119 – Buffer bounds violation

Affected products

VendorProductVersions
linuxlinux kernel<3.18.50
linuxlinux kernel>=3.19 <4.1.40
linuxlinux kernel>=4.2 <4.4.60
linuxlinux kernel>=4.5 <4.9.21
linuxlinux kernel>=4.10 <4.10.9

Sources

Latest in the same category

  • CVE-2026-120667 High 7.5
    Issue summary: An application that parses a maliciously crafted DER CRL, certificate or CSR from a buffer larger than 4 GiB may trigger a heap buffer overflow when OpenSSL re-encodes the item's cached encoding. Impact…
    Memory corruption · 1 December 2026
  • CVE-2026-86086 Medium 6.1
    The CONFIG_USERSPACE syscall verifier for getsockopt() in subsys/net/lib/sockets/sockets.c dereferenced the caller-supplied optlen pointer without validating it. z_vrfy_zsock_getsockopt() began with net_socklen_t…
    Memory corruption · 1 December 2026
  • CVE-2026-140419 Medium 5.7
    Wasmtime 47.0.0 before 48.0.9, 49.0.0 before 49.0.6, and 50.0.0 before 50.0.2 does not set needs_gc_heap for collector-agnostic GC operations such as ref.test, so compiled code can reuse a stale null GC heap base…
    Memory corruption · 1 December 2026
  • CVE-2026-140378 Medium 6.3
    ImageMagick before 7.1.2-36 contains an uninitialized pointer dereference vulnerability in the MSL decoder that allows attackers to crash the application by supplying crafted input. Attackers can provide a crafted MSL…
    Memory corruption · 1 December 2026
  • CVE-2026-140377 Medium 6.3
    ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the image registry that occurs when the registry is used concurrently. Attackers can supply a set of crafted images that…
    Memory corruption · 1 December 2026
  • CVE-2026-140376 Low 2.1
    ImageMagick before 6.9.13-61 and 7.x before 7.1.2-36 contains a use after free vulnerability in the MPC image decoder when processing a crafted MPC image together with its associated cache file. Attackers who supply…
    Memory corruption · 1 December 2026