CVE-2026-16313 Details
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.
A command injection vulnerability has been identified in the sg3_utils package, specifically in versions 1.34 through 1.48. The issue arises in the sg_inq command when used with the --export option, as it outputs SCSI device identification data without properly sanitizing control characters in the SCSI name string fields. This lack of sanitation allows a newline character embedded in a device-supplied name to split the output into multiple lines, injecting arbitrary properties into the udev device database. As a result, an attacker presenting a crafted SCSI device could execute arbitrary commands as root when the device is disconnected.
The upstream fix for this vulnerability has not yet been released in a tagged version of sg3_utils. Users can mitigate the issue by removing or commenting out the REMOVE_CMD rule in the 50-udev-default.rules file, or by disabling the udev rule that automatically invokes sg_inq --export on device connection.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-93 | Improper Neutralization of CRLF Sequences ('CRLF Injection') | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
29 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 11, 2026 | CVE Modified | [email protected] |
| Nov 11, 2026 | CVE Modified | [email protected] |
| Nov 9, 2026 | CVE Modified | [email protected] |
| Nov 4, 2026 | CVE Modified | [email protected] |
| Oct 31, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Translated | [email protected] |
| Oct 8, 2026 | CVE Modified | [email protected] |
| Oct 1, 2026 | CVE Modified | [email protected] |
| Sep 24, 2026 | CVE Modified | [email protected] |
| Sep 21, 2026 | CVE Modified | [email protected] |
| Sep 17, 2026 | CVE Modified | [email protected] |
| Sep 17, 2026 | CVE Modified | [email protected] |
| Sep 14, 2026 | CVE Modified | [email protected] |
| Sep 9, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Sep 8, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 25, 2026 | CVE Modified | [email protected] |
| Aug 25, 2026 | CVE Modified | [email protected] |
| Aug 24, 2026 | CVE Modified | [email protected] |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Aug 18, 2026 | CVE Modified | [email protected] |
| Aug 18, 2026 | CVE Modified | [email protected] |
| Aug 4, 2026 | CVE Modified | [email protected] |
| Aug 4, 2026 | CVE Modified | [email protected] |
| Jul 28, 2026 | CVE Modified | CISA-ADP |
| Jul 28, 2026 | CVE Modified | [email protected] |
| Jul 28, 2026 | New CVE Received | [email protected] |