Security mailing lists by PureSourceCode

CVE-2025-58160

LOW 2.3CVSS 4.0

Tracing logging user input may result in poisoning logs with ANSI escape sequences

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.

Published
29 Aug 2025
Last modified
18 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-150
Also known as
GHSA-xwfj-jgwm-7wp5RUSTSEC-2025-0055
Sources
NVDJSONOSV GHSA-xwfj-jgwm-7wp5JSONOSV RUSTSEC-2025-0055JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 LOW 2.3 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:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io tracing-subscriber < 0.3.20 0.3.20
OSV crates.io tracing-subscriber >= 0.0.0-0, < 0.3.20 0.3.20

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 29 Aug 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Aug 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Aug 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.