{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "2.6.0"
              },
              {
                "fixed": "2.7.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "1eba9b3aa3c43f86f4a2c807ac8e12c4a7767340"
            },
            {
              "fixed": "134179474539648ba7dee1317959529fbd0e7f89"
            }
          ],
          "repo": "https://github.com/pytorch/pytorch",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2025-46153",
  "modified": "2026-04-01T23:08:55.087251750Z",
  "published": "2025-09-25T15:16:12.603Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/pytorch/pytorch/compare/v2.6.0...v2.7.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://gist.github.com/shaoyuyoung/e636f2e7a306105b7e96809e2b85c28a"
    },
    {
      "type": "ADVISORY",
      "url": "https://gist.github.com/shaoyuyoung/4bcefba4004f8271e64b5185c95a248a"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/pytorch/pytorch/issues/142853"
    },
    {
      "type": "FIX",
      "url": "https://github.com/pytorch/pytorch/pull/143460"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}