# CVE-2026-16313: Sg3_utils: sg3_utils: arbitrary command execution via udev property injection in sg_inq --export

- Severity: High 7.6 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-07-28T16:47:06.471Z
- Modified: 2026-11-11T13:17:26.090Z
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- sg3_utils: no versions given (not affected: from 0:1.48-7.el10_2.1 before *; from 0:1.48-7.el10_0.2 before *; from 1:1.37-20.el7_9 before *; from 0:1.44-6.el8_10.1 before *; from 0:1.44-5.el8_4.1 before *; from 0:1.44-5.el8_6.1 before *; from 0:1.44-6.el8_8.1 before *; from 0:1.47-10.el9_8.1 before *; from 0:1.47-9.el9_2.1 before *; from 0:1.47-9.el9_4.1 before *; from 0:1.47-10.el9_6.2 before *)
- openshift/ose-rhel-coreos-8: no versions given (not affected: from 412.86.202609082051-0 before *)
- openshift/ose-rhel-coreos-9: no versions given (not affected: from 413.92.202611041925-0 before *; from 414.92.202611040941-0 before *; from 415.92.202611051005-0 before *; from 416.94.202609140240-0 before *; from 417.94.202609191027-0 before *; from 418.94.202609031320-0 before *; from 4.19.9.6.202609021231-0 before *; from 4.20.9.6.202609021029-0 before *; from 4.21.9.6.202609021100-0 before *; from 4.22.9.8.202608130832-0 before *)

## References

- <https://access.redhat.com/errata/RHSA-2026:50141> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:50142> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:54769> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:56130> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59397> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59555> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59567> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:59568> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:61260> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:61261> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63041> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63044> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:63100> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65851> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:65907> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:67157> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:67935> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:69124> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:70586> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95508> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95745> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95755> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-16313> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2502845> (issue-tracking)
- <https://github.com/doug-gilbert/sg3_utils/pull/83>

## Sources

- CVE List: [CVE-2026-16313](https://www.cve.org/CVERecord?id=CVE-2026-16313), CVE Terms of Use, modified 2026-11-11
- NVD: [CVE-2026-16313](https://nvd.nist.gov/vuln/detail/CVE-2026-16313), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-16313 · Whole record: https://cve.day/CVE-2026-16313.json · Rebuilt by cve.day 2026-11-25T22:59:30.350Z
