CVE-2026-16313

NameCVE-2026-16313
DescriptionA 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sg3-utils (PTS)bullseye1.45-1vulnerable
bookworm1.46-3vulnerable
trixie1.48-2vulnerable
forky, sid1.48-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sg3-utilssource(unstable)(unfixed)

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=2502845
https://github.com/doug-gilbert/sg3_utils/pull/83

Search for package or bug name: Reporting problems