{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "be22a2a1082f6e570718439b9ace2db17a609eae"
            }
          ],
          "repo": "https://github.com/samtools/htslib",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue has been found in HTSlib 1.8. It is a memory leak in bgzf_getline in bgzf.c. NOTE: the software maintainer's position is that the \"failure to free memory\" can be fixed in applications that use the HTSlib library (such as test/test_bgzf.c in the original report) and is not a library issue",
  "id": "CVE-2018-13843",
  "modified": "2026-03-13T21:48:21.686258270Z",
  "published": "2018-07-10T18:29:00.407Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/samtools/htslib/issues/731#issue-339662537"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}