Skip to content
Heist/ feed
Back to feed
MediumFix available

rustc — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2025-11233

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.

Products
rustc
Affected versions
1.85.0+dfsg3-1, 1.86.0+dfsg1-1, 1.86.0+dfsg1-1~bpo13+1, 1.86.0+dfsg1-1~bpo13+2, 1.86.0+dfsg1-1~exp1, 1.86.0+dfsg1-1~exp2, 1.86.0+dfsg1-1~exp2+x32, 1.86.0+dfsg1-1~exp3, 1.86.0+dfsg1-1~exp4, 1.87.0+dfsg1-1, 1.87.0+dfsg1-1~bpo13+1, 1.87.0+dfsg1-1~bpo13+2, 1.87.0+dfsg1-1~exp1, 1.88.0+dfsg1-1, 1.88.0+dfsg1-1~exp1, 1.88.0+dfsg1-2, 1.88.0+dfsg1-2~bpo13+1, 1.89.0+dfsg1-1~bpo13+1, 1.89.0+dfsg1-1~bpo13+2, 1.89.0+dfsg1-1~exp1
Fixed versions
1.89.0+dfsg1-1
CVEs
CVE-2025-11233
Confirmed fixed CVEs
Not specified
Updated in this feed
29 Oct 2026, 07:14 UTC · Revision 1

Source evidence

DEBIAN-CVE-2025-11233

core-osv · Original source

Published 1 Oct 2025, 17:15 UTC

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.

osv:DEBIAN-CVE-2025-11233

rustc

Fixed versions: 1.89.0+dfsg1-1

Complete source record
{
  "id": "147ed19d48dab63c6810531c3419023298bff7b60b50f22a3c17f90f30d60c30",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2025-11233",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2025-11233",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2025-11233",
    "products": [
      {
        "name": {
          "value": "rustc",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.89.0+dfsg1-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.85.0+dfsg3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1~bpo13+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1~bpo13+2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1~exp2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1~exp2+x32",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1~exp3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.86.0+dfsg1-1~exp4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.87.0+dfsg1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.87.0+dfsg1-1~bpo13+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.87.0+dfsg1-1~bpo13+2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.87.0+dfsg1-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.88.0+dfsg1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.88.0+dfsg1-1~exp1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.88.0+dfsg1-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.88.0+dfsg1-2~bpo13+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.89.0+dfsg1-1~bpo13+1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.89.0+dfsg1-1~bpo13+2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.89.0+dfsg1-1~exp1",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2025-11233",
      "aliases": [
        "DEBIAN-CVE-2025-11233"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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/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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.89.0+dfsg1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "rustc",
            "purl": "pkg:deb/debian/rustc?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.85.0+dfsg3-1",
            "1.86.0+dfsg1-1",
            "1.86.0+dfsg1-1~bpo13+1",
            "1.86.0+dfsg1-1~bpo13+2",
            "1.86.0+dfsg1-1~exp1",
            "1.86.0+dfsg1-1~exp2",
            "1.86.0+dfsg1-1~exp2+x32",
            "1.86.0+dfsg1-1~exp3",
            "1.86.0+dfsg1-1~exp4",
            "1.87.0+dfsg1-1",
            "1.87.0+dfsg1-1~bpo13+1",
            "1.87.0+dfsg1-1~bpo13+2",
            "1.87.0+dfsg1-1~exp1",
            "1.88.0+dfsg1-1",
            "1.88.0+dfsg1-1~exp1",
            "1.88.0+dfsg1-2",
            "1.88.0+dfsg1-2~bpo13+1",
            "1.89.0+dfsg1-1~bpo13+1",
            "1.89.0+dfsg1-1~bpo13+2",
            "1.89.0+dfsg1-1~exp1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2025-11233.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-10T09:47:33.109716461Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-11233"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2025-11233"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-11233",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 228523,
  "published_at": "2025-10-01T17:15:38.553+00:00"
}