{"id":"CVE-2025-3121","aliases":["CVE-2025-3121","PYSEC-2025-196","BIT-PYTORCH-2025-3121"],"related":[],"kind":"vulnerability","state":"published","title":"PyTorch torch.jit.jit_module_from_flatbuffer memory corruption","summary":"A vulnerability classified as problematic has been found in PyTorch 2.6.0. Affected is the function torch.jit.jit_module_from_flatbuffer. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability classified as problematic has been found in PyTorch 2.6.0. Affected is the function torch.jit.jit_module_from_flatbuffer. The manipulation leads to memory corruption. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used.","source":"cvelist"},{"lang":"de","text":"Es wurde eine problematische Schwachstelle in PyTorch 2.6.0 entdeckt. Es geht dabei um die Funktion torch.jit.jit_module_from_flatbuffer. Mittels Manipulieren mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden. Der Angriff hat dabei lokal zu erfolgen. Der Exploit steht zur öffentlichen Verfügung.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una vulnerabilidad clasificada como problemática en Pytorch 2.6.0. Afectado es la función torch.jit.jit_module_from_flatbuffer. La manipulación conduce a la corrupción de la memoria. Se requiere acceso local para abordar este ataque. Se ha hecho público el exploit y puede que sea utilizado.","source":"nvd"}],"published":"2025-04-02T22:00:12.390Z","modified":"2026-09-08T08:48:24.795Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":4.8,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:S/C:N/I:N/A:P","score":1.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-119"],"affected":[{"ranges":[{"version":"2.6.0","status":"affected"}],"product":"PyTorch","source":"cvelist"},{"ranges":[{"status":"affected","version":"2.6.0"}],"vendor":"linuxfoundation","product":"pytorch","cpe":"cpe:2.3:a:linuxfoundation:pytorch:2.6.0:-:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.6.0-NA"}],"ecosystem":"PyPI","package":"torch","purl":"pkg:pypi/torch","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.6.0","status":"affected","fixed":"2.7.0"}],"ecosystem":"Bitnami","package":"pytorch","purl":"pkg:bitnami/pytorch","source":"bitnami"}],"references":[{"url":"https://vuldb.com/?id.303012","tags":["advisory","technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/?ctiid.303012","tags":["permissions-required","report","signature","vdb-entry"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://vuldb.com/?submit.525049","tags":["advisory","evidence","exploit","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/issues/149800","tags":["advisory","issue-tracking","report","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://github.com/pytorch/pytorch/issues/149800#issue-2940240700","tags":["advisory","exploit","issue-tracking","report","vendor-advisory"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3121","tags":["web"],"sources":["bitnami"]}],"credits":["Default436352 (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-04-03T19:20:19.683Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-3121","url":"https://www.cve.org/CVERecord?id=CVE-2025-3121","licence":"CVE Terms of Use","modified":"2025-04-03T19:26:25.202Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-3121","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-3121","licence":"Public domain","modified":"2026-06-17T09:19:13.423Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2025-196","url":"https://osv.dev/vulnerability/PYSEC-2025-196","licence":"CC-BY-4.0","modified":"2026-05-21T15:00:29.127Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PYTORCH-2025-3121","url":"https://osv.dev/vulnerability/BIT-PYTORCH-2025-3121","licence":"Apache-2.0","modified":"2026-09-08T08:48:24.795Z"}],"updatedAt":"2026-11-25T22:58:55.971Z","epss":{"score":0.0028,"percentile":0.2195,"date":"2026-12-02T12:00:21.000Z"}}