{"id":"UBUNTU-CVE-2018-13845","details":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","modified":"2026-04-22T11:44:47.394749Z","published":"2018-07-10T18:29:00Z","related":["USN-4802-1"],"upstream":["CVE-2018-13845"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-13845"},{"type":"REPORT","url":"https://github.com/samtools/htslib/issues/731#issuecomment-403681105"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4802-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-13845"}],"affected":[{"package":{"name":"htslib","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/htslib@0.2.0~rc3-1ubuntu0.1~esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.0~rc3-1ubuntu0.1~esm1"}]}],"versions":["0.2.0~rc3-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"htslib-test","binary_version":"0.2.0~rc3-1ubuntu0.1~esm1"},{"binary_name":"libhts0","binary_version":"0.2.0~rc3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13845.json"}},{"package":{"name":"htslib","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/htslib@1.2.1-2ubuntu1+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.1-2ubuntu1+esm1"}]}],"versions":["1.2.1-1","1.2.1-2","1.2.1-2ubuntu1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"htslib-test","binary_version":"1.2.1-2ubuntu1+esm1"},{"binary_name":"libhts1","binary_version":"1.2.1-2ubuntu1+esm1"},{"binary_name":"tabix","binary_version":"1.2.1-2ubuntu1+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13845.json"}},{"package":{"name":"htslib","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/htslib@1.7-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7-2ubuntu0.1~esm1"}]}],"versions":["1.5-1","1.5-4ubuntu1","1.6-3ubuntu1","1.6-4","1.6-4build1","1.7-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"htslib-test","binary_version":"1.7-2ubuntu0.1~esm1"},{"binary_name":"libhts2","binary_version":"1.7-2ubuntu0.1~esm1"},{"binary_name":"tabix","binary_version":"1.7-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13845.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}