{"id":"DEBIAN-CVE-2026-16313","details":"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.","modified":"2026-09-25T08:47:27.669467322Z","published":"2026-07-28T17:16:37.807Z","upstream":["CVE-2026-16313"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-16313"}],"affected":[{"package":{"name":"sg3-utils","ecosystem":"Debian:12","purl":"pkg:deb/debian/sg3-utils?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.46-3","1.46-3.1","1.48-1","1.48-2","1.48-3","1.48-3~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16313.json"}},{"package":{"name":"sg3-utils","ecosystem":"Debian:13","purl":"pkg:deb/debian/sg3-utils?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.48-2","1.48-3","1.48-3~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16313.json"}},{"package":{"name":"sg3-utils","ecosystem":"Debian:14","purl":"pkg:deb/debian/sg3-utils?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.48-2","1.48-3","1.48-3~deb13u1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16313.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}