{"id":"CVE-2026-16313","aliases":["CVE-2026-16313"],"related":[],"kind":"vulnerability","state":"published","title":"Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en sg3_utils. El comando sg_inq, cuando se invoca con la opción --export, genera datos de identificación del dispositivo sin sanear los caracteres de control en los campos de cadena de nombre SCSI. Un carácter de nueva línea incrustado en una cadena de nombre proporcionada por el dispositivo puede inyectar propiedades arbitrarias en la base de datos de dispositivos udev. Esto podría permitir a un atacante que puede presentar un dispositivo SCSI manipulado ejecutar comandos arbitrarios como root cuando el dispositivo se desconecta.","source":"nvd"}],"published":"2026-07-28T16:47:06.471Z","modified":"2026-11-11T13:17:26.090Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":7.6,"rating":"HIGH"}],"cwes":["CWE-93"],"affected":[{"ranges":[{"type":"rpm","introduced":"0:1.48-7.el10_2.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"sg3_utils","cpe":"cpe:/o:redhat:enterprise_linux:10.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.48-7.el10_0.2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10.0 Extended Update Support","package":"sg3_utils","cpe":"cpe:/o:redhat:enterprise_linux_eus:10.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"1:1.37-20.el7_9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7 Extended Lifecycle Support","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.44-6.el8_10.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"sg3_utils","cpe":"cpe:/a:redhat:enterprise_linux:8::crb","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.44-5.el8_4.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_aus:8.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.44-5.el8_4.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_aus:8.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.44-5.el8_6.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_aus:8.6::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.44-5.el8_6.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_aus:8.6::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.44-6.el8_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Telecommunications Update Service","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_e4s:8.8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.44-6.el8_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_e4s:8.8::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.47-10.el9_8.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"sg3_utils","cpe":"cpe:/a:redhat:enterprise_linux:9::crb","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.47-9.el9_2.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_e4s:9.2::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.47-9.el9_4.1","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_e4s:9.4::baseos","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.47-10.el9_6.2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.6 Extended Update Support","package":"sg3_utils","cpe":"cpe:/a:redhat:rhel_eus:9.6::crb","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"412.86.202609082051-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.12","package":"openshift/ose-rhel-coreos-8","cpe":"cpe:/a:redhat:openshift:4.12::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"413.92.202611041925-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.13","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.13::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"414.92.202611040941-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.14","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.14::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"415.92.202611051005-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.15","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.15::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"416.94.202609140240-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.16","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.16::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"417.94.202609191027-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.17","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.17::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"418.94.202609031320-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.18","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.18::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.19.9.6.202609021231-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.19","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.19::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.20.9.6.202609021029-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.20","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.20::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.21.9.6.202609021100-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.21","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.21::el9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"4.22.9.8.202608130832-0","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4.22","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:4.22::el9","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"sg3_utils","cpe":"cpe:/o:redhat:rhel_els:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 5","package":"openshift/ose-rhel-coreos-9","cpe":"cpe:/a:redhat:openshift:5","source":"cvelist"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:50141","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50142","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:54769","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:56130","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:59397","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:59555","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:59567","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:59568","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:61260","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:61261","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:63041","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:63044","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:63100","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65851","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:65907","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:67157","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:67935","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:69124","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:70586","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:95508","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:95745","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:95755","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-16313","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2502845","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://github.com/doug-gilbert/sg3_utils/pull/83","tags":[],"sources":["cvelist","nvd"]}],"credits":["Upstream acknowledges Shaomin Chen as the original reporter."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-07-28T19:34:37.859Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-16313","url":"https://www.cve.org/CVERecord?id=CVE-2026-16313","licence":"CVE Terms of Use","modified":"2026-11-11T12:40:47.775Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-16313","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16313","licence":"Public domain","modified":"2026-11-11T13:17:26.090Z"}],"updatedAt":"2026-11-25T22:59:30.350Z","epss":{"score":0.00348,"percentile":0.30455,"date":"2026-12-01T12:00:22.000Z"}}