Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export
Historical advisory recorded 4 Nov 2026 23:54:02 UTC. Read the latest advisory.
cve-program · CVE-2026-16313
PublishedA 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-16313 · CVE overview and exploitation status
cve-program · CVE-2026-16313
- https://access.redhat.com/errata/RHSA-2026:50141
- https://access.redhat.com/errata/RHSA-2026:50142
- https://access.redhat.com/errata/RHSA-2026:54769
- https://access.redhat.com/errata/RHSA-2026:56130
- https://access.redhat.com/errata/RHSA-2026:59397
- https://access.redhat.com/errata/RHSA-2026:59555
- https://access.redhat.com/errata/RHSA-2026:59567
- https://access.redhat.com/errata/RHSA-2026:59568
- https://access.redhat.com/errata/RHSA-2026:61260
- https://access.redhat.com/errata/RHSA-2026:61261
- https://access.redhat.com/errata/RHSA-2026:63041
- https://access.redhat.com/errata/RHSA-2026:63044
- https://access.redhat.com/errata/RHSA-2026:63100
- https://access.redhat.com/errata/RHSA-2026:65851
- https://access.redhat.com/errata/RHSA-2026:65907
- https://access.redhat.com/errata/RHSA-2026:67157
- https://access.redhat.com/errata/RHSA-2026:67935
- https://access.redhat.com/errata/RHSA-2026:69124
- https://access.redhat.com/errata/RHSA-2026:70586
- https://access.redhat.com/security/cve/CVE-2026-16313
- https://bugzilla.redhat.com/show_bug.cgi?id=2502845
- https://github.com/doug-gilbert/sg3_utils/pull/83
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.