Every CVE Search/ Get API key

CVE-2025-11233

Rust standard library didn't detect all path separators on Cygwin

6.3 MediumFix available

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

0.52%Up 0.5 points since Oct 2, 2025
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
rustc
Debian: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 less
1.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
cargo
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
clippy
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rust
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rust-analyzer
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rust-debugger-common
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rust-doc
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rust-gdb
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rust-lldb
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rust-src
Red 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
Affected packages
PackageAffectedFixed
rust-std-static
Red 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-softfloat
Red 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-uefi
Red 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-gnu
Red 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-unknown
Red 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-wasip1
Red 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-gnu
Red 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-none
Red 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-uefi
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rustfmt
Red Hat:hummingbird:1
From an advisory covering 2 CVEs
before 0:1.97.1-2.hum1
0:1.97.1-2.hum1
rustc-1.88
Ubuntu:25.10
All versions, plus listed versions
1.88.0+dfsg0ubuntu1-0ubuntu11.88.0+dfsg0ubuntu1-0ubuntu2
None known

History

History
RecordedChangedSources
affected, facts
affected
first indexedCVE 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

Show 19 moreShow less
MoveEnter Open