CVE-2025-46152

NameCVE-2025-46152
DescriptionIn PyTorch before 2.7.0, bitwise_right_shift produces incorrect output for certain out-of-bounds values of the "other" argument.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1116539

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pytorch (PTS)bullseye1.7.1-7vulnerable
bookworm1.13.1+dfsg-4vulnerable
trixie2.6.0+dfsg-7vulnerable
forky, sid2.6.0+dfsg-9vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pytorchsource(unstable)(unfixed)1116539

Notes

[trixie] - pytorch <no-dsa> (Minor issue)
[bookworm] - pytorch <no-dsa> (Minor issue)
https://github.com/pytorch/pytorch/issues/143555
https://github.com/pytorch/pytorch/pull/143635
Fixed by: https://github.com/pytorch/pytorch/commit/607884c9afeb29fd230ed2fbadae92377e47dc97 (v2.7.0-rc1)

Search for package or bug name: Reporting problems