CVE-2025-46153 json
PyTorch before 3.7.0 has a bernoulli_p decompose function in decompositions.py even though it lacks full consistency with the eager CPU imp…
published 2025-09-25 13 mo ago modified 2026-11-05 3 d ago also BIT-pytorch-2025-46153 , EUVD-2025-31108 , PYSEC-2025-202
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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, nn.Dropout2d, and nn.Dropout3d for fallback_random=True.
Patch / fix
- bitnami pytorch 2.7.0
- pypi torch 2.7.0
- linuxfoundation pytorch 2.7.0
- pytorch Debian 14 2.12.0+dfsg2-1
debian advisories DEBIAN-CVE-2025-46153
- github.com/pytorch/pytorch#143460 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-46153 updated cvss 4.0
torch: PyTorch inconsistent results
-
Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-service-api-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat AI Inference Server rhaiis/vllm-tpu-rhel9, rhaiis/vllm-cuda-rhel9, rhaiis/vllm-rocm-rhel9, rhaiis-preview/vllm-cuda-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform/ee-minimal-rhel8, ansible-automation-platform/ee-minimal-rhel9, ansible-automation-platform-24/de-minimal-rhel8, ansible-automation-platform-24/de-minimal-rhel9, ansible-automation-platform-24/ee-minimal-rhel8, ansible-automation-platform-24/ee-minimal-rhel9, +19 more Red Hat Enterprise Linux AI (RHEL AI) rhelai1/bootc-amd-rhel9, rhelai1/bootc-intel-rhel9, rhelai1/bootc-nvidia-rhel9, rhelai1/bootc-azure-amd-rhel9, rhelai1/instructlab-amd-rhel9, rhelai1/bootc-aws-nvidia-rhel9, +4 more Red Hat OpenShift AI (RHOAI) rhoai/odh-llama-stack-core-rhel9affected: workaround, no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | pytorch | >=2.6.0, <2.7.0 |
2.7.0 |
| pypi | torch | >=2.6.0, <2.7.0 |
2.7.0 |
Classification
- Weakness
-
- CWE-1176 Inefficient CPU Computation
References
-
github.com
/pytorch/pytorch/pull/143460
issue-tracking, patch
-
github.com
/pytorch/pytorch/issues/142853
issue-tracking, report
-
gist.github.com
/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a
third-party-advisory, advisory
-
github.com
/pytorch/pytorch/compare/v2.6.0...v2.7.0
product, web
-
gist.github.com
/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-46153
web
Sources
- CVE List CVE-2025-46153
- NVD CVE-2025-46153
- OSV BIT-pytorch-2025-46153
- OSV PYSEC-2025-202
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.