CVE-2025-11233Rust standard library didn't detect all path separators on Cygwin
Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn't correctly handle path separators, causing the standard library's Path API to ignore path components separated by backslashes. Due to this, programs compiled for Cygwin that validate paths could misbehave, potentially allowing path traversal attacks or malicious filesystem operations. Rust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target. While we assess the severity of this vulnerability as "medium", please note that the tier 3 Cygwin compilation target is only available when building it from source: no pre-built binaries are distributed by the Rust project, and it cannot be installed through Rustup. Unless you manually compiled the `x86_64-pc-cygwin` target you are not affected by this vulnerability. Users of the tier 1 MinGW target (`x86_64-pc-windows-gnu`) are also explicitly not affected.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | rustc-1.85 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | rustc-1.88 | Will not fix cargo in mantic was merged into rustc Introduced in 1.87.0 Only affects the cygwin target, so lowering priority to "low" | UBUNTU-CVE-2025-11233 | |
| Ubuntu 24.04 | rustc | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.74 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.76 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.77 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.78 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.79 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.80 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.81 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.82 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.83 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.84 | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | rustc-1.85 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.62 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.76 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.77 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.78 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.79 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.80 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.81 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.82 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.83 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.84 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | rustc-1.85 | Not affected vulnerable_code_not_present | ||
| Debian 14 | rustc | Fixed | 1.89.0+dfsg1-1 | DEBIAN-CVE-2025-11233 |
| Red Hat Enterprise Linux 10 | cargo | Not affected | ||
| Red Hat Enterprise Linux 10 | clippy | Not affected | ||
| Red Hat Enterprise Linux 10 | rust | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-aarch64-unknown-none-softfloat | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-std-static-x86_64-unknown-none | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 10 | rust-toolset-srpm-macros | Not affected | ||
| Red Hat Enterprise Linux 10 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 9 | cargo | Not affected | ||
| Red Hat Enterprise Linux 9 | clippy | Not affected | ||
| Red Hat Enterprise Linux 9 | rust | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-std-static-wasm32-wasip1 | Not affected | ||
| Red Hat Enterprise Linux 9 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 9 | rustfmt | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo | Not affected | ||
| Red Hat Enterprise Linux 8 | cargo-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | clippy | Not affected | ||
| Red Hat Enterprise Linux 8 | rls | Not affected | ||
| Red Hat Enterprise Linux 8 | rust | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analysis | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-analyzer | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-debugger-common | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-gdb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-lldb | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-src | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-unknown-unknown | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-std-static-wasm32-wasi | Not affected | ||
| Red Hat Enterprise Linux 8 | rust-toolset | Not affected | ||
| Red Hat Enterprise Linux 8 | rustfmt | Not affected |
What the vendor says
As published in the CVE record by rust, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Rust Project std: affected: 1.87.0 to before 1.89.0; fixed in
1.89.0
Solution: We recommend users of Cygwin targets to upgrade to 1.89.0 or a later version.
Vendor advisories:
- https://github.com/rust-lang/rust/pull/141864 (patch)
- https://groups.google.com/g/rustlang-security-announcements/c/oT9zCvLLYkw (vendor-advisory)
References
- https://github.com/rust-lang/rust/pull/141864
- https://groups.google.com/g/rustlang-security-announcements/c/oT9zCvLLYkw
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.