{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.2.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0b2b452102716c5f0ec1a4575f9ee4a32583075c"
            },
            {
              "fixed": "49a4cee2feef7deaf9d89e5e793a8824930284d7"
            }
          ],
          "repo": "https://github.com/ilanschnell/bsdiff4",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "A buffer overflow in the patching routine of bsdiff4 before 1.2.0 allows an attacker to write to heap memory (beyond allocated bounds) via a crafted patch file.",
  "id": "CVE-2020-15904",
  "modified": "2026-03-13T21:48:59.518179093Z",
  "published": "2020-07-22T23:15:11.330Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/ilanschnell/bsdiff4/blob/master/CHANGELOG.txt"
    },
    {
      "type": "FIX",
      "url": "https://github.com/ilanschnell/bsdiff4/commit/49a4cee2feef7deaf9d89e5e793a8824930284d7"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}