CVE-2026-16313

HIGH

Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export

Title source: cna
STIX 2.1

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 (3)

Core 3
Core References
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-16313
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2502845
https://bugzilla.redhat.com/show_bug.cgi?id=2502845

Scores

CVSS v3 7.6
EPSS 0.0024
EPSS Percentile 15.7%
Attack Vector PHYSICAL
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-93
Status published
Products (6)
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat OpenShift Container Platform 4
Published Jul 28, 2026
Tracked Since Jul 28, 2026