Skip to main content

Pytorch

64 CVEs product

Monthly

CVE-2026-137507 Nov 26, 20:17 HIGH PATCH This Week

torchvision before 0.29.2 extracts tar archives without validating member paths, so a crafted archive containing '../' entries, absolute paths, or symlinks that point outside the destination can write files anywhere the extracting process has permissions - including over Python modules that the process later imports, which turns the write primitive into code execution. The trigger is not remote on its own: exploitation requires the victim to pass an attacker-controlled archive (or an attacker-hosted download) to extract_archive() or download_and_extract_archive(), which is why the CVSS 4.0 vector scores 7.1 with UI:P rather than as a drive-by network exploit. Fixes are published in the 0.29.2 release; no public exploit code has been identified at time of analysis and the CVE is not in CISA KEV.

RCE Python Path Traversal Pytorch
NVD GitHub
CVSS 4.0
7.1
EPSS
0.7%
CVE-2026-136433 Nov 24, 18:40 HIGH This Week

PyTorch's checkpoint format conversion utilities (torch_save_to_dcp) deserialize attacker-supplied checkpoint data without adequate validation, letting a crafted file execute arbitrary code in the context of the current user when the victim opens or converts it. The flaw is local and requires user interaction (CVSS 3.0 7.8, AV:L/AC:L/PR:N/UI:R/S:U), so the attacker must first deliver the malicious checkpoint and convince the target to run the conversion path; there is no remotely reachable service component and code executes only with the victim's own privileges. Exploitation status per the available intelligence: no public exploit identified at time of analysis; a public ZDI advisory (ZDI-26-1059 / ZDI-CAN-32834) documents the issue.

RCE Deserialization Pytorch Checkpoint
NVD VulDB
CVSS 3.0
7.8
EPSS
0.4%
CVE-2026-136432 Nov 24, 18:40 HIGH This Week

Deserialization of untrusted data in PyTorch's FileSystemReader class can lead to arbitrary code execution in the context of the current process when a victim loads or processes attacker-supplied data through that reader. The flaw is rated CVSS 7.8 (HIGH) with the vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, meaning no privileges are required (PR:N) and no credentials are needed, but the attack path is local (AV:L) and depends on the victim actively loading the malicious artifact (UI:R) rather than on a network-facing, zero-click path. Exposure is therefore concentrated in workflows that ingest externally sourced PyTorch artifacts such as downloaded models, checkpoints, or files from a shared or untrusted pipeline; no public exploit has been identified at the time of analysis, and the issue was reported through Trend Micro ZDI as ZDI-CAN-32600 / ZDI-26-1054.

RCE Deserialization Pytorch
NVD VulDB
CVSS 3.0
7.8
EPSS
0.4%
CVE-2026-136431 Nov 24, 18:40 HIGH This Week

Remote code execution in the PyTorch Foundation's PyTorch arises when the load_state_dict_from_url function deserializes untrusted checkpoint data, letting an attacker-influenced model source run arbitrary code in the context of the loading process. The CVSS:3.1 vector (AV:L/AC:L/PR:N/UI:R) means unauthenticated attackers can exploit it, but the victim must take an action - visiting a malicious page or opening/loading a malicious model file - and the artifact must be processed on the victim host rather than against an exposed network service. Reported through ZDI as ZDI-CAN-32601 with an advisory at ZDI-26-1058, it is not in CISA KEV and no public exploit code has been identified at time of analysis; priority is this_week, with the practical exposure limited to pipelines that pull checkpoints from untrusted or attacker-influenceable sources.

RCE Deserialization Pytorch
NVD VulDB
CVSS 3.0
7.8
EPSS
0.6%
CVE-2026-136430 Nov 24, 18:40 HIGH This Week

Directory traversal in PyTorch's AOTIModelPackageLoader allows arbitrary code execution in the context of the current user when a victim loads an attacker-supplied AOTInductor model package. The CVSS 7.8 vector is local (AV:L) and requires user interaction (UI:R) with no privileges required (PR:N); exploitation is confined to workflows that load untrusted or externally sourced model packages and runs only with the victim's privileges. No public exploit or active exploitation is identified in the available data, and vuln.today assigns a this_week priority rather than an emergency response.

RCE Path Traversal Pytorch
NVD VulDB
CVSS 3.0
7.8
EPSS
0.7%
CVE-2026-136429 Nov 24, 18:40 HIGH This Week

Arbitrary code execution in PyTorch is triggered when a user opens a crafted PT2 archive, allowing the file to run code in the context of the current process. The flaw is an exposed dangerous function reached during PT2 parsing; the independent assessment vector is local (AV:L), requires user interaction (UI:R), and needs no authentication (PR:N), and the advisory does not specify affected or fixed version boundaries. No CISA KEV entry or public exploit code is identified in the supplied data, and the available signals support a moderate this_week priority rather than emergency action.

RCE Red Hat Pytorch
NVD VulDB
CVSS 3.0
7.0
EPSS
0.3%
CVE-2026-136428 Nov 24, 18:40 HIGH This Week

PyTorch's load_compiled_function deserializes untrusted data without adequate validation, allowing arbitrary code execution in the context of the current process when a victim opens a crafted serialized/compiled-function file. The issue affects PyTorch Foundation PyTorch installations and requires user interaction, with a local attack vector and no required privileges; risk is concentrated in workflows that load third-party or untrusted model and compiled artifacts. No public exploit was identified at time of analysis, and no CISA KEV entry is indicated in the provided data.

RCE Deserialization Pytorch
NVD VulDB
CVSS 3.0
7.8
EPSS
0.6%
CVE-2026-136427 Nov 24, 18:40 HIGH This Week

Command injection in PyTorch's AOTIModelPackageLoader allows an attacker to execute arbitrary code in the context of the user who loads a crafted model package. The flaw affects PyTorch (CPE: pytorch_foundation:pytorch:*) with a 7.8 high severity score and a local, user-interaction-gated vector (AV:L/UI:R), so exploitation depends on social or supply-chain delivery rather than a listening network service. No CISA KEV entry is present and no public exploit identified at time of analysis.

RCE Command Injection Pytorch
NVD VulDB
CVSS 3.0
7.8
EPSS
0.7%
CVE-2026-136426 Nov 24, 18:40 HIGH This Week

PyTorch installations that parse attacker-supplied PT2 files can be induced to execute arbitrary Python code in the context of the current process, because a user-supplied string is used for code execution without proper validation (CWE-94 code injection), rated CVSS 7.8. The assessed vector is local with mandatory user interaction (AV:L/AC:L/PR:N/UI:R) - the target must load or parse a crafted PT2 file, so the realistic delivery paths are social engineering or a compromised model-supply channel rather than a network-reachable, interaction-free attack. No public exploit code or active exploitation is identified at the time of analysis, and the priority signal places this in the this-week remediation cycle rather than an emergency; a public advisory exists (ZDI-26-1052) but no vendor patch version is present in the available data.

RCE Python Code Injection Pytorch
NVD VulDB
CVSS 3.0
7.8
EPSS
0.5%
CVE-2026-123974 Nov 06, 19:52 HIGH Monitor

Local privilege escalation in PyTorch's TorchServe affects all versions: a predictable, non-randomized model extraction directory under /tmp lets a user who already holds a low-privileged local account swap the model handler file so that attacker code is loaded and executed as the TorchServe service account (CVSS 7.8, CWE-379, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). It is explicitly not remotely exploitable - prior local access is the gating prerequisite - and no user interaction or non-default configuration is indicated. There is no CISA KEV entry and confirmed active exploitation is not established; a public PoC reference exists (a researcher blog and a GitHub repository), but it is not verified as working exploit code. Priority is 'this_week'.

Privilege Escalation Pytorch Torchserve
NVD GitHub
CVSS 3.1
7.8
EPSS
0.1%
CVE-2026-118613 Oct 28, 16:54 HIGH This Week

Deserialization of untrusted data in Ultralytics' torch_load function allows code to run in the context of the current user when a victim loads a malicious PyTorch model or weights file, or visits a page that causes such a file to be deserialized. The assessed vector is CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8): no authentication is required (PR:N), but the Local vector and mandatory user interaction mean there is no unauthenticated network-reachable trigger, and code execution does not cross a privilege boundary. No CISA KEV entry and no public exploit were identified at time of analysis; priority is scheduled remediation this week rather than emergency response.

RCE Deserialization Pytorch Ultralytics
NVD
CVSS 3.0
7.8
EPSS
0.2%
CVE-2026-112304 Oct 19, 15:28 HIGH PATCH This Week

Arbitrary Python code execution in docTR through 1.1.0 is possible when load_pretrained_params() deserializes an attacker-controlled or tamperable checkpoint on PyTorch releases before 2.6. Unauthenticated attackers can supply the poisoned model artifact, but exploitation is conditionally gated: the victim application must load that checkpoint from a path or URL the attacker controls, and PyTorch must predate 2.6, where torch.load began defaulting to weights_only=True. No public exploit code or CISA KEV entry was identified at time of analysis, and this is a genuine but conditionally-gated code-execution flaw rather than a drop-everything emergency.

Python Deserialization Pytorch Checkpoint Doctr
NVD GitHub VulDB
CVSS 4.0
7.7
EPSS
0.3%
CVE-2026-65918 Jul 23, 17:36 HIGH POC PATCH This Week

Out-of-bounds heap read in PyTorch torchvision's native GIF decoder (versions through 0.28.0) lets attackers who supply a malicious or truncated GIF trigger a segmentation-fault denial of service or leak adjacent heap memory. The flaw sits in the libgif read_from_tensor callback, which passes an unclamped length to memcpy. A public exploit and reproducer exist and an upstream fix is available (commit 4e05dc2), but there is no public exploit identified in the sense of confirmed active exploitation - it is not on CISA KEV. Applications that decode untrusted GIFs via torchvision are affected.

Buffer Overflow Denial Of Service Information Disclosure Pytorch Vision
NVD GitHub VulDB
CVSS 4.0
7.1
EPSS
0.3%
CVE-2026-24747 Jan 27, 22:15 PyPI HIGH POC PATCH GHSA This Week

PyTorch is a Python package that provides tensor computation. [CVSS 8.8 HIGH]

RCE Python Code Injection Pytorch Checkpoint +1
NVD GitHub VulDB
CVSS 3.1
8.8
EPSS
0.0%
CVE-2023-43654 Sep 28, 23:15 PyPI CRITICAL POC PATCH THREAT Act Now

TorchServe is a tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure SSRF Pytorch Torchserve
NVD GitHub
CVSS 3.1
9.8
EPSS
35.3%
CVE-2025-33244 Mar 24, 20:25 CRITICAL Act Now

NVIDIA APEX for Linux contains a deserialization of untrusted data vulnerability that affects environments using PyTorch versions earlier than 2.6. An attacker with low privileges on an adjacent network can exploit this flaw to achieve code execution, denial of service, privilege escalation, data tampering, and information disclosure with scope change (CVSS 9.0 Critical). No KEV listing or public POC availability has been reported at this time.

RCE Denial Of Service Information Disclosure Deserialization AI / ML +2
NVD VulDB
CVSS 3.1
9.0
EPSS
0.0%
CVE-2026-4538 Mar 22, 04:20 PyPI LOW POC Monitor

A deserialization vulnerability exists in PyTorch 2.10.0 within the pt2 Loading Handler component, allowing local attackers with low privileges to achieve confidentiality, integrity, and availability impacts through untrusted data processing. The vulnerability (CWE-502) is confirmed to have a publicly available exploit and has been reported to the project via pull request PR#176791, though remediation status remains unclear. With a CVSS score of 5.3 and exploitation probability marked as probable (E:P), this represents a moderate real-world risk primarily affecting local development and deployment environments.

Deserialization Pytorch N A
NVD VulDB GitHub
CVSS 4.0
1.9
EPSS
0.0%
CVE-2025-13716 Dec 23, 22:15 HIGH This Week

Tencent MimicMotion's create_pipeline function deserializes attacker-controlled checkpoint files through torch.load without weights_only=True, enabling arbitrary code execution when a victim loads a malicious model file. The flaw is local-vector and requires user interaction (CVSS 7.8, AV:L/AC:L/PR:N/UI:R), with code running at the privileges of the MimicMotion process-root-level impact only when the tool is run as root. An upstream commit adds safe_globals and weights_only=True; no public exploit was identified at time of analysis, and EPSS is 0.51% (42nd percentile).

RCE Deserialization Pytorch
NVD GitHub
CVSS 3.0
7.8
EPSS
0.5%
CVE-2025-13715 Dec 23, 22:15 HIGH This Week

Deserialization of untrusted data in Tencent FaceDetection-DSFD's resnet model loader (model/resnet.py) allows an attacker to execute arbitrary code at root privilege on installations where a victim loads an attacker-supplied PyTorch weights file. The flaw is CWE-502: self.model_path is passed directly to torch.load(), which deserializes a Python pickle without validation. Exploitation requires user interaction (the target must open or be delivered the malicious model file) and the vector is local (AV:L) and unauthenticated (PR:N); EPSS is low at 0.43% (36th percentile), no public exploit code was identified at time of analysis, and the project is a niche open-source research codebase with no default network-exposed service, so risk is serious but constrained rather than a widespread emergency.

RCE Deserialization Pytorch
NVD GitHub
CVSS 3.0
7.8
EPSS
0.4%
CVE-2025-13714 Dec 23, 22:15 HIGH This Week

Arbitrary code execution in Tencent MedicalNet occurs when the generate_model function in model.py loads a pretrained model via torch.load(opt.pretrain_path) without weights_only=True, allowing a malicious PyTorch checkpoint (.pth) to execute pickle reduce payloads in the context of the user running the training pipeline (typically root in containerized or GPU-server deployments). The attack vector is local (AV:L) with mandatory user interaction (UI:R): a victim must point opt.pretrain_path at, or open, an attacker-supplied model file - there is no network-reachable service and no exploit path against an idle/default installation. No public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis, and EPSS is low at 0.51% (42nd percentile), consistent with a tool that is not internet-exposed.

RCE Deserialization Pytorch
NVD GitHub
CVSS 3.0
7.8
EPSS
0.5%
CVE-2025-13711 Dec 23, 22:15 HIGH PATCH This Week

Deserialization of untrusted PyTorch checkpoint files in Tencent TFace allows an attacker who convinces a user to load a malicious .ckpt/.pt weights file to execute arbitrary code, including as root, through torch.load() calls that omit weights_only=True. Tencent TFace is a research-grade face-recognition toolkit, and the vulnerable sinks span the quality evaluation and training scripts (quality/eval.py, quality/train.py), the recognition and generation/uiface training, sampling and ONNX-export code, and the attribute/M3DFEL solver. The weakness is CWE-502 and the assessed vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8): exploitation is local and requires user interaction - the victim must supply or be tricked into using an attacker-controlled checkpoint as a resume, finetuning or eval-model argument - so risk is concentrated in environments that ingest third-party or untrusted model artifacts rather than against a default running service. No public exploit code was identified and the CVE is not in CISA KEV; EPSS is 0.51% (42nd percentile), consistent with a low-volume, tooling-adjacent flaw.

RCE Deserialization Pytorch Tface
NVD GitHub
CVSS 3.0
7.8
EPSS
0.5%
CVE-2025-13709 Dec 23, 22:15 HIGH PATCH This Week

PyTorch checkpoint loading in Tencent TFace (restore_checkpoint and related model-loading paths) deserializes untrusted data, letting an attacker who supplies a malicious .ckpt/.pth file execute arbitrary code in the context of the user running TFace - typically root in the reference ZDI finding. The flaw is local and requires user interaction (CVSS 7.8, AV:L/AC:L/PR:N/UI:R): the victim must explicitly point the toolkit at an attacker-controlled checkpoint, for example via a --resume path or a downloaded 'pretrained' model, so realistic abuse is a supply-chain or social-engineering play against TFace operators rather than remote exploitation of a network service. The upstream project has published a fix commit that adds weights_only=True to every torch.load() call; EPSS is low (0.51%, ~42nd percentile), there is no CISA KEV listing, and no public exploit code was identified at time of analysis.

RCE Deserialization Pytorch Tface
NVD GitHub
CVSS 3.0
7.8
EPSS
0.5%
CVE-2025-13708 Dec 23, 22:15 HIGH This Week

Arbitrary code execution in Tencent NeuralNLP-NeuralClassifier occurs when the prediction path loads an untrusted PyTorch checkpoint via torch.load() without weights_only=True, allowing a malicious pickle payload to run code in the context of the user (described as root in the ZDI advisory). Affected installations are those using the pre-patch predict.py/_load_checkpoint code or a torch version below 2.6.0; exploitation is local and requires the victim to obtain and load an attacker-controlled model file (UI:R), with no network service directly exposed. No public exploit was identified at time of analysis, the issue is not in CISA KEV, and EPSS is 0.51% (42nd percentile).

RCE Deserialization Pytorch
NVD GitHub
CVSS 3.0
7.8
EPSS
0.5%
CVE-2025-13706 Dec 23, 22:15 HIGH This Week

Deserialization of untrusted data in Tencent PatrickStar's merge_checkpoint endpoint lets an attacker execute arbitrary code with root privileges when a user loads a crafted checkpoint or opens a malicious page that triggers the endpoint. Exploitation requires user interaction and a local attack path; no authentication is needed, but there is no remote unauthenticated network-triggerable route. EPSS is 0.51% (42nd percentile) and no public exploit has been identified at time of analysis.

RCE Deserialization Pytorch
NVD GitHub
CVSS 3.0
7.8
EPSS
0.5%
CVE-2025-63396 Nov 12, 21:15 PyPI LOW POC Monitor

An issue was discovered in PyTorch v2.5 and v2.7.1. Rated low severity (CVSS 3.3), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub
CVSS 3.1
3.3
EPSS
0.0%
CVE-2025-55560 Sep 25, 16:15 PyPI HIGH PATCH This Week

An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense() and is compiled by Inductor. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Uncontrolled Resource Consumption vulnerability could allow attackers to cause denial of service by exhausting system resources.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.1%
CVE-2025-55558 Sep 25, 16:15 PyPI HIGH PATCH This Week

A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Uncontrolled Resource Consumption vulnerability could allow attackers to cause denial of service by exhausting system resources.

Buffer Overflow Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.1%
CVE-2025-55557 Sep 25, 16:15 PyPI HIGH PATCH This Week

A Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and is compiled by Inductor, leading to a Denial of Service (DoS). Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.1%
CVE-2025-55554 Sep 25, 16:15 PyPI MEDIUM PATCH This Month

pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long(). Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Buffer Overflow Integer Overflow Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.1%
CVE-2025-55553 Sep 25, 16:15 PyPI HIGH PATCH This Week

A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS). Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.1%
CVE-2025-55552 Sep 25, 16:15 PyPI HIGH PATCH This Week

pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Information Disclosure Integer Overflow Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.1%
CVE-2025-55551 Sep 25, 15:16 PyPI HIGH PATCH This Week

An issue in the component torch.linalg.lu of pytorch v2.8.0 allows attackers to cause a Denial of Service (DoS) when performing a slice operation. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
7.5
EPSS
0.1%
CVE-2025-46153 Sep 25, 15:16 PyPI MEDIUM PATCH This Month

PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks full consistency with the eager CPU implementation, negatively affecting nn.Dropout1d,. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Information Disclosure Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.1%
CVE-2025-46152 Sep 25, 15:16 PyPI MEDIUM PATCH This Month

In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Write vulnerability could allow attackers to write data beyond allocated buffer boundaries leading to code execution or crashes.

Buffer Overflow Memory Corruption Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.1%
CVE-2025-46150 Sep 25, 15:16 PyPI MEDIUM PATCH This Month

In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Information Disclosure Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.1%
CVE-2025-46149 Sep 25, 15:16 PyPI MEDIUM PATCH This Month

In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.0%
CVE-2025-46148 Sep 25, 15:16 PyPI MEDIUM PATCH This Month

In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Information Disclosure Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 3.1
5.3
EPSS
0.1%
CVE-2025-5197 Aug 06, 12:15 PyPI MEDIUM POC PATCH This Month

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the Hugging Face Transformers library, specifically in the `convert_tf_weight_name_to_pt_weight_name()` function. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Red Hat AI / ML Pytorch Transformers +3
NVD GitHub
CVSS 3.0
5.3
EPSS
0.0%
CVE-2025-47277 May 20, 18:15 PyPI CRITICAL POC PATCH GHSA Act Now

vLLM, an inference and serving engine for large language models (LLMs), has an issue in versions 0.6.5 through 0.8.4 that ONLY impacts environments using the `PyNcclPipe` KV cache transfer. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Deserialization Red Hat AI / ML Pytorch Vllm
NVD GitHub
CVSS 3.1
9.8
EPSS
0.9%
CVE-2025-4287 May 05, 20:15 MEDIUM This Month

A vulnerability was found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Denial Of Service AI / ML Pytorch Suse
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.1%
CVE-2025-32434 Apr 18, 16:15 PyPI CRITICAL POC PATCH Act Now

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Python Deserialization AI / ML Pytorch Linuxfoundation
NVD GitHub
CVSS 4.0
9.3
EPSS
1.2%
CVE-2025-3730 Apr 16, 21:15 PyPI MEDIUM POC PATCH This Month

A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available.

Denial Of Service AI / ML Pytorch Linuxfoundation
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.1%
CVE-2025-3136 Apr 03, 04:15 PyPI MEDIUM POC This Month

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Buffer Overflow AI / ML Pytorch Suse Linuxfoundation
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.1%
CVE-2025-3121 Apr 02, 22:15 PyPI MEDIUM POC This Month

A vulnerability classified as problematic has been found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Buffer Overflow AI / ML Pytorch Suse Linuxfoundation
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.1%
CVE-2025-3001 Mar 31, 16:15 PyPI MEDIUM PATCH This Month

A vulnerability classified as critical was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow AI / ML Pytorch Suse Linuxfoundation
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.2%
CVE-2025-3000 Mar 31, 15:15 PyPI MEDIUM PATCH This Month

A vulnerability classified as critical has been found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow Red Hat AI / ML Pytorch Suse +1
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.1%
CVE-2025-2999 Mar 31, 15:15 PyPI MEDIUM PATCH This Month

A vulnerability was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow AI / ML Pytorch Suse Linuxfoundation
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.1%
CVE-2025-2998 Mar 31, 14:15 PyPI MEDIUM This Month

A vulnerability was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow AI / ML Pytorch Suse Linuxfoundation
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.1%
CVE-2025-2953 Mar 30, 16:15 PyPI MEDIUM POC PATCH This Month

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Red Hat AI / ML Pytorch Suse +1
NVD GitHub VulDB
CVSS 4.0
4.8
EPSS
0.2%
CVE-2024-8020 Mar 20, 10:15 PyPI HIGH POC MAL This Week

A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sending an unexpected POST request to the `/api/v1/state` endpoint of. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Red Hat AI / ML Pytorch Pytorch Lightning +1
NVD
CVSS 3.0
7.5
EPSS
0.1%
CVE-2024-8019 Mar 20, 10:15 PyPI CRITICAL POC PATCH GHSA MAL Act Now

In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Windows RCE Microsoft File Upload AI / ML +3
NVD GitHub
CVSS 3.1
9.1
EPSS
1.1%
CVE-2024-6577 Mar 20, 10:15 PyPI MEDIUM This Month

In the latest version of pytorch/serve, the script 'upload_results_to_s3.sh' references the S3 bucket 'benchmarkai-metrics-prod' without ensuring its ownership or confirming its accessibility. Rated medium severity (CVSS 6.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Authentication Bypass AI / ML Pytorch
NVD
CVSS 3.0
6.3
EPSS
0.1%
CVE-2025-2149 Mar 10, 13:15 PyPI LOW POC Monitor

A vulnerability was found in PyTorch 2.6.0+cu124. It has been rated as problematic. [CVSS 2.5 LOW]

Information Disclosure AI / ML Pytorch
NVD GitHub VulDB
CVSS 3.1
2.5
EPSS
0.0%
CVE-2025-2148 Mar 10, 12:15 PyPI MEDIUM This Month

A vulnerability was found in PyTorch 2.6.0+cu124. It has been declared as critical. [CVSS 5.0 MEDIUM]

Buffer Overflow AI / ML Pytorch
NVD GitHub VulDB
CVSS 3.1
5.0
EPSS
0.2%
CVE-2025-1945 Mar 10, 12:15 PyPI CRITICAL POC PATCH Act Now

PickleScan before 0.0.23 can be bypassed by flipping specific ZIP file header flag bits, allowing malicious pickle files to evade detection inside PyTorch model archives. An attacker can embed arbitrary code execution payloads that PickleScan misses but PyTorch's torch.load() still processes. A proof-of-concept exists and a patch is available in version 0.0.23.

Authentication Bypass RCE Deserialization AI / ML Pytorch
NVD GitHub
CVSS 3.1
9.8
EPSS
0.3%
CVE-2025-1944 Mar 10, 12:15 PyPI MEDIUM POC PATCH This Month

picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to extract and scan PyTorch model archives. By modifying the filename in the ZIP header while keeping the original filename in the directory listing, an attacker can make PickleScan raise a BadZipFile error. However, PyTorch's more forgiving ZIP implementation still allows the mod...

Authentication Bypass Denial Of Service AI / ML Pytorch
NVD GitHub
CVSS 3.1
6.5
EPSS
0.1%
CVE-2024-48063 Oct 29, 21:15 PyPI CRITICAL POC PATCH Act Now

In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Deserialization Pytorch Linuxfoundation
NVD GitHub
CVSS 3.1
9.8
EPSS
1.6%
CVE-2024-35199 Jul 19, 02:15 PyPI HIGH PATCH This Week

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Exposure of Resource to Wrong Sphere vulnerability could allow attackers to access resources from an unintended security context.

Information Disclosure Pytorch Torchserve
NVD GitHub
CVSS 3.1
8.2
EPSS
0.6%
CVE-2024-35198 Jul 19, 02:15 PyPI CRITICAL PATCH Act Now

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Authentication Bypass Pytorch Torchserve
NVD GitHub
CVSS 3.1
9.8
EPSS
0.8%
CVE-2024-31584 Apr 19, 21:15 PyPI MEDIUM PATCH This Month

Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp. Rated medium severity (CVSS 5.5), this vulnerability is remotely exploitable, low attack complexity.

Buffer Overflow Information Disclosure Pytorch Linuxfoundation
NVD GitHub
CVSS 3.1
5.5
EPSS
0.4%
CVE-2024-31583 Apr 17, 19:15 PyPI HIGH PATCH This Week

Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. This Use After Free vulnerability could allow attackers to access freed memory to execute arbitrary code or crash the application.

Information Disclosure Use After Free Memory Corruption Pytorch Linuxfoundation
NVD GitHub
CVSS 3.1
7.8
EPSS
0.3%
CVE-2024-31580 Apr 17, 19:15 PyPI MEDIUM PATCH This Month

PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. Rated medium severity (CVSS 4.0), this vulnerability is no authentication required, low attack complexity.

Buffer Overflow Denial Of Service Heap Overflow Pytorch Linuxfoundation
NVD GitHub
CVSS 3.1
4.0
EPSS
0.2%
CVE-2023-48299 Nov 21, 21:15 PyPI MEDIUM PATCH This Month

TorchServe is a tool for serving and scaling PyTorch models in production. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Pytorch Torchserve
NVD GitHub
CVSS 3.1
5.3
EPSS
0.7%
CVE-2022-45907 Nov 26, 02:15 PyPI CRITICAL POC PATCH Act Now

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

RCE Code Injection Pytorch Linuxfoundation
NVD GitHub
CVSS 3.1
9.8
EPSS
1.2%
EPSS 1% CVSS 7.1
HIGH PATCH This Week

torchvision before 0.29.2 extracts tar archives without validating member paths, so a crafted archive containing '../' entries, absolute paths, or symlinks that point outside the destination can write files anywhere the extracting process has permissions - including over Python modules that the process later imports, which turns the write primitive into code execution. The trigger is not remote on its own: exploitation requires the victim to pass an attacker-controlled archive (or an attacker-hosted download) to extract_archive() or download_and_extract_archive(), which is why the CVSS 4.0 vector scores 7.1 with UI:P rather than as a drive-by network exploit. Fixes are published in the 0.29.2 release; no public exploit code has been identified at time of analysis and the CVE is not in CISA KEV.

RCE Python Path Traversal +1
NVD GitHub
EPSS 0% CVSS 7.8
HIGH This Week

PyTorch's checkpoint format conversion utilities (torch_save_to_dcp) deserialize attacker-supplied checkpoint data without adequate validation, letting a crafted file execute arbitrary code in the context of the current user when the victim opens or converts it. The flaw is local and requires user interaction (CVSS 3.0 7.8, AV:L/AC:L/PR:N/UI:R/S:U), so the attacker must first deliver the malicious checkpoint and convince the target to run the conversion path; there is no remotely reachable service component and code executes only with the victim's own privileges. Exploitation status per the available intelligence: no public exploit identified at time of analysis; a public ZDI advisory (ZDI-26-1059 / ZDI-CAN-32834) documents the issue.

RCE Deserialization Pytorch +1
NVD VulDB
EPSS 0% CVSS 7.8
HIGH This Week

Deserialization of untrusted data in PyTorch's FileSystemReader class can lead to arbitrary code execution in the context of the current process when a victim loads or processes attacker-supplied data through that reader. The flaw is rated CVSS 7.8 (HIGH) with the vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, meaning no privileges are required (PR:N) and no credentials are needed, but the attack path is local (AV:L) and depends on the victim actively loading the malicious artifact (UI:R) rather than on a network-facing, zero-click path. Exposure is therefore concentrated in workflows that ingest externally sourced PyTorch artifacts such as downloaded models, checkpoints, or files from a shared or untrusted pipeline; no public exploit has been identified at the time of analysis, and the issue was reported through Trend Micro ZDI as ZDI-CAN-32600 / ZDI-26-1054.

RCE Deserialization Pytorch
NVD VulDB
EPSS 1% CVSS 7.8
HIGH This Week

Remote code execution in the PyTorch Foundation's PyTorch arises when the load_state_dict_from_url function deserializes untrusted checkpoint data, letting an attacker-influenced model source run arbitrary code in the context of the loading process. The CVSS:3.1 vector (AV:L/AC:L/PR:N/UI:R) means unauthenticated attackers can exploit it, but the victim must take an action - visiting a malicious page or opening/loading a malicious model file - and the artifact must be processed on the victim host rather than against an exposed network service. Reported through ZDI as ZDI-CAN-32601 with an advisory at ZDI-26-1058, it is not in CISA KEV and no public exploit code has been identified at time of analysis; priority is this_week, with the practical exposure limited to pipelines that pull checkpoints from untrusted or attacker-influenceable sources.

RCE Deserialization Pytorch
NVD VulDB
EPSS 1% CVSS 7.8
HIGH This Week

Directory traversal in PyTorch's AOTIModelPackageLoader allows arbitrary code execution in the context of the current user when a victim loads an attacker-supplied AOTInductor model package. The CVSS 7.8 vector is local (AV:L) and requires user interaction (UI:R) with no privileges required (PR:N); exploitation is confined to workflows that load untrusted or externally sourced model packages and runs only with the victim's privileges. No public exploit or active exploitation is identified in the available data, and vuln.today assigns a this_week priority rather than an emergency response.

RCE Path Traversal Pytorch
NVD VulDB
EPSS 0% CVSS 7.0
HIGH This Week

Arbitrary code execution in PyTorch is triggered when a user opens a crafted PT2 archive, allowing the file to run code in the context of the current process. The flaw is an exposed dangerous function reached during PT2 parsing; the independent assessment vector is local (AV:L), requires user interaction (UI:R), and needs no authentication (PR:N), and the advisory does not specify affected or fixed version boundaries. No CISA KEV entry or public exploit code is identified in the supplied data, and the available signals support a moderate this_week priority rather than emergency action.

RCE Red Hat Pytorch
NVD VulDB
EPSS 1% CVSS 7.8
HIGH This Week

PyTorch's load_compiled_function deserializes untrusted data without adequate validation, allowing arbitrary code execution in the context of the current process when a victim opens a crafted serialized/compiled-function file. The issue affects PyTorch Foundation PyTorch installations and requires user interaction, with a local attack vector and no required privileges; risk is concentrated in workflows that load third-party or untrusted model and compiled artifacts. No public exploit was identified at time of analysis, and no CISA KEV entry is indicated in the provided data.

RCE Deserialization Pytorch
NVD VulDB
EPSS 1% CVSS 7.8
HIGH This Week

Command injection in PyTorch's AOTIModelPackageLoader allows an attacker to execute arbitrary code in the context of the user who loads a crafted model package. The flaw affects PyTorch (CPE: pytorch_foundation:pytorch:*) with a 7.8 high severity score and a local, user-interaction-gated vector (AV:L/UI:R), so exploitation depends on social or supply-chain delivery rather than a listening network service. No CISA KEV entry is present and no public exploit identified at time of analysis.

RCE Command Injection Pytorch
NVD VulDB
EPSS 0% CVSS 7.8
HIGH This Week

PyTorch installations that parse attacker-supplied PT2 files can be induced to execute arbitrary Python code in the context of the current process, because a user-supplied string is used for code execution without proper validation (CWE-94 code injection), rated CVSS 7.8. The assessed vector is local with mandatory user interaction (AV:L/AC:L/PR:N/UI:R) - the target must load or parse a crafted PT2 file, so the realistic delivery paths are social engineering or a compromised model-supply channel rather than a network-reachable, interaction-free attack. No public exploit code or active exploitation is identified at the time of analysis, and the priority signal places this in the this-week remediation cycle rather than an emergency; a public advisory exists (ZDI-26-1052) but no vendor patch version is present in the available data.

RCE Python Code Injection +1
NVD VulDB
EPSS 0% CVSS 7.8
HIGH Monitor

Local privilege escalation in PyTorch's TorchServe affects all versions: a predictable, non-randomized model extraction directory under /tmp lets a user who already holds a low-privileged local account swap the model handler file so that attacker code is loaded and executed as the TorchServe service account (CVSS 7.8, CWE-379, AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). It is explicitly not remotely exploitable - prior local access is the gating prerequisite - and no user interaction or non-default configuration is indicated. There is no CISA KEV entry and confirmed active exploitation is not established; a public PoC reference exists (a researcher blog and a GitHub repository), but it is not verified as working exploit code. Priority is 'this_week'.

Privilege Escalation Pytorch Torchserve
NVD GitHub
EPSS 0% CVSS 7.8
HIGH This Week

Deserialization of untrusted data in Ultralytics' torch_load function allows code to run in the context of the current user when a victim loads a malicious PyTorch model or weights file, or visits a page that causes such a file to be deserialized. The assessed vector is CVSS 3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8): no authentication is required (PR:N), but the Local vector and mandatory user interaction mean there is no unauthenticated network-reachable trigger, and code execution does not cross a privilege boundary. No CISA KEV entry and no public exploit were identified at time of analysis; priority is scheduled remediation this week rather than emergency response.

RCE Deserialization Pytorch +1
NVD
EPSS 0% CVSS 7.7
HIGH PATCH This Week

Arbitrary Python code execution in docTR through 1.1.0 is possible when load_pretrained_params() deserializes an attacker-controlled or tamperable checkpoint on PyTorch releases before 2.6. Unauthenticated attackers can supply the poisoned model artifact, but exploitation is conditionally gated: the victim application must load that checkpoint from a path or URL the attacker controls, and PyTorch must predate 2.6, where torch.load began defaulting to weights_only=True. No public exploit code or CISA KEV entry was identified at time of analysis, and this is a genuine but conditionally-gated code-execution flaw rather than a drop-everything emergency.

Python Deserialization Pytorch +2
NVD GitHub VulDB
EPSS 0% CVSS 7.1
HIGH POC PATCH This Week

Out-of-bounds heap read in PyTorch torchvision's native GIF decoder (versions through 0.28.0) lets attackers who supply a malicious or truncated GIF trigger a segmentation-fault denial of service or leak adjacent heap memory. The flaw sits in the libgif read_from_tensor callback, which passes an unclamped length to memcpy. A public exploit and reproducer exist and an upstream fix is available (commit 4e05dc2), but there is no public exploit identified in the sense of confirmed active exploitation - it is not on CISA KEV. Applications that decode untrusted GIFs via torchvision are affected.

Buffer Overflow Denial Of Service Information Disclosure +2
NVD GitHub VulDB
EPSS 0% CVSS 8.8
HIGH POC PATCH This Week

PyTorch is a Python package that provides tensor computation. [CVSS 8.8 HIGH]

RCE Python Code Injection +3
NVD GitHub VulDB
EPSS 35% CVSS 9.8
CRITICAL POC PATCH THREAT Act Now

TorchServe is a tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Information Disclosure SSRF Pytorch +1
NVD GitHub
EPSS 0% CVSS 9.0
CRITICAL Act Now

NVIDIA APEX for Linux contains a deserialization of untrusted data vulnerability that affects environments using PyTorch versions earlier than 2.6. An attacker with low privileges on an adjacent network can exploit this flaw to achieve code execution, denial of service, privilege escalation, data tampering, and information disclosure with scope change (CVSS 9.0 Critical). No KEV listing or public POC availability has been reported at this time.

RCE Denial Of Service Information Disclosure +4
NVD VulDB
EPSS 0% CVSS 1.9
LOW POC Monitor

A deserialization vulnerability exists in PyTorch 2.10.0 within the pt2 Loading Handler component, allowing local attackers with low privileges to achieve confidentiality, integrity, and availability impacts through untrusted data processing. The vulnerability (CWE-502) is confirmed to have a publicly available exploit and has been reported to the project via pull request PR#176791, though remediation status remains unclear. With a CVSS score of 5.3 and exploitation probability marked as probable (E:P), this represents a moderate real-world risk primarily affecting local development and deployment environments.

Deserialization Pytorch N A
NVD VulDB GitHub
EPSS 1% CVSS 7.8
HIGH This Week

Tencent MimicMotion's create_pipeline function deserializes attacker-controlled checkpoint files through torch.load without weights_only=True, enabling arbitrary code execution when a victim loads a malicious model file. The flaw is local-vector and requires user interaction (CVSS 7.8, AV:L/AC:L/PR:N/UI:R), with code running at the privileges of the MimicMotion process-root-level impact only when the tool is run as root. An upstream commit adds safe_globals and weights_only=True; no public exploit was identified at time of analysis, and EPSS is 0.51% (42nd percentile).

RCE Deserialization Pytorch
NVD GitHub
EPSS 0% CVSS 7.8
HIGH This Week

Deserialization of untrusted data in Tencent FaceDetection-DSFD's resnet model loader (model/resnet.py) allows an attacker to execute arbitrary code at root privilege on installations where a victim loads an attacker-supplied PyTorch weights file. The flaw is CWE-502: self.model_path is passed directly to torch.load(), which deserializes a Python pickle without validation. Exploitation requires user interaction (the target must open or be delivered the malicious model file) and the vector is local (AV:L) and unauthenticated (PR:N); EPSS is low at 0.43% (36th percentile), no public exploit code was identified at time of analysis, and the project is a niche open-source research codebase with no default network-exposed service, so risk is serious but constrained rather than a widespread emergency.

RCE Deserialization Pytorch
NVD GitHub
EPSS 1% CVSS 7.8
HIGH This Week

Arbitrary code execution in Tencent MedicalNet occurs when the generate_model function in model.py loads a pretrained model via torch.load(opt.pretrain_path) without weights_only=True, allowing a malicious PyTorch checkpoint (.pth) to execute pickle reduce payloads in the context of the user running the training pipeline (typically root in containerized or GPU-server deployments). The attack vector is local (AV:L) with mandatory user interaction (UI:R): a victim must point opt.pretrain_path at, or open, an attacker-supplied model file - there is no network-reachable service and no exploit path against an idle/default installation. No public exploit code or confirmed active exploitation (CISA KEV) was identified at time of analysis, and EPSS is low at 0.51% (42nd percentile), consistent with a tool that is not internet-exposed.

RCE Deserialization Pytorch
NVD GitHub
EPSS 1% CVSS 7.8
HIGH PATCH This Week

Deserialization of untrusted PyTorch checkpoint files in Tencent TFace allows an attacker who convinces a user to load a malicious .ckpt/.pt weights file to execute arbitrary code, including as root, through torch.load() calls that omit weights_only=True. Tencent TFace is a research-grade face-recognition toolkit, and the vulnerable sinks span the quality evaluation and training scripts (quality/eval.py, quality/train.py), the recognition and generation/uiface training, sampling and ONNX-export code, and the attribute/M3DFEL solver. The weakness is CWE-502 and the assessed vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (7.8): exploitation is local and requires user interaction - the victim must supply or be tricked into using an attacker-controlled checkpoint as a resume, finetuning or eval-model argument - so risk is concentrated in environments that ingest third-party or untrusted model artifacts rather than against a default running service. No public exploit code was identified and the CVE is not in CISA KEV; EPSS is 0.51% (42nd percentile), consistent with a low-volume, tooling-adjacent flaw.

RCE Deserialization Pytorch +1
NVD GitHub
EPSS 1% CVSS 7.8
HIGH PATCH This Week

PyTorch checkpoint loading in Tencent TFace (restore_checkpoint and related model-loading paths) deserializes untrusted data, letting an attacker who supplies a malicious .ckpt/.pth file execute arbitrary code in the context of the user running TFace - typically root in the reference ZDI finding. The flaw is local and requires user interaction (CVSS 7.8, AV:L/AC:L/PR:N/UI:R): the victim must explicitly point the toolkit at an attacker-controlled checkpoint, for example via a --resume path or a downloaded 'pretrained' model, so realistic abuse is a supply-chain or social-engineering play against TFace operators rather than remote exploitation of a network service. The upstream project has published a fix commit that adds weights_only=True to every torch.load() call; EPSS is low (0.51%, ~42nd percentile), there is no CISA KEV listing, and no public exploit code was identified at time of analysis.

RCE Deserialization Pytorch +1
NVD GitHub
EPSS 1% CVSS 7.8
HIGH This Week

Arbitrary code execution in Tencent NeuralNLP-NeuralClassifier occurs when the prediction path loads an untrusted PyTorch checkpoint via torch.load() without weights_only=True, allowing a malicious pickle payload to run code in the context of the user (described as root in the ZDI advisory). Affected installations are those using the pre-patch predict.py/_load_checkpoint code or a torch version below 2.6.0; exploitation is local and requires the victim to obtain and load an attacker-controlled model file (UI:R), with no network service directly exposed. No public exploit was identified at time of analysis, the issue is not in CISA KEV, and EPSS is 0.51% (42nd percentile).

RCE Deserialization Pytorch
NVD GitHub
EPSS 1% CVSS 7.8
HIGH This Week

Deserialization of untrusted data in Tencent PatrickStar's merge_checkpoint endpoint lets an attacker execute arbitrary code with root privileges when a user loads a crafted checkpoint or opens a malicious page that triggers the endpoint. Exploitation requires user interaction and a local attack path; no authentication is needed, but there is no remote unauthenticated network-triggerable route. EPSS is 0.51% (42nd percentile) and no public exploit has been identified at time of analysis.

RCE Deserialization Pytorch
NVD GitHub
EPSS 0% CVSS 3.3
LOW POC Monitor

An issue was discovered in PyTorch v2.5 and v2.7.1. Rated low severity (CVSS 3.3), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub
EPSS 0% CVSS 7.5
HIGH PATCH This Week

An issue in pytorch v2.7.0 can lead to a Denial of Service (DoS) when a PyTorch model consists of torch.Tensor.to_sparse() and torch.Tensor.to_dense() and is compiled by Inductor. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Uncontrolled Resource Consumption vulnerability could allow attackers to cause denial of service by exhausting system resources.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

A buffer overflow occurs in pytorch v2.7.0 when a PyTorch model consists of torch.nn.Conv2d, torch.nn.functional.hardshrink, and torch.Tensor.view-torch.mv() and is compiled by Inductor, leading to a. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Uncontrolled Resource Consumption vulnerability could allow attackers to cause denial of service by exhausting system resources.

Buffer Overflow Denial Of Service Pytorch +1
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

A Name Error occurs in pytorch v2.7.0 when a PyTorch model consists of torch.cummin and is compiled by Inductor, leading to a Denial of Service (DoS). Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long(). Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Buffer Overflow Integer Overflow Pytorch +1
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

A syntax error in the component proxy_tensor.py of pytorch v2.7.0 allows attackers to cause a Denial of Service (DoS). Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

pytorch v2.8.0 was discovered to display unexpected behavior when the components torch.rot90 and torch.randn_like are used together. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Information Disclosure Integer Overflow Pytorch +1
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH PATCH This Week

An issue in the component torch.linalg.lu of pytorch v2.8.0 allows attackers to cause a Denial of Service (DoS) when performing a slice operation. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks full consistency with the eager CPU implementation, negatively affecting nn.Dropout1d,. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Information Disclosure Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

In PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Out-of-bounds Write vulnerability could allow attackers to write data beyond allocated buffer boundaries leading to code execution or crashes.

Buffer Overflow Memory Corruption Pytorch +1
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Information Disclosure Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Denial Of Service Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM PATCH This Month

In PyTorch through 2.6.0, when eager is used, nn.PairwiseDistance(p=2) produces incorrect results. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Information Disclosure Pytorch Linuxfoundation
NVD GitHub VulDB
EPSS 0% CVSS 5.3
MEDIUM POC PATCH This Month

A Regular Expression Denial of Service (ReDoS) vulnerability exists in the Hugging Face Transformers library, specifically in the `convert_tf_weight_name_to_pt_weight_name()` function. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Denial Of Service Red Hat AI / ML +5
NVD GitHub
EPSS 1% CVSS 9.8
CRITICAL POC PATCH Act Now

vLLM, an inference and serving engine for large language models (LLMs), has an issue in versions 0.6.5 through 0.8.4 that ONLY impacts environments using the `PyNcclPipe` KV cache transfer. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Deserialization Red Hat AI / ML +2
NVD GitHub
EPSS 0% CVSS 4.8
MEDIUM This Month

A vulnerability was found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Denial Of Service AI / ML Pytorch +1
NVD GitHub VulDB
EPSS 1% CVSS 9.3
CRITICAL POC PATCH Act Now

PyTorch is a Python package that provides tensor computation with strong GPU acceleration and deep neural networks built on a tape-based autograd system. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Python Deserialization AI / ML +2
NVD GitHub
EPSS 0% CVSS 4.8
MEDIUM POC PATCH This Month

A vulnerability, which was classified as problematic, was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available.

Denial Of Service AI / ML Pytorch +1
NVD GitHub VulDB
EPSS 0% CVSS 4.8
MEDIUM POC This Month

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0.cuda.memory.caching_allocator_delete of the file c10/cuda/CUDACachingAllocator.cpp. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Buffer Overflow AI / ML Pytorch +2
NVD GitHub VulDB
EPSS 0% CVSS 4.8
MEDIUM POC This Month

A vulnerability classified as problematic has been found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Buffer Overflow AI / ML Pytorch +2
NVD GitHub VulDB
EPSS 0% CVSS 4.8
MEDIUM PATCH This Month

A vulnerability classified as critical was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow AI / ML Pytorch +2
NVD GitHub VulDB
EPSS 0% CVSS 4.8
MEDIUM PATCH This Month

A vulnerability classified as critical has been found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow Red Hat AI / ML +3
NVD GitHub VulDB
EPSS 0% CVSS 4.8
MEDIUM PATCH This Month

A vulnerability was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow AI / ML Pytorch +2
NVD GitHub VulDB
EPSS 0% CVSS 4.8
MEDIUM This Month

A vulnerability was found in PyTorch 2.6.0. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. No vendor patch available.

Buffer Overflow AI / ML Pytorch +2
NVD GitHub VulDB
EPSS 0% CVSS 4.8
MEDIUM POC PATCH This Month

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Rated medium severity (CVSS 4.8), this vulnerability is low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Red Hat AI / ML +3
NVD GitHub VulDB
EPSS 0% CVSS 7.5
HIGH POC This Week

A vulnerability in lightning-ai/pytorch-lightning version 2.3.2 allows an attacker to cause a denial of service by sending an unexpected POST request to the `/api/v1/state` endpoint of. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Denial Of Service Red Hat AI / ML +3
NVD
EPSS 1% CVSS 9.1
CRITICAL POC PATCH Act Now

In lightning-ai/pytorch-lightning version 2.3.2, a vulnerability exists in the `LightningApp` when running on a Windows host. Rated critical severity (CVSS 9.1), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

Windows RCE Microsoft +5
NVD GitHub
EPSS 0% CVSS 6.3
MEDIUM This Month

In the latest version of pytorch/serve, the script 'upload_results_to_s3.sh' references the S3 bucket 'benchmarkai-metrics-prod' without ensuring its ownership or confirming its accessibility. Rated medium severity (CVSS 6.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Authentication Bypass AI / ML Pytorch
NVD
EPSS 0% CVSS 2.5
LOW POC Monitor

A vulnerability was found in PyTorch 2.6.0+cu124. It has been rated as problematic. [CVSS 2.5 LOW]

Information Disclosure AI / ML Pytorch
NVD GitHub VulDB
EPSS 0% CVSS 5.0
MEDIUM This Month

A vulnerability was found in PyTorch 2.6.0+cu124. It has been declared as critical. [CVSS 5.0 MEDIUM]

Buffer Overflow AI / ML Pytorch
NVD GitHub VulDB
EPSS 0% CVSS 9.8
CRITICAL POC PATCH Act Now

PickleScan before 0.0.23 can be bypassed by flipping specific ZIP file header flag bits, allowing malicious pickle files to evade detection inside PyTorch model archives. An attacker can embed arbitrary code execution payloads that PickleScan misses but PyTorch's torch.load() still processes. A proof-of-concept exists and a patch is available in version 0.0.23.

Authentication Bypass RCE Deserialization +2
NVD GitHub
EPSS 0% CVSS 6.5
MEDIUM POC PATCH This Month

picklescan before 0.0.23 is vulnerable to a ZIP archive manipulation attack that causes it to crash when attempting to extract and scan PyTorch model archives. By modifying the filename in the ZIP header while keeping the original filename in the directory listing, an attacker can make PickleScan raise a BadZipFile error. However, PyTorch's more forgiving ZIP implementation still allows the mod...

Authentication Bypass Denial Of Service AI / ML +1
NVD GitHub
EPSS 2% CVSS 9.8
CRITICAL POC PATCH Act Now

In PyTorch <=2.4.1, the RemoteModule has Deserialization RCE. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.

Deserialization Pytorch Linuxfoundation
NVD GitHub
EPSS 1% CVSS 8.2
HIGH PATCH This Week

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Exposure of Resource to Wrong Sphere vulnerability could allow attackers to access resources from an unintended security context.

Information Disclosure Pytorch Torchserve
NVD GitHub
EPSS 1% CVSS 9.8
CRITICAL PATCH Act Now

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity.

Authentication Bypass Pytorch Torchserve
NVD GitHub
EPSS 0% CVSS 5.5
MEDIUM PATCH This Month

Pytorch before v2.2.0 has an Out-of-bounds Read vulnerability via the component torch/csrc/jit/mobile/flatbuffer_loader.cpp. Rated medium severity (CVSS 5.5), this vulnerability is remotely exploitable, low attack complexity.

Buffer Overflow Information Disclosure Pytorch +1
NVD GitHub
EPSS 0% CVSS 7.8
HIGH PATCH This Week

Pytorch before version v2.2.0 was discovered to contain a use-after-free vulnerability in torch/csrc/jit/mobile/interpreter.cpp. Rated high severity (CVSS 7.8), this vulnerability is no authentication required, low attack complexity. This Use After Free vulnerability could allow attackers to access freed memory to execute arbitrary code or crash the application.

Information Disclosure Use After Free Memory Corruption +2
NVD GitHub
EPSS 0% CVSS 4.0
MEDIUM PATCH This Month

PyTorch before v2.2.0 was discovered to contain a heap buffer overflow vulnerability in the component /runtime/vararg_functions.cpp. Rated medium severity (CVSS 4.0), this vulnerability is no authentication required, low attack complexity.

Buffer Overflow Denial Of Service Heap Overflow +2
NVD GitHub
EPSS 1% CVSS 5.3
MEDIUM PATCH This Month

TorchServe is a tool for serving and scaling PyTorch models in production. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity. This Path Traversal vulnerability could allow attackers to access files and directories outside the intended path.

Path Traversal Pytorch Torchserve
NVD GitHub
EPSS 1% CVSS 9.8
CRITICAL POC PATCH Act Now

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available.

RCE Code Injection Pytorch +1
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy