FlawAtlas
Search the atlas
CVE-2025-58160 Low

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.

Exploit probability 0.3%
Published August 29, 2025
Required by Not available
Last source change July 15, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown

228 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related OPENSUSE-FU-2026:20453-1
related OPENSUSE-SU-2025:15512-1
related OPENSUSE-SU-2025:15514-1
related OPENSUSE-SU-2025:15517-1
related OPENSUSE-SU-2025:15518-1
related OPENSUSE-SU-2025:15519-1
related OPENSUSE-SU-2025:15540-1
related OPENSUSE-SU-2025:15550-1
related OPENSUSE-SU-2025:15551-1
related OPENSUSE-SU-2025:15552-1
related OPENSUSE-SU-2025:20114-1
related OPENSUSE-SU-2026:20026-1
related OPENSUSE-SU-2026:20060-1
related OPENSUSE-SU-2026:20180-1
related SUSE-FU-2026:20990-1
related SUSE-SU-2025:03082-1
related SUSE-SU-2025:21158-1
related SUSE-SU-2025:3869-1
related SUSE-SU-2025:4091-1
related SUSE-SU-2026:1361-1
related SUSE-SU-2026:20077-1
related SUSE-SU-2026:20096-1
related SUSE-SU-2026:20235-1
related SUSE-SU-2026:20335-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2025-58160

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.

View original source

05 / REFERENCES

Further evidence