cve.bz

CVE-2025-58160 tokio-rs tracing

2.3 lowEPSS 0.6%Fix available

Low (2.3) in tokio-rs tracing. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in tracing-subscriber 0.3.20.

On this page
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.

Severity

CVSS 4.0

2.3 low
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
EPSS
0.6% (up from 0.4% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-29. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-09-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-150 Improper Neutralization of Escape, Meta, or Control Sequences
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-58160 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58160?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58160?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-58160 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
tokio-rs tracing< 0.3.20

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-xwfj-jgwm-7wp5crates.iotracing-subscriber<0.3.200.3.20
RUSTSEC-2025-0055crates.iotracing-subscriber>=0.0.0-0 <0.3.200.3.20

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13rust-tracing-subscriberno fix listedDEBIAN-CVE-2025-58160
Debian14rust-tracing-subscriber0.3.20-1DEBIAN-CVE-2025-58160
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morerust-tracing-subscriberno fix listedUBUNTU-CVE-2025-58160
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morerustup1.28.2~0-150400.3.13.1SUSE-SU-2026:2831-1
SUSELinux Enterprise Module for Basesystem 15 SP7himmelblau0.7.18+git.0.8485a75-150700.3.6.1SUSE-SU-2025:3869-1
SUSELinux Enterprise Module for Basesystem 15 SP7himmelblau2.3.9+git0.a9fd29b-150700.3.15.1SUSE-SU-2026:1361-1
SUSELinux Enterprise Module for Development Tools 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6rustup1.28.2~0-150600.10.13.1SUSE-SU-2026:2832-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0agama17+699.92879916c-160000.13.1SUSE-SU-2026:24236-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0cargo-c0.10.15-160000.1.1SUSE-SU-2026:20096-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0glycin-loaders1.2.1-160000.3.1SUSE-SU-2026:22302-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0gstreamer-devtools1.26.7-160000.2.1SUSE-SU-2026:23572-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0himmelblau0.9.23+git.0.9776141-160000.1.1SUSE-SU-2025:21158-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0himmelblau2.3.8+git0.dec3693-160000.1.1SUSE-FU-2026:20990-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0loupe48.2-160000.1.1SUSE-SU-2026:22380-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-maturin1.8.7-160000.3.1SUSE-SU-2026:20335-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6cargo-packaging1.3.0+0-150600.3.3.1SUSE-SU-2025:4091-1
openSUSELeap 15.6python-maturin1.4.0-150600.3.9.1SUSE-SU-2025:03082-1
openSUSELeap 15.6rust-bindgen0.72.0-150600.13.3.1SUSE-SU-2025:4091-1
openSUSELeap 16.0agama17+699.92879916c-160000.13.1openSUSE-SU-2026:22075-1
openSUSELeap 16.0cargo-c0.10.15-160000.1.1openSUSE-SU-2026:20060-1
openSUSELeap 16.0glycin-loaders1.2.1-160000.3.1openSUSE-SU-2026:21134-1
openSUSELeap 16.0gstreamer-devtools1.26.7-160000.2.1openSUSE-SU-2026:21689-1
openSUSELeap 16.0himmelblau0.9.23+git.0.9776141-160000.1.1openSUSE-SU-2025:20114-1
openSUSELeap 16.0himmelblau2.3.8+git0.dec3693-160000.1.1openSUSE-FU-2026:20453-1
openSUSELeap 16.0loupe48.2-160000.1.1openSUSE-SU-2026:21074-1
openSUSELeap 16.0python-maturin1.8.7-160000.3.1openSUSE-SU-2026:20180-1
openSUSELeap 16.0python-ruff0.11.13-160000.3.1openSUSE-SU-2026:21741-1
16 more for openSUSE in the JSON and on openSUSE's page.
Azure Linux2rpm-ostree2022.1-8AZL-73244
Azure Linux2rustno fix listedAZL-73247
Azure Linux3kata-containers3.19.1.kata3-6AZL-73211
Azure Linux3kata-containers-previewno fix listedAZL-81206
Azure Linux3rpm-ostree2024.4-8AZL-73217
Azure Linux3rust1.75.0-25AZL-73220
Azure Linux3rust1.90.0-4AZL-73223
Azure Linux3trident0.22.0-1AZL-78618

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Confidential Compute Attestationbuild-of-trustee/trustee-rhel9Fix deferred
Confidential Compute Attestationconfidential-compute-attestation-tech-preview/trustee-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-monitor-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-must-gather-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-operator-bundleFix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Fix deferred
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorFix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-cni-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-must-gather-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-pilot-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-proxyv2-rhel9Fix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-rhel9-operatorFix deferred
OpenShift Service Mesh 3openshift-service-mesh/istio-sail-operator-bundleFix deferred
34 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-58160.

Attack patterns (CAPEC)

  • CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-134 Email Injection Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON