CVE catalog

CVE-2025-11233

rustc: CVE-2025-11233

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.52% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrustcsid1.97.1+dfsg1-1fixed
Debianrustcforky1.97.1+dfsg1-1fixed
Debianrustctrixie1.85.1+dfsg1-1+deb13u1not affected
Debianrustcbookworm1.63.0+dfsg1-2not affected
Ubunturustc-1.8825.101.88.0+dfsg0ubuntu1-0ubuntu1vulnerable
Ubunturustc-1.8825.101.88.0+dfsg0ubuntu1-0ubuntu2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrustcsourcesid1.89.0+dfsg1-1not yet assignedNot reportedNot reported
Debianrustcsourceforky1.89.0+dfsg1-1not yet assignedNot reportedNot reported
DebianrustcsourcetrixieNot affectedunimportantNot reportedNot reported
DebianrustcsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libstd-rust-1.63]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · amd64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · arm64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [libstd-rust-dev]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · amd64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · arm64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • Source package: [rustc]

    Details (1)
    • 1.63.0+dfsg1-2 · amd64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rust-all]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rustc]Not affected
    Details (2)
    • 1.63.0+dfsg1-2 · amd64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · arm64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rust-clippy]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · amd64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · arm64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rust-doc]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rustfmt]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · amd64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · arm64 · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rust-gdb]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rust-lldb]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

  • [rust-src]Not affected

    Source package: [rustc]

    Details (2)
    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

    • 1.63.0+dfsg1-2 · all · bookworm

      Not affected

      dsa · rustc · debian · bookworm

Observed:

References