CVE-2025-11233 Rust standard library didn't detect all path separators on Cygwin
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Debian
Description
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/rustc(Debian 14) | < 1.89.0+dfsg1-1; = 1.85.0+dfsg3-1; = 1.86.0+dfsg1-1; = 1.86.0+dfsg1-1~bpo13+1 +17 more | 1.89.0+dfsg1-1 | Fixed |
| Rust Project std | >= 1.87.0, < 1.89.0 | 1.89.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/rustc(Debian:14) | < 1.89.0+dfsg1-1 | 1.89.0+dfsg1-1 |
| debian/rustc(Debian:14) | = 1.85.0+dfsg3-1 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1~bpo13+1 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1~bpo13+2 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1~exp1 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1~exp2 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1~exp2+x32 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1~exp3 | No fix listed |
| debian/rustc(Debian:14) | = 1.86.0+dfsg1-1~exp4 | No fix listed |
| debian/rustc(Debian:14) | = 1.87.0+dfsg1-1 | No fix listed |
| debian/rustc(Debian:14) | = 1.87.0+dfsg1-1~bpo13+1 | No fix listed |
| debian/rustc(Debian:14) | = 1.87.0+dfsg1-1~bpo13+2 | No fix listed |
| debian/rustc(Debian:14) | = 1.87.0+dfsg1-1~exp1 | No fix listed |
| debian/rustc(Debian:14) | = 1.88.0+dfsg1-1 | No fix listed |
| debian/rustc(Debian:14) | = 1.88.0+dfsg1-1~exp1 | No fix listed |
| debian/rustc(Debian:14) | = 1.88.0+dfsg1-2 | No fix listed |
| debian/rustc(Debian:14) | = 1.88.0+dfsg1-2~bpo13+1 | No fix listed |
| debian/rustc(Debian:14) | = 1.89.0+dfsg1-1~bpo13+1 | No fix listed |
| debian/rustc(Debian:14) | = 1.89.0+dfsg1-1~bpo13+2 | No fix listed |
| debian/rustc(Debian:14) | = 1.89.0+dfsg1-1~exp1 | No fix listed |
| Rust Project std | >= 1.87.0, < 1.89.0 | 1.89.0 |
References
- Debian Security Tracker CVE-2025-11233 vendor-advisory
- github.com patch
- groups.google.com vendor-advisory