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

Published Oct 1, 2025
·
Updated

Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (x8664-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 x8664-pc-cygwin target you are not affected by this vulnerability. Users of the tier 1 MinGW target (x8664-pc-windows-gnu) are also explicitly not affected.

Affected Software

1 affected component
Rust Rust Standard Library>=1.87.0<1.89.0

Remediation

Information

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

Event History

Oct 1, 2025
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-11233?

CVE-2025-11233 is classified as a medium severity vulnerability due to improper handling of path separators in the Rust Standard Library for Cygwin.

2

How do I fix CVE-2025-11233?

To fix CVE-2025-11233, upgrade your Rust Standard Library to version 1.89.0 or later.

3

Which versions of Rust are affected by CVE-2025-11233?

CVE-2025-11233 affects Rust versions from 1.87.0 up to but not including 1.89.0.

4

What systems are impacted by CVE-2025-11233?

CVE-2025-11233 impacts programs compiled for the Cygwin target using the Rust Standard Library.

5

Can CVE-2025-11233 lead to data integrity issues?

Yes, CVE-2025-11233 may cause programs to ignore certain path components, potentially leading to data integrity issues.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203