- Home
- Vulnerabilities
- CVE-2025-58160
CVE-2025-58160
tracing is a framework for instrumenting Rust programs to collect structured, event-based diagnostic…
Summary
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.
Affected products and versions
crates.io (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| tracing-subscriber | from 0.0.0-0 (included) to 0.3.20 (excluded) |
0.3.20 |
OSV |
Fix
Upgrade — crates.io/tracing-subscriber 0.3.20official source
Source : OSV
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
- — CERT-FR advisory (certfr:CERTFR-2026-AVI-1385)
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 Oct 2026
- RUSTSEC-2025-0055 — Logging user input may result in poisoning logs with ANSI escape sequences 29 Aug 2025
References
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS 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:(CVSS 4.0, CNA:security-advisories@github.com)- Weakness
- CWE-150 · Autre (CWE-150)