CVE-2026-16313
Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export
Check your servers for CVE-2026-16313
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-16313 affects sg3_utils, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Attack vector
- physical: the attacker has to touch the device
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.35%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 30.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 28 Jul 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-93 Improper Neutralization of CRLF Sequences
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
Red Hat Enterprise Linux 10
package
sg3_utils |
unaffected 0:1.48-7.el10_2.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 10.0 Extended Update Support
package
sg3_utils |
unaffected 0:1.48-7.el10_0.2 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 7 Extended Lifecycle Support
package
sg3_utils |
unaffected 1:1.37-20.el7_9 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8
package
sg3_utils |
unaffected 0:1.44-6.el8_10.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
package
sg3_utils |
unaffected 0:1.44-5.el8_4.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
package
sg3_utils |
unaffected 0:1.44-5.el8_4.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
package
sg3_utils |
unaffected 0:1.44-5.el8_6.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
package
sg3_utils |
unaffected 0:1.44-5.el8_6.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Telecommunications Update Service
package
sg3_utils |
unaffected 0:1.44-6.el8_8.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
package
sg3_utils |
unaffected 0:1.44-6.el8_8.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9
package
sg3_utils |
unaffected 0:1.47-10.el9_8.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
package
sg3_utils |
unaffected 0:1.47-9.el9_2.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
package
sg3_utils |
unaffected 0:1.47-9.el9_4.1 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 9.6 Extended Update Support
package
sg3_utils |
unaffected 0:1.47-10.el9_6.2 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.12
package
openshift/ose-rhel-coreos-8 |
unaffected 412.86.202609082051-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.13
package
openshift/ose-rhel-coreos-9 |
unaffected 413.92.202611041925-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.14
package
openshift/ose-rhel-coreos-9 |
unaffected 414.92.202611040941-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.15
package
openshift/ose-rhel-coreos-9 |
unaffected 415.92.202611051005-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.16
package
openshift/ose-rhel-coreos-9 |
unaffected 416.94.202609140240-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.17
package
openshift/ose-rhel-coreos-9 |
unaffected 417.94.202609191027-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.18
package
openshift/ose-rhel-coreos-9 |
unaffected 418.94.202609031320-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.19
package
openshift/ose-rhel-coreos-9 |
unaffected 4.19.9.6.202609021231-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.20
package
openshift/ose-rhel-coreos-9 |
unaffected 4.20.9.6.202609021029-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.21
package
openshift/ose-rhel-coreos-9 |
unaffected 4.21.9.6.202609021100-0 and later
Other versions: affected
|
|
Red Hat OpenShift Container Platform 4.22
package
openshift/ose-rhel-coreos-9 |
unaffected 4.22.9.8.202608130832-0 and later
Other versions: affected
|
|
Red Hat Enterprise Linux 6
package
sg3_utils |
unaffected the record does not list versions
|
|
Red Hat OpenShift Container Platform 5
package
openshift/ose-rhel-coreos-9 |
affected the record does not list versions
|
Is my server affected?
Find the installed version of sg3_utils and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i sg3_utils
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-16313 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-16313RHEL, Rocky, Alma, Fedora
rpm -q sg3_utils
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-16313Alpine
apk list --installed | grep -i sg3_utilsWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-16313
trivy image --scanners vuln IMAGE | grep CVE-2026-16313
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- RHSA-2026:50141 access.redhat.com · vendor advisory
- RHSA-2026:50142 access.redhat.com · vendor advisory
- RHSA-2026:54769 access.redhat.com · vendor advisory
- RHSA-2026:56130 access.redhat.com · vendor advisory
- RHSA-2026:59397 access.redhat.com · vendor advisory
- RHSA-2026:59555 access.redhat.com · vendor advisory
- RHSA-2026:59567 access.redhat.com · vendor advisory
- RHSA-2026:59568 access.redhat.com · vendor advisory
- RHSA-2026:61260 access.redhat.com · vendor advisory
- RHSA-2026:61261 access.redhat.com · vendor advisory
- RHSA-2026:63041 access.redhat.com · vendor advisory
- RHSA-2026:63044 access.redhat.com · vendor advisory
12 more
- RHSA-2026:63100 access.redhat.com · vendor advisory
- RHSA-2026:65851 access.redhat.com · vendor advisory
- RHSA-2026:65907 access.redhat.com · vendor advisory
- RHSA-2026:67157 access.redhat.com · vendor advisory
- RHSA-2026:67935 access.redhat.com · vendor advisory
- RHSA-2026:69124 access.redhat.com · vendor advisory
- RHSA-2026:70586 access.redhat.com · vendor advisory
- RHSA-2026:95508 access.redhat.com · vendor advisory
- RHSA-2026:95745 access.redhat.com · vendor advisory
- RHSA-2026:95755 access.redhat.com · vendor advisory
- https://access.redhat.com/security/cve/CVE-2026-16313 access.redhat.com · vdb entry
- RHBZ#2502845 bugzilla.redhat.com · issue tracking
Other references
Source: the record CVE-2026-16313 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse