Live threats

All CVEs / tokio-rs

CVE-2025-58160tokio-rs tracing

Low 2.3 No auth needed

Priority
29
CVSS 4.0
2.3
EPSS
—
Auth required
No
Published
Aug 29, 2025
Updated
Oct 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-150
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS: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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for tracing.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io tracing-subscriber < 0.3.20 0.3.20 cargo update -p tracing-subscriber --precise 0.3.20
crates.io tracing-subscriber ≥ 0.0.0-0 < 0.3.20 0.3.20 cargo update -p tracing-subscriber --precise 0.3.20

Per OSV / GitHub Advisories (GHSA-xwfj-jgwm-7wp5, RUSTSEC-2025-0055). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Also: SUSE (+25)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.