CVE-2026-16313
A flaw was found in sg3_utils. The sg_inq command, when invoked …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- access.redhat.com/security/cve/CVE-2026-16313
- bugzilla.redhat.com/show_bug.cgi?id=2502845
- github.com/doug-gilbert/sg3_utils/pull/83
- access.redhat.com/errata/RHSA-2026:50141
- access.redhat.com/errata/RHSA-2026:50142
- access.redhat.com/errata/RHSA-2026:56130
- access.redhat.com/errata/RHSA-2026:54769
- access.redhat.com/errata/RHSA-2026:59397
- nvd.nist.gov/vuln/detail/CVE-2026-16313
- cve.org/CVERecord?id=CVE-2026-16313
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.