Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-23359

HIGH 8.3PoCEPSS 50%

NVIDIA Container Toolkit for Linux contains a Time-of-Check Time-of-Use (TOCTOU) vulnerability when used with default c…

Mitigation

  • Vendor workaround: This vulnerability does not impact use cases where CDI is used.
  • The fix for this vulnerability changes the default behavior of the NVIDIA Container Toolkit. By default the NVIDIA CUDA compatibility libraries from /usr/local/cuda/compat in the container are no longer mounted to the default library path in the container being run. This may affect certain applications that depend on this behavior.
  • A feature flag, allow-cuda-compat-libs-from-container was included in the NVIDIA Container Toolkit to allow users to opt-in to the previous behavior if required.
  • Warning: Opting-in to the previous behavior will remove protection against this vulnerability and is not recommended.
  • To set the feature flag ensure that the NVIDIA Container Toolkit config file at /etc/nvidia-container-runtime/config.toml includes:
  • [features]
  •   allow-cuda-compat-libs-from-container = true
  •  Setting the value above to false or removing the config file entry will disable the feature.
  • In the case of the NVIDIA GPU Operator the feature flag can be set by including the following in the NVIDIA GPU Operator helm install command:
  • --set "toolkit.env[0].name=NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES" --set "toolkit.env[0].value=allow-cuda-compat-libs-from-container"
  •  
  • For users who know that their application needs CUDA Forward Compatibility the following workaround can be used:
  • Setting the LD_LIBRARY_PATH environment variable to include /usr/local/cuda/compat
  • This may cause portability issues for some containers when running across multiple driver versions – especially when these are more recent than the compatibility libraries in the container.

Who should check

  • Anyone running NVIDIA Container Toolkit All versions up to and including 1.17.3
  • Anyone running NVIDIA GPU Operator All versions up to and including 24.9.1

Vulnerability facts

Affected
NVIDIA Container Toolkit All versions up to and including 1.17.3; NVIDIA GPU Operator All versions up to and including 24.9.1
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
8.3 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.73% chance of exploitation in 30 days (percentile 50, 2026-11-26)
CWE
CWE-367
Published
Modified

Description

NVIDIA Container Toolkit for Linux contains a Time-of-Check Time-of-Use (TOCTOU) vulnerability when used with default configuration, where a crafted container image could gain access to the host file system. A successful exploit of this vulnerability might lead to code execution, denial of service, escalation of privileges, information disclosure, and data tampering.

Affected and fixed versions

Package / productAffectedFixedSource
NVIDIA Container ToolkitAll versions up to and including 1.17.3—cvelist
NVIDIA GPU OperatorAll versions up to and including 24.9.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-23359. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-23359.md
Affected: NVIDIA Container Toolkit All versions up to and including 1.17.3; NVIDIA GPU Operator All versions up to and including 24.9.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for NVIDIA Container Toolkit, NVIDIA GPU Operator: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-23359 being exploited?

There is no confirmed exploitation: CVE-2025-23359 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.73% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-23359?

High: CVSS 8.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-23359?

NVIDIA Container Toolkit All versions up to and including 1.17.3; NVIDIA GPU Operator All versions up to and including 24.9.1.

Is there a fix for CVE-2025-23359?

No fixed version is listed in the sources yet. Vendor workaround: This vulnerability does not impact use cases where CDI is used. The fix for this vulnerability changes the default behavior of the NVIDIA Container Toolkit. By default the NVIDIA CUDA compatibility libraries from /usr/local/cuda/compat in the container are no longer mounted to the default library path in the container being run. This may affect certain applications that depend on this behavior. A feature flag, allow-cuda-compat-libs-from-container was included in the NVIDIA Container Toolkit to allow users to opt-in to the previous behavior if required. Warning: Opting-in to the previous behavior will remove protection against this vulnerability and is not recommended. To set the feature flag ensure that the NVIDIA Container Toolkit config file at /etc/nvidia-container-runtime/config.toml includes: [features]   allow-cuda-compat-libs-from-container = true  Setting the value above to false or removing the config file entry will disable the feature. In the case of the NVIDIA GPU Operator the feature flag can be set by including the following in the NVIDIA GPU Operator helm install command: --set "toolkit.env[0].name=NVIDIA_CONTAINER_TOOLKIT_OPT_IN_FEATURES" --set "toolkit.env[0].value=allow-cuda-compat-libs-from-container"   For users who know that their application needs CUDA Forward Compatibility the following workaround can be used: Setting the LD_LIBRARY_PATH environment variable to include /usr/local/cuda/compat This may cause portability issues for some containers when running across multiple driver versions – especially when these are more recent than the compatibility libraries in the container.

How do I check if I'm affected by CVE-2025-23359?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors