CVE-2025-11233
Rust 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.3
Rust 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.
- Record
CVE-2025-11233- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/AU:Y/RE:L/U:Green - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2025-33229
6.3
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.
- Record
EUVD-2025-33229- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/AU:Y/RE:L/U:Green - Updated
- 2026-11-02
NVD
6.3
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.
- Record
CVE-2025-11233- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:L/U:Green - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
6.3
Rust 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.
- Record
CVE-2025-11233- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/AU:Y/RE:L/U:Green - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-11233
6.3
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.
- Record
DEBIAN-CVE-2025-11233- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:L/U:Green - Updated
- 2026-11-02
OSVRHSA-2026:45341
7.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:45341- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2026:7288
6.5
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
- Record
RHSA-2026:7288- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2025-11233
6.3
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.
- Record
UBUNTU-CVE-2025-11233- CVSS 4.0
- 6.3 Medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/AU:Y/RE:L/U:Green - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
rustcDebian:14 |
before 1.89.0+dfsg1-1, plus listed versions 1.85.0+dfsg3-11.86.0+dfsg1-11.86.0+dfsg1-1~bpo13+11.86.0+dfsg1-1~bpo13+21.86.0+dfsg1-1~exp1 Show 15 moreShow less1.86.0+dfsg1-1~exp21.86.0+dfsg1-1~exp2+x321.86.0+dfsg1-1~exp31.86.0+dfsg1-1~exp41.87.0+dfsg1-11.87.0+dfsg1-1~bpo13+11.87.0+dfsg1-1~bpo13+21.87.0+dfsg1-1~exp11.88.0+dfsg1-11.88.0+dfsg1-1~exp11.88.0+dfsg1-21.88.0+dfsg1-2~bpo13+11.89.0+dfsg1-1~bpo13+11.89.0+dfsg1-1~bpo13+21.89.0+dfsg1-1~exp1 |
1.89.0+dfsg1-1 |
cargoRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
clippyRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rustRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-analyzerRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-debugger-commonRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-docRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-gdbRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-lldbRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-srcRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
Show 11 moreShow less
| Package | Affected | Fixed |
|---|---|---|
rust-std-staticRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-aarch64-unknown-none-softfloatRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-aarch64-unknown-uefiRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-i686-pc-windows-gnuRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-wasm32-unknown-unknownRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-wasm32-wasip1Red Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-x86_64-pc-windows-gnuRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-x86_64-unknown-noneRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rust-std-static-x86_64-unknown-uefiRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rustfmtRed Hat:hummingbird:1 From an advisory covering 2 CVEs |
before 0:1.97.1-2.hum1 | 0:1.97.1-2.hum1 |
rustc-1.88Ubuntu:25.10 |
All versions, plus listed versions 1.88.0+dfsg0ubuntu1-0ubuntu11.88.0+dfsg0ubuntu1-0ubuntu2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| first indexed | CVE List, EUVD, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-11233 is a medium vulnerability (CVSS 6.3) in Rust Project Std, published October 1, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.52%, the 44th percentile. Fixed in rustc 1.89.0+dfsg1-1.
References
github.com/rust-lang/rust/pull/141864
groups.google.com/g/rustlang-security-announcements/c/oT9zCvLLYkw
docs.bell-sw.com/security/cves/CVE-2025-11233
github.com/CVEProject/cvelistV5/tree/main/cves/2025/11xxx/CVE-2025-11233.json
nvd.nist.gov/vuln/detail/CVE-2025-11233
github.com/rust-lang/rust
Show 19 moreShow less
security-tracker.debian.org/tracker/CVE-2025-11233
access.redhat.com/errata/RHSA-2026:45341
images.redhat.com
access.redhat.com/security/cve/CVE-2026-44216
access.redhat.com/security/updates/classification
access.redhat.com/security/cve/CVE-2025-11233
access.redhat.com/security/cve/CVE-2026-51540
access.redhat.com/security/cve/CVE-2026-51536
access.redhat.com/security/cve/CVE-2026-51538
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_45341.json
bugzilla.redhat.com/show_bug.cgi?id=2400867
cve.org/CVERecord?id=CVE-2025-11233
bugzilla.redhat.com/show_bug.cgi?id=2477467
cve.org/CVERecord?id=CVE-2026-44216
nvd.nist.gov/vuln/detail/CVE-2026-44216
github.com/bytecodealliance/wasmtime/security/advisories/GHSA-p8xm-42r7-89xg
access.redhat.com/errata/RHSA-2026:7288
security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7288.json
ubuntu.com/security/CVE-2025-11233