CVE-2025-58160: tokio-rs tracing · Improper Neutralization of Escape, Meta, or Control Sequences
Affects tokio-rs tracingSource CVE Database V5
Not known to be exploited · CVSS 2.3 Low : upgrade to 0.3.20 when convenient.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.3.20
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
Weaponised: 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 26 Oct 2026.
What to do
Upgrade tokio-rs tracing to 0.3.20.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| tokio-rs tracing | Affected
| Fixed in
|
AI-suggested
Upgrade tracing-subscriber to version 0.3.20 or later, where the vulnerability is fixed by escaping ANSI control characters in terminal output. No other mitigations are indicated. Patch status is confirmed as fixed in version 0.3.20.
Description
CVE-2025-58160 is a low-severity vulnerability in the tokio-rs tracing framework's tracing-subscriber component prior to version 0.3.20. It involves improper neutralization of ANSI escape sequences in untrusted input that is logged and displayed in terminal emulators. This can allow attackers to inject ANSI sequences that manipulate terminal output, such as changing terminal titles or clearing the screen, potentially misleading users. The issue is fixed in version 0.3.20 by escaping ANSI control characters in terminal output. No known exploits have been reported in the wild.