Skip to main content
VulnerabilityPublished Updated

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

0
Compare
Authoritative record:CVE-2025-58160· Low 2.3

Not known to be exploited · CVSS 2.3 Low.

Data as of 24 Nov 2026, 20:10 UTC

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

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10rust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=stonkingOther threatsAffected
  • =0.3.22-2
  • =0.3.23-1
Fixed in–
Ubuntu 26.04 LTSrust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=resoluteOther threatsAffected
  • =0.3.18-4
  • =0.3.20-1
  • =0.3.22-2
Fixed in–
Ubuntu 25.10rust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=questingOther threatsAffected
  • =0.3.18-4
Fixed in–
Ubuntu 24.04 LTSrust-tracing-subscriberpkg:deb/ubuntu/rust-tracing-subscriber?arch=source&distro=nobleOther threatsAffected
  • =0.3.17-1
  • =0.3.18-1
  • =0.3.18-2
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.

References

Community reviews

Loading reviews…