#1143004 sg3-utils: CVE-2026-16313

Package:
src:sg3-utils
Source:
src:sg3-utils
Submitter:
Salvatore Bonaccorso
Date:
2026-07-29 13:35:02 UTC
Severity:
normal
Tags:
#1143004#5
Date:
2026-07-29 13:32:12 UTC
From:
To:
Hi,

The following vulnerability was published for sg3-utils.

CVE-2026-16313[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-16313
https://www.cve.org/CVERecord?id=CVE-2026-16313
[1] https://bugzilla.redhat.com/show_bug.cgi?id=2502845
[2] https://github.com/doug-gilbert/sg3_utils/pull/83

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore