Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2025-55554

pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-55554
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:02 UTC · Revision 1

Source evidence

CVE-2025-55554

core-osv · Original source

Published 25 Sept 2025, 00:00 UTC

pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().

osv:CVE-2025-55554
Complete source record
{
  "id": "3f434e3ba517a03e78be8e472ac9011bc42593ac7b49f1e05ad9433b6129189e",
  "url": "https://osv.dev/vulnerability/CVE-2025-55554",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2025-55554",
    "summary": "pytorch v2.8.0 was discovered to contain an integer overflow in the component torch.nan_to_num-.long().",
    "evidence": "osv:CVE-2025-55554",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-55554",
      "aliases": [
        "BIT-pytorch-2025-55554",
        "CVE-2025-55554",
        "PYSEC-2025-206"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pytorch/pytorch",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "ba56102387ef21a3b04b357e5b183d48f0afefc7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.8.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.8.0",
            "v2.8.0-rc8",
            "v2.8.0-rc7",
            "v2.8.0-rc6",
            "v2.8.0-rc5",
            "v2.8.0-rc4",
            "v2.8.0-rc3",
            "v2.8.0-rc2",
            "v2.8.0-rc1",
            "cslpull90",
            "cslpull89",
            "cslpull91",
            "cslpull92",
            "cslpull88",
            "cslpull86",
            "cslpull87",
            "cslpull81",
            "cslpull84",
            "cslpull85",
            "cslpull76",
            "cslpull77",
            "cslpull82",
            "cslpull83",
            "cslpull80",
            "cslpull78",
            "cslpull79",
            "cslpull75",
            "forpull1",
            "ciflow/unstable/123",
            "bc2caa7fdf006894eff7af936babde69ab5a40f8-huydhn-debug",
            "ciflow/periodic/3e98831",
            "ciflow/slow/da3aba1e46157c4df504b067477cdf2b3c96b194-sdym",
            "ciflow/slow/0d5b74da0cab798fbfdb9caa53fad816999c8386-sdym",
            "ciflow/slow/8751002215790a3a88750faa8f4366933e296693-sdym",
            "ciflow/slow/a837609",
            "ciflow/slow/788ff06",
            "ciflow/slow/1faef89",
            "ciflow/slow/187eb7c",
            "ciflow/slow/01c7106",
            "ciflow/slow/3920ec1",
            "ciflow/slow/0577043",
            "ciflow/slow/a206e8b",
            "ciflow/slow/59a3759",
            "ciflow/slow/1732077",
            "ciflow/slow/9d85864",
            "ciflow/slow/0e81104",
            "ciflow/slow/3b7c6b2",
            "ciflow/slow/70ef0bb",
            "ciflow/slow/af841f3",
            "ciflow/slow/9ffad5b",
            "ciflow/periodic/94512-point",
            "ciflow/inductor/3d4b92b",
            "ciflow/inductor/3b9a386",
            "ciflow/inductor/d224ac7",
            "ciflow/periodic/csl/test87519",
            "ciflow/periodic/csltest88761",
            "ciflow/periodic/csltest88275",
            "ciflow/periodic/317eeb8",
            "ciflow/periodic/2a6d37d",
            "ciflow/periodic/3c32",
            "ciflow/periodic/054a2fd",
            "ciflow/periodic/sha-ec5b83",
            "malfet/tag-2ef5611",
            "malfet/tag-317b1a0",
            "malfet/tag-ec6f767",
            "nightly-binary",
            "v1.8.0-rc1",
            "v1.4.0a0",
            "v1.3.0a0",
            "v1.2.0a0",
            "v1.1.0a0",
            "v1.0rc1",
            "v1.0rc0",
            "v1.0.0a0",
            "v0.1.11",
            "v0.1.10",
            "v0.1.9",
            "v0.1.8",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-55554.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.402210836Z",
      "provider": "osv",
      "references": [
        "https://gist.github.com/shaoyuyoung/0e7d2a586297ae9c8ed14d8706749efc",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55554.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-55554",
        "https://github.com/pytorch/pytorch/issues/151510"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/55xxx/CVE-2025-55554.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-55554",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508867,
  "published_at": "2025-09-25T00:00:00+00:00"
}