CVE-2025-58160: tokio-rs tracing
Vulnerability summary
CVE-2025-58160 is a low (CVSS 2.3) vulnerability in tokio-rs tracing. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 26.1% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 22 · Related 47Timeline
- 29-08-2025PublishedVulnerability first disclosed.
- 02-09-2025Last modifiedVulnerability information updated.
Description
tracing is a framework for instrumenting Rust programs to collect structured, event-based diagnostic information. Prior to version 0.3.20, tracing-subscriber was vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to manipulate terminal title bars, clear screens or modify terminal display, and potentially mislead users through terminal manipulation. tracing-subscriber version 0.3.20 fixes this vulnerability by escaping ANSI control characters when writing events to destinations that may be printed to the terminal. A workaround involves avoiding printing logs to terminal emulators without escaping ANSI control sequences.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · WolfiEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- OSV · Crates.ioEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
- NVDNIST2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
26%
Versus all other CVEs
30-day change
+0.02 pp
From 0.33% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard89 products
- atuin< 18.8.0-r1
- berg< 0.4.11-r2
- buck2< 20250401-r4
- cargo-audit< 0.21.2-r7
- cargo-c< 0.10.15-r1
Wolfi71 products
- atuin< 18.8.0-r1
- berg< 0.4.11-r2
- buck2< 20250401-r4
- cargo-audit< 0.21.2-r7
- cargo-c< 0.10.15-r1
Opensuse15 products
- bpftop&distro=openSUSE Tumbleweed< 0.7.1-1.1
- cargo-packaging&distro=openSUSE Leap 15.6< 1.3.0+0-150600.3.3.1
- cargo-packaging&distro=openSUSE Tumbleweed< 1.3.0+0-2.1
- himmelblau&distro=openSUSE Tumbleweed< 1.2.2+git.0.2d04bca-1.1
- loupe&distro=openSUSE Leap 16.0< 48.2-160000.1.1
Suse10 products
- himmelblau&distro=SUSE Linux Enterprise Module for Basesystem 15 SP7< 0.7.18+git.0.8485a75-150700.3.6.1
- loupe&distro=SUSE Linux Enterprise Server 16.0< 48.2-160000.1.1
- loupe&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 48.2-160000.1.1
- python-maturin&distro=SUSE Linux Enterprise Server 16.0< 1.8.7-160000.3.1
- python-maturin&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 1.8.7-160000.3.1
Crates.Io1 product
- tracing-subscriber< 0.3.20 | ≥ 0.0.0-0, < 0.3.20
Debian1 product
- rust-tracing-subscriberAll versions (No fix recorded) | < 0.3.20-1
Tokio-rs1 product
- tracing< 0.3.20
Ubuntu1 product
- rust-tracing-subscriberAll versions (No fix recorded)
8 vendors · 189 products
References
25 links- github.com/tokio-rs/tracing/security/advisories/GHSA-xwfj-jgwm-7wp5X Refsource CONFIRMREPORTAdvisoryWEB
Show all 25 references
- github.com/tokio-rs/tracingPACKAGE