CVE-2026-16313

high

Description

A flaw was found in sg3_utils. The sg_inq command, when invoked with the --export option, outputs device identification data without sanitizing control characters in SCSI name string fields. A newline character embedded in a device-supplied name string can inject arbitrary properties into the udev device database. This could allow an attacker who can present a crafted SCSI device to execute arbitrary commands as root when the device is disconnected.

References

https://github.com/doug-gilbert/sg3_utils/pull/83

https://bugzilla.redhat.com/show_bug.cgi?id=2502845

https://access.redhat.com/security/cve/CVE-2026-16313

Details

Source: Mitre, NVD

Published: 2026-07-28

Updated: 2026-07-28

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.6

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

Severity: High