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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-10-01 · Modified: 2025-10-01
- Aliases: RHSA-2026:7288, UBUNTU-CVE-2025-11233, DEBIAN-CVE-2025-11233
- Record: https://cvemate.com/vulnerability/CVE-2025-11233 · JSON: https://cvemate.com/vulnerability/CVE-2025-11233/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) 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
- EPSS: 0.517%, percentile 45.496%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian rustc (Debian): \< 1.89.0+dfsg1-1
- ubuntu rustc-1.88 (Ubuntu): All versions (No fix recorded)
- redhat cargo (Red Hat): \< 0:1.94.1-1.2.hum1
- redhat rust (Red Hat): \< 0:1.94.1-1.2.hum1
- redhat rust-debugger-common (Red Hat): \< 0:1.94.1-1.2.hum1
- rust project std: ≥ 1.87.0, \< 1.89.0

## References

- <https://github.com/rust-lang/rust/pull/141864>
- <https://groups.google.com/g/rustlang-security-announcements/c/oT9zCvLLYkw>
- <https://access.redhat.com/errata/RHSA-2026:7288>
- <https://images.redhat.com/>
- <https://access.redhat.com/security/cve/CVE-2025-11233>
- <https://access.redhat.com/security/updates/classification/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_7288.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2400867>
- <https://www.cve.org/CVERecord?id=CVE-2025-11233>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-11233>
- <https://ubuntu.com/security/CVE-2025-11233>
- <https://security-tracker.debian.org/tracker/CVE-2025-11233>

---

Data as of 2026-12-05T11:21:57.919Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
