{"id":"CVE-2025-23348","details":"NVIDIA Megatron-LM for all platforms contains a vulnerability in the pretrain_gpt script, where malicious data created by an attacker may cause a code injection issue. A successful exploit of this vulnerability may lead to code execution, escalation of privileges, information disclosure, and data tampering.","modified":"2026-08-12T03:51:47.014755652Z","published":"2025-09-24T13:13:43.423Z","database_specific":{"cna_assigner":"nvidia","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23348.json","unresolved_ranges":[{"extracted_events":[{"introduced":"All versions prior to 0.13.1 and 0.12.3"},{"last_affected":"All versions prior to 0.13.1 and 0.12.3"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://nvidia.custhelp.com/app/answers/detail/a_id/5698"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-23348"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23348.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-23348"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nvidia/megatron-lm","events":[{"introduced":"0"},{"fixed":"3ea68ad6042cc1204386ae9364358f7c4de1bc37"},{"introduced":"c550cf6c41c31cd3ec72e05c25ea0c979f2b6631"},{"last_affected":"ac198fc0d60a8c748597e01ca4c6887d3a7bcf3d"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:nvidia:megatron-lm:*:*:*:*:*:*:*:*","cpe:2.3:a:nvidia:megatron-lm:0.13.0:-:*:*:*:*:*:*","cpe:2.3:a:nvidia:megatron-lm:0.13.0:rc0:*:*:*:*:*:*","cpe:2.3:a:nvidia:megatron-lm:0.13.0:rc1:*:*:*:*:*:*","cpe:2.3:a:nvidia:megatron-lm:0.13.0:rc2:*:*:*:*:*:*","cpe:2.3:a:nvidia:megatron-lm:0.13.0:rc3:*:*:*:*:*:*","cpe:2.3:a:nvidia:megatron-lm:0.13.0:rc4:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"0.12.3"},{"introduced":"0.13.0-NA"},{"last_affected":"0.13.0-NA"},{"introduced":"0.13.0-rc0"},{"last_affected":"0.13.0-rc0"},{"introduced":"0.13.0-rc1"},{"last_affected":"0.13.0-rc1"},{"introduced":"0.13.0-rc2"},{"last_affected":"0.13.0-rc2"},{"introduced":"0.13.0-rc3"},{"last_affected":"0.13.0-rc3"},{"introduced":"0.13.0-rc4"},{"last_affected":"0.13.0-rc4"}]}}],"versions":["0.13.0-NA","0.13.0-rc0","0.13.0-rc1","0.13.0-rc2","0.13.0-rc3","0.13.0-rc4","core_v0.13.0rc4","core_v0.13.0rc3","core_v0.12.2","core_v0.13.0rc2","core_v0.13.0rc1","core_v0.13.0rc0","core_v0.12.1","core_v0.12.0","v0.12.0rc3","core_v0.12.0rc3","25.04-alpha.rc1","v0.12.0rc2","core_v0.12.0rc2","NVLM-1.0","23.06","23.04","megatron-main-before-moe","v2.6","v2.5","v2.0","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-23348.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}