sg3-utils — security advisory
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.
- Products
- sg3-utils
- Affected versions
- 1.46-3, 1.46-3.1, 1.48-1, 1.48-2, 1.48-3, 1.48-3~deb13u1, 1.48-4
- Fixed versions
- 1.48-4
- CVEs
- CVE-2026-16313
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:39 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-16313
sg3-utils
Fixed versions: Not specified
sg3-utils
Fixed versions: Not specified
sg3-utils
Fixed versions: 1.48-4
Complete source record
{
"id": "d727e9400b8ed7e4c19b8ece9ae0f375997757a689104625f9e40ae103ee1ca8",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-16313",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-16313",
"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.",
"evidence": "osv:DEBIAN-CVE-2026-16313",
"products": [
{
"name": {
"value": "sg3-utils",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.46-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.46-3.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.48-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.48-2",
"evidence": "/affected/0/versions"
},
{
"value": "1.48-3",
"evidence": "/affected/0/versions"
},
{
"value": "1.48-3~deb13u1",
"evidence": "/affected/0/versions"
},
{
"value": "1.48-4",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "sg3-utils",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.48-2",
"evidence": "/affected/1/versions"
},
{
"value": "1.48-3",
"evidence": "/affected/1/versions"
},
{
"value": "1.48-3~deb13u1",
"evidence": "/affected/1/versions"
},
{
"value": "1.48-4",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "sg3-utils",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.48-4",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "1.48-2",
"evidence": "/affected/2/versions"
},
{
"value": "1.48-3",
"evidence": "/affected/2/versions"
},
{
"value": "1.48-3~deb13u1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2026-16313",
"aliases": [
"DEBIAN-CVE-2026-16313"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sg3-utils",
"purl": "pkg:deb/debian/sg3-utils?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.46-3",
"1.46-3.1",
"1.48-1",
"1.48-2",
"1.48-3",
"1.48-3~deb13u1",
"1.48-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16313.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "sg3-utils",
"purl": "pkg:deb/debian/sg3-utils?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.48-2",
"1.48-3",
"1.48-3~deb13u1",
"1.48-4"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16313.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.48-4"
}
]
}
],
"package": {
"name": "sg3-utils",
"purl": "pkg:deb/debian/sg3-utils?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.48-2",
"1.48-3",
"1.48-3~deb13u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16313.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:36.016449650Z",
"provider": "osv",
"upstream": [
"CVE-2026-16313"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-16313"
]
},
"related_cves": [
{
"value": "CVE-2026-16313",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 327865,
"published_at": "2026-07-28T17:16:37.807+00:00"
}