CVE-2025-58160: Rust tracing subscriber · Prior to version 0.3.20, tracing-subscriber was vulnerable to ANSI escape
Affects rust-tracing-subscriberSource GCVE Database
Not known to be exploited · CVSS 2.3 Low.
Data as of 24 Nov 2026, 20:10 UTC
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10rust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10rust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.