CVE catalog

CVE-2025-46150

pytorch affected and fixed versions

[CVE catalog]

In PyTorch before 2.7.0, when torch.compile is used, FractionalMaxPool2d has inconsistent results.

Severity
Medium · CVSS 4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Version impact has not been established. The original provider fields are retained below.

Provider details and historical evidence
Original provider fields
{
  "package_releases": [
    {
      "name": "pytorch",
      "status": "fixed",
      "release": "sid",
      "version": "2.14.1+dfsg-1"
    },
    {
      "name": "pytorch",
      "status": "fixed",
      "release": "forky",
      "version": "2.14.1+dfsg-1"
    },
    {
      "name": "pytorch",
      "status": "vulnerable",
      "release": "trixie",
      "version": "2.6.0+dfsg-7"
    },
    {
      "name": "pytorch",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "1.13.1+dfsg-4"
    }
  ],
  "fixed_versions": [
    {
      "bug": 1116540,
      "name": "pytorch",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "not yet assigned",
      "fixed_version": "2.12.0+dfsg2-1"
    },
    {
      "bug": 1116540,
      "name": "pytorch",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "not yet assigned",
      "fixed_version": "2.12.0+dfsg2-1"
    },
    {
      "bug": 1116540,
      "name": "pytorch",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "not yet assigned",
      "fixed_version": ""
    },
    {
      "bug": 1116540,
      "name": "pytorch",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "not yet assigned",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "torch",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "2.6.0"
            },
            {
              "fixed": "2.7.0"
            }
          ]
        }
      ],
      "ecosystem": "PyPI",
      "fixed_version": "2.7.0",
      "provider_record_id": "PYSEC-2025-200"
    }
  ]
}

[Debian bug #1116540]

Publisher notes

[trixie] pytorch: Minor issue [bookworm] pytorch: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libtorch1.13]Unknown

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

  • [libtorch-dev]Unknown

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

  • [libtorch-test]Unknown

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

  • [python3-torch]Unknown

    Source package: [pytorch]

    Details (2)
    • 1.13.1+dfsg-4 · amd64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

    • 1.13.1+dfsg-4 · arm64 · bookworm

      Affected

      dsa · pytorch · debian · bookworm; dsa · pytorch · debian · 12

[Debian 13 (Trixie)]

  • [libtorch2.6]Unknown

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

  • [libtorch-dev]Unknown

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

  • [libtorch-test]Unknown

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

  • [python3-torch]Unknown

    Source package: [pytorch]

    Details (2)
    • 2.6.0+dfsg-7 · amd64 · trixie

      Affected

      dsa · pytorch · debian · 13

    • 2.6.0+dfsg-7 · arm64 · trixie

      Affected

      dsa · pytorch · debian · 13

Observed:

References