CVE-2025-23305: nvidia megatron-lm Improper Control of Generation of Code
Vulnerability summary
CVE-2025-23305 is a high (CVSS 7.8) Improper Control of Generation of Code vulnerability in nvidia megatron-lm. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.3% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 13-08-2025PublishedVulnerability first disclosed.
- 13-08-2025Last modifiedVulnerability information updated.
Description
NVIDIA Megatron-LM for all platforms contains a vulnerability in the tools component, where an attacker may exploit a code injection issue. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, information disclosure, and data tampering.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Nvidia1 product
- megatron-lmAll versions prior to 0.12.2 | < 0.12.2
1 vendor · 1 product
References
3 links- nvd.nist.gov/vuln/detail/CVE-2025-23305Technical Description
- www.cve.org/CVERecord?id=CVE-2025-23305Technical Description
- nvidia.custhelp.com/app/answers/detail/a_id/5685Vendor Advisory