CVEfocus › CVE database › CVE-2025-11233

CVE-2025-11233Rust standard library didn't detect all path separators on Cygwin

CVSS 6.3 MediumEPSS 0.8% (higher than 54% of CVEs)Published 2025-10-01Updated 2025-10-01Assigner: rust

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.

CWE-22

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

1Fixed
1Will not fix
75Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10rustc-1.85Not affected
vulnerable_code_not_present
Ubuntu 25.10rustc-1.88Will 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.04rustcNot affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.74Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.76Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.77Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.78Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.79Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.80Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.81Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.82Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.83Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.84Not affected
vulnerable_code_not_present
Ubuntu 24.04rustc-1.85Not affected
vulnerable_code_not_present
Ubuntu 22.04rustcNot affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.62Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.76Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.77Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.78Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.79Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.80Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.81Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.82Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.83Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.84Not affected
vulnerable_code_not_present
Ubuntu 22.04rustc-1.85Not affected
vulnerable_code_not_present
Debian 14rustcFixed1.89.0+dfsg1-1DEBIAN-CVE-2025-11233
Red Hat Enterprise Linux 10cargoNot affected
Red Hat Enterprise Linux 10clippyNot affected
Red Hat Enterprise Linux 10rustNot affected
Red Hat Enterprise Linux 10rust-analyzerNot affected
Red Hat Enterprise Linux 10rust-debugger-commonNot affected
Red Hat Enterprise Linux 10rust-docNot affected
Red Hat Enterprise Linux 10rust-gdbNot affected
Red Hat Enterprise Linux 10rust-lldbNot affected
Red Hat Enterprise Linux 10rust-srcNot affected
Red Hat Enterprise Linux 10rust-std-staticNot affected
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneNot affected
Red Hat Enterprise Linux 10rust-toolsetNot affected
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosNot affected
Red Hat Enterprise Linux 10rustfmtNot affected
Red Hat Enterprise Linux 9cargoNot affected
Red Hat Enterprise Linux 9clippyNot affected
Red Hat Enterprise Linux 9rustNot affected
Red Hat Enterprise Linux 9rust-analysisNot affected
Red Hat Enterprise Linux 9rust-analyzerNot affected
Red Hat Enterprise Linux 9rust-debugger-commonNot affected
Red Hat Enterprise Linux 9rust-docNot affected
Red Hat Enterprise Linux 9rust-gdbNot affected
Red Hat Enterprise Linux 9rust-lldbNot affected
Red Hat Enterprise Linux 9rust-srcNot affected
Red Hat Enterprise Linux 9rust-std-staticNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Not affected
Red Hat Enterprise Linux 9rust-toolsetNot affected
Red Hat Enterprise Linux 9rustfmtNot affected
Red Hat Enterprise Linux 8cargoNot affected
Red Hat Enterprise Linux 8cargo-docNot affected
Red Hat Enterprise Linux 8clippyNot affected
Red Hat Enterprise Linux 8rlsNot affected
Red Hat Enterprise Linux 8rustNot affected
Red Hat Enterprise Linux 8rust-analysisNot affected
Red Hat Enterprise Linux 8rust-analyzerNot affected
Red Hat Enterprise Linux 8rust-debugger-commonNot affected
Red Hat Enterprise Linux 8rust-docNot affected
Red Hat Enterprise Linux 8rust-gdbNot affected
Red Hat Enterprise Linux 8rust-lldbNot affected
Red Hat Enterprise Linux 8rust-srcNot affected
Red Hat Enterprise Linux 8rust-std-staticNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-unknown-unknownNot affected
Red Hat Enterprise Linux 8rust-std-static-wasm32-wasiNot affected
Red Hat Enterprise Linux 8rust-toolsetNot affected
Red Hat Enterprise Linux 8rustfmtNot 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.

Solution: We recommend users of Cygwin targets to upgrade to 1.89.0 or a later version.

Vendor advisories:

References

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.