Nvcc fails with 'cudafe++' died with status 0xC0000005 (ACCESS_VIOLATION) on windows

I just installed latest CUDA Toolkit 13.2.1 on Windows 10 x64 with Visual Studio 2026 installed.

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2026 NVIDIA Corporation
Built on Thu_Mar_19_22:28:55_Pacific_Daylight_Time_2026
Cuda compilation tools, release 13.2, V13.2.78
Build cuda_13.2.r13.2/compiler.37668154_0

cudafe++ --version
cudafe: NVIDIA (R) Cuda Language Front End
Portions Copyright (c) 2005, 2024-2026 NVIDIA Corporation
Portions Copyright (c) 1988-2018, 2024 Edison Design Group Inc.
Based on Edison Design Group C/C++ Front End, version 6.7 (Mar 19 2026 22:30:25)
Cuda compilation tools, release 13.2, V13.2.78

Given a minimal cuda file to compile this fails:

minimal.cu

global void k() {}

int main() {
k<<<1,1>>>();
cudaDeviceSynchronize();
}

with:
nvcc .\minimal.cu
minimal.cu
nvcc error : ‘cudafe++’ died with status 0xC0000005 (ACCESS_VIOLATION)

doesn’t matter if trying to run from different shells or even trying Developer Command Prompt for VS 2022.

This seems to be a new issue that just appeared with the latest Visual Studio 2026 update. The 14.50.X version of the VS compiler worked, but 14.51.36321 fails.
This also true with the 12.9.2 version of the CUDA toolkit (using the --allow-unsupported-compiler flag)