{
  "id": "CVE-2026-65918",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-65918",
  "published_at": "2026-07-23T17:36:42.799Z",
  "title": "PyTorch torchvision GIF Decoder Out-of-bounds Heap Read",
  "vendor": "pytorch",
  "product": "vision",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "PyTorch torchvision through 0.28.0, fixed in commit 4e05dc2, contains an out-of-bounds heap read vulnerability in the GIF decoder's read_from_tensor callback that passes unclamped length to memcpy. Attackers can supply malicious or truncated GIF files to cause denial of service via segmentation fault or disclose adjacent heap memory contents.",
  "cwe": "CWE-125",
  "cpes": [
    "cpe:2.3:a:linuxfoundation:torchvision:*:*:*:*:*:python:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "pytorch",
        "product": "vision",
        "ranges": [
          "\u003c= 0.28.0"
        ],
        "fixed_in": [
          "4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed"
        ]
      }
    ],
    "upgrade": [
      "Upgrade vision to 4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/pytorch/vision/pull/9520"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/pytorch/vision/commit/4e05dc22f5f050a9528cc0ea09ceca6cdaf8f4ed"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/pytorch/vision/issues/9551",
      "source": "cvelist",
      "title": "Researcher Disclosure",
      "published_at": null,
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
