Vulnerability · Published Jul 28, 2026 · Assigned by redhat
CVE-2026-16313Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export
High 7.6
In plain English
A high-severity security flaw in Red Hat Enterprise Linux 10 from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | sg3_utils | 1.48-7.el10_2.1 | ALSA-2026:50142 |
| AlmaLinux:8 | sg3_utils | 1.44-6.el8_10.1 | ALSA-2026:56130 |
| AlmaLinux:9 | sg3_utils | 1.47-10.el9_8.1 | ALSA-2026:50141 |
| AlmaLinux:10 | sg3_utils-devel | 1.48-7.el10_2.1 | ALSA-2026:50142 |
| AlmaLinux:8 | sg3_utils-devel | 1.44-6.el8_10.1 | ALSA-2026:56130 |
| AlmaLinux:9 | sg3_utils-devel | 1.47-10.el9_8.1 | ALSA-2026:50141 |
| AlmaLinux:10 | sg3_utils-libs | 1.48-7.el10_2.1 | ALSA-2026:50142 |
| AlmaLinux:8 | sg3_utils-libs | 1.44-6.el8_10.1 | ALSA-2026:56130 |
| AlmaLinux:9 | sg3_utils-libs | 1.47-10.el9_8.1 | ALSA-2026:50141 |
| Debian:12 | sg3-utils | no fix listed | DEBIAN-CVE-2026-16313 |
| Debian:13 | sg3-utils | no fix listed | DEBIAN-CVE-2026-16313 |
| Debian:14 | sg3-utils | 1.48-4 | DEBIAN-CVE-2026-16313 |
| Rocky Linux:10 | sg3_utils | 0:1.48-7.el10_2.1 | RLSA-2026:50142 |
| Rocky Linux:8 | sg3_utils | 0:1.44-6.el8_10.1 | RLSA-2026:56130 |
| Rocky Linux:9 | sg3_utils | 0:1.47-10.el9_8.1 | RLSA-2026:50141 |
| Ubuntu:22.04:LTS | sg3-utils | 1.46-1ubuntu0.22.04.2 | USN-8874-1 |
| Ubuntu:22.04:LTS | sg3-utils | 1.46-1ubuntu0.22.04.2 | UBUNTU-CVE-2026-16313 |
| Ubuntu:24.04:LTS | sg3-utils | 1.46-3ubuntu4.1 | UBUNTU-CVE-2026-16313 |
| Ubuntu:24.04:LTS | sg3-utils | 1.46-3ubuntu4.1 | USN-8874-1 |
| Ubuntu:26.04:LTS | sg3-utils | 1.48-3ubuntu3.2 | UBUNTU-CVE-2026-16313 |
| Ubuntu:26.04:LTS | sg3-utils | 1.48-3ubuntu3.2 | USN-8874-1 |
| Ubuntu:26.10 | sg3-utils | 1.48-3ubuntu5 | UBUNTU-CVE-2026-16313 |
Affected products (as reported)
Weakness: CWE-93 · Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- RHSA-2026:50141 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:50142 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:54769 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:56130 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:59397 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:59555 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:59567 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:59568 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:61260 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:61261 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:63041 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:63044 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:63100 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:65851 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:65907 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:67157 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:67935 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:69124 vendor-advisory, x_refsource_REDHAT
- RHSA-2026:70586 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-16313 vdb-entry, x_refsource_REDHAT
- RHBZ#2502845 issue-tracking, x_refsource_REDHAT
- https://github.com/doug-gilbert/sg3_utils/pull/83