Skip to main content
CVE-2025-58160VulnerabilityPublished Updated

CVE-2025-58160: tokio-rs tracing · Improper Neutralization of Escape, Meta, or Control Sequences

Affects tokio-rs tracingSource CVE Database V5

0

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

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
tokio-rs tracingAffected
  • <0.3.20
Fixed in
  • 0.3.20

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.

References

Community reviews

Loading reviews…