Quick answers
- Is CVE-2026-16313 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-16313 being exploited in the wild.
- How severe is CVE-2026-16313?
- High severity, with a CVSS score of 7.6, published 28 July 2026.
- Which products and versions are affected?
- Doug Gilbert Sg3 Utils 1.34 through 1.48.
- Is there a fix for CVE-2026-16313?
- A patch was published on 2026-06-06: Fix submitted via upstream Pull Request #83 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-16313 attacked?
- It is attacked with physical access, in a software library.
- Am I affected by CVE-2026-16313?
- Check whether you run Doug Gilbert Sg3 Utils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A CRLF injection vulnerability (CWE-93) exists in the export_dev_ids() function within src/sg_inq.c of sg3_utils. When the 'sg_inq --export' command processes SCSI device identification data from VPD page 0x83, it fails to sanitize control characters in the SCSI name string and ATA subfields. An attacker presenting a crafted SCSI device can embed a newline character in these strings to inject arbitrary properties into the udev database, such as 'REMOVE_CMD'. Because default udev rules often execute 'REMOVE_CMD' when a device is removed, this enables arbitrary command execution as root. The flaw was introduced in commit c410806c and fixed in upstream PR #83.
Affected products
- doug-gilbert sg3_utils 1.34 through 1.48
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Enterprise Linux 10
Timeline
- 2012-02-23: other: Vulnerability introduced in commit c410806c
- 2026-06-06: patched: Fix submitted via upstream Pull Request #83
- 2026-07-20: disclosed: Reported to Red Hat Bugzilla
- 2026-07-28: advisory: CVE published to NVD