Advisory

UBUNTU-CVE-2026-16313

Also known as: CVE-2026-16313

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.6, vector CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2026-07-28 17:16 UTC
Modified
2026-10-17 12:58 UTC

Affected packages and fixes

sg3-utils

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.46-1ubuntu0.22.04.2 (ecosystem)

Fixed versions

1.46-1ubuntu0.22.04.2

Fix

  • Fixed version 1.46-1ubuntu0.22.04.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sg3-utils

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.46-3ubuntu4.1 (ecosystem)

Fixed versions

1.46-3ubuntu4.1

Fix

  • Fixed version 1.46-3ubuntu4.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sg3-utils

Debian packages (deb) · Ubuntu 26.10

Affected

  • introduced 0, fixed 1.48-3ubuntu5 (ecosystem)

Fixed versions

1.48-3ubuntu5

Fix

  • Fixed version 1.48-3ubuntu5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

sg3-utils

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.48-3ubuntu3.2 (ecosystem)

Fixed versions

1.48-3ubuntu3.2

Fix

  • Fixed version 1.48-3ubuntu3.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences