# CVE-2025-58160: Tracing logging user input may result in poisoning logs with ANSI escape sequences

- Priority: **Routine**
- Reason: Not severe (CVSS 2.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-29 · Modified: 2025-09-02
- Aliases: SUSE-SU-2025:3869-1, SUSE-SU-2026:20235-1, SUSE-SU-2026:20335-1, SUSE-SU-2026:22380-1, SUSE-SU-2026:23567-1, SUSE-SU-2026:23607-1, UBUNTU-CVE-2025-58160, DEBIAN-CVE-2025-58160, CGA-29mr-ggcr-hwcg, CGA-2c7h-g9cf-hr5g, CGA-2c8g-5g9r-8j64, CGA-2f94-5f22-2v5q, CGA-2qcc-2hg3-2h55, CGA-2r96-xwv5-g55x, CGA-2w96-xvxf-p9fh, CGA-382h-m3q6-cxm4, CGA-3mfv-36qg-7ccc, CGA-3p4v-rhpr-qh3g, CGA-3q75-3r37-6qp5, CGA-3v38-v83r-w2x3, CGA-44c5-v3pw-34w6, CGA-45m2-9pjr-c9x8, CGA-476x-w26j-rgq6, CGA-499g-hv75-f9x2, CGA-4g93-8r78-m6x4, CGA-4m52-vg62-95j5, CGA-4q93-jxf9-5vfp, CGA-4w89-jqr3-5pg3, CGA-562f-hpjw-qg97, CGA-57wh-r39x-c2jp, CGA-59hf-6q92-m8q8, CGA-5j4f-xg3r-5rxr, CGA-5mx5-j7f3-pwjj, CGA-63f4-jm2g-vv9g, CGA-65jg-j445-2q63, CGA-685c-rf88-3w55, CGA-68p9-rpgp-x5r4, CGA-6jg5-jjmh-5hc6, CGA-6mv6-pjqw-jw63, CGA-6r5w-xh4m-89hj, CGA-6x5q-f566-qfhc, CGA-6xr5-m4rc-rc89, CGA-737g-fpfg-9c9c, CGA-7cc4-22w2-f9m5, CGA-7m87-6xx3-8x9h, CGA-7p6f-hqwf-whc8, CGA-7q55-qp5q-xxr6, CGA-7r6m-fmrc-c59x, CGA-7wgx-7x4f-294q, CGA-82ph-7pph-vjq5, CGA-832r-c6gj-6396, CGA-8j46-q78x-m999, CGA-8r9v-px45-vpv9, CGA-8rqm-hr5q-mx6q, CGA-8ww4-94cc-hcjw, CGA-8xqf-hmgr-cxvp, CGA-94ch-rjfp-xgfj, CGA-95qg-vvw6-749g, CGA-98m5-xph2-97rp, CGA-9c9p-xhcw-rmfg, CGA-9f3h-4456-r5jv, CGA-9hpv-8w76-5m5h, CGA-9qp6-f9m8-f5c4, CGA-9wxc-3mq6-936x, CGA-c3hr-8v4h-www6, CGA-c3m4-r8qj-hc38, CGA-c4j5-2gvw-689g, CGA-cchx-mgjq-f8wm, CGA-cjpx-x45h-rcw6, CGA-cqgq-8q2c-hww8, CGA-cw46-v9mp-g5hc, CGA-f2q6-g328-wv7r, CGA-f2q7-vvwq-w392, CGA-f8xx-v7h8-9fx9, CGA-fcfc-9mhf-jr9q, CGA-ff6g-65mh-r747, CGA-fg63-8jpp-xr2v, CGA-fwmh-rcpm-g22q, CGA-g3pm-pw9f-c4wm, CGA-g43m-hjf2-4j3v, CGA-g442-cw9x-rvv6, CGA-g6c7-xp7j-cf97, CGA-grx8-p232-7g8w, CGA-gw35-pfcx-37pj, CGA-h86v-cf2j-95w2, CGA-hpfc-hxxq-cfff, CGA-hvw2-9m68-4mjc, CGA-j266-xx79-7cfj, CGA-j5c4-86p6-cg24, CGA-j7hf-qg6p-7rmw, CGA-jfg6-xj28-h324, CGA-jghv-4vgq-wj4p, CGA-jjm4-mwcf-59wv, CGA-jwfq-9cw3-mghc, CGA-m3wr-cvc8-83r7, CGA-m4v5-p3cc-cv6q, CGA-m76r-r5gv-r852, CGA-mchm-hj2w-f54p, CGA-mf5q-3vcq-jmqj, CGA-mfpf-jq46-x78m, CGA-mmjv-vx6c-rr2c, CGA-mr9g-6r9c-42j5, CGA-p4jr-8cfc-qrj7, CGA-p6c7-w542-pwgc, CGA-p7w4-h483-wxpj, CGA-pc28-68cg-954h, CGA-pfrq-j3fr-xr6g, CGA-phjh-cwf9-9xm4, CGA-ppxq-52vp-c5pc, CGA-pvxp-q3c3-j5wh, CGA-px7h-hv46-pjgv, CGA-q473-9w4x-74vw, CGA-q4jp-m6v9-3f28, CGA-q8v2-fww4-48vv, CGA-q976-9gc4-wc5h, CGA-qf3p-v4rh-xr49, CGA-qgp8-885m-frf4, CGA-qhm5-w8jw-8x2x, CGA-qm76-rcp9-prfg, CGA-qpwr-gfv8-q6pj, CGA-qqp9-w98x-8f2x, CGA-qqw7-5jxw-6mgf, CGA-qvgc-5h7r-frvh, CGA-qxg8-wr62-hmwq, CGA-r4h3-2873-x8m2, CGA-r5x2-8m47-g45c, CGA-r736-pj38-x97j, CGA-r9qj-wxhw-mg29, CGA-rf7p-922f-3mp2, CGA-rhv2-m45m-9qqr, CGA-rm43-7wg8-pfgg, CGA-rpvp-6f7c-23fp, CGA-rrwx-j8pp-5rwq, CGA-v2gc-7hf7-w5c8, CGA-vpqq-c58w-6572, CGA-vrjg-5fr7-3g34, CGA-vwwf-7rv9-f629, CGA-w37r-gvw8-5hhf, CGA-w6c5-rmr9-r26w, CGA-w73c-2c9x-7r5m, CGA-w7pr-gpx3-4c7q, CGA-wcv8-27r3-7mhr, CGA-wm4h-wwgf-72px, CGA-ww23-2h7q-cx24, CGA-x2wm-73f8-c8gg, CGA-x6w4-4q8r-x2g8, CGA-x8vr-3r79-vvcw, CGA-xhpf-gjpm-9pm4, CGA-xpr6-m2xv-v9w7, CGA-xq94-p64f-f9pr, SUSE-SU-2025:03082-1, SUSE-SU-2025:4091-1, openSUSE-SU-2025:15512-1, openSUSE-SU-2025:15514-1, openSUSE-SU-2025:15517-1, openSUSE-SU-2025:15518-1, openSUSE-SU-2025:15519-1, openSUSE-SU-2025:15540-1, openSUSE-SU-2025:15552-1, openSUSE-SU-2026:11028-1, openSUSE-SU-2026:20180-1, openSUSE-SU-2026:21074-1, openSUSE-SU-2026:21681-1, openSUSE-SU-2026:21741-1, CGA-2jgp-2jjv-9485, CGA-6jcm-xfqx-jhp4, CGA-72jh-pvh8-pwwh, CGA-742j-4mv5-fj7q, CGA-89ph-g7hq-pch4, CGA-8g5h-fffv-84r2, CGA-8vjg-4cq9-2xx7, CGA-9h8w-jrp8-2r2w, CGA-c26f-cq63-j227, CGA-chff-x74w-4rp5, CGA-cppm-h388-pw52, CGA-f8x7-j3xp-j99r, CGA-fjhf-r76x-6cf5, CGA-fr2j-rhr6-5p5m, CGA-g8m6-9g3h-c88r, CGA-gr29-q699-jh25, CGA-h552-pgx9-2r52, CGA-hq34-mqvx-3rj7, CGA-j752-mqg9-q3pr, CGA-j7xf-xxq3-4g54, CGA-jvhp-2w7j-mp9v, CGA-mm23-p839-m93g, CGA-mr6p-xvw7-4vv7, CGA-mxqx-3587-7q33, GHSA-xwfj-jgwm-7wp5, RUSTSEC-2025-0055, CGA-q268-f595-h9q3, CGA-q8fx-59hh-4hww, CGA-r498-pc82-3wr8, CGA-vhfq-hj7j-24mw, CGA-vqr7-hp88-rx9x, CGA-wh3p-q7fj-52h4, CGA-whfm-656q-vx95, CGA-wjhv-j5q4-gg62, CGA-x24r-rx59-j54r, CGA-x3jj-8v7j-5hv7, CGA-x4q3-258v-5644
- Record: https://cvemate.com/vulnerability/CVE-2025-58160 · JSON: https://cvemate.com/vulnerability/CVE-2025-58160/json

## Description

```text
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.
```

## Signals

- CVSS: 2.3 low (v4.0, CVE.org) 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.4%, percentile 36.359%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 189)

- chainguard atuin (Chainguard): \< 18.8.0-r1
- chainguard berg (Chainguard): \< 0.4.11-r2
- chainguard buck2 (Chainguard): \< 20250401-r4
- chainguard cargo-audit (Chainguard): \< 0.21.2-r7
- chainguard cargo-c (Chainguard): \< 0.10.15-r1
- chainguard jujutsu (Chainguard): \< 0.32.0-r2
- chainguard jujutsu-docs (Chainguard): \< 0.32.0-r2
- chainguard kdash (Chainguard): \< 0.6.2-r8
- chainguard libwasmtime (Chainguard): \< 36.0.2-r1
- chainguard linkerd-extension-init (Chainguard): \< 0.1.7-r1
- chainguard linkerd-network-validator (Chainguard): \< 0.1.4-r1
- chainguard linkerd2 (Chainguard): \< 25.8.5-r1
- chainguard linkerd2-cli (Chainguard): \< 25.8.5-r1
- chainguard linkerd2-cni-plugin (Chainguard): \< 1.6.4-r1
- chainguard linkerd2-cni-plugin-compat (Chainguard): \< 1.6.4-r1
- chainguard linkerd2-cni-repair-controller (Chainguard): \< 1.6.4-r1
- chainguard linkerd2-cni-repair-controller-compat (Chainguard): \< 1.6.4-r1
- chainguard linkerd2-controller (Chainguard): \< 25.8.5-r1
- chainguard linkerd2-controller-compat (Chainguard): \< 25.8.5-r1
- chainguard linkerd2-debug (Chainguard): \< 25.8.5-r1

## References (first 20 of 25)

- <https://github.com/tokio-rs/tracing/security/advisories/GHSA-xwfj-jgwm-7wp5>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20253869-1/>
- <https://bugzilla.suse.com/1249013>
- <https://www.suse.com/security/cve/CVE-2025-58160>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202620235-1/>
- <https://bugzilla.suse.com/1249011>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202620335-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202622380-1/>
- <https://bugzilla.suse.com/1249009>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202623567-1/>
- <https://bugzilla.suse.com/1249016>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202623607-1/>
- <https://ubuntu.com/security/CVE-2025-58160>
- <https://www.cve.org/CVERecord?id=CVE-2025-58160>
- <https://github.com/tokio-rs/tracing/pull/3368>
- <https://security-tracker.debian.org/tracker/CVE-2025-58160>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58160.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-58160>
- <https://www.suse.com/support/update/announcement/2025/suse-su-202503082-1/>
- <https://www.suse.com/support/update/announcement/2025/suse-su-20254091-1/>

---

Data as of 2026-12-05T09:11:20.996Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
