{"id":"CVE-2018-13845","aliases":["DEBIAN-CVE-2018-13845","EUVD-2018-5781","GHSA-gjpv-p8qj-966m","UBUNTU-CVE-2018-13845","USN-4802-1"],"status":"published","title":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01695,"percentile":0.77277,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2018-07-10T18:00:00Z","modified":"2026-10-23T18:02:58Z","fixes":[{"ecosystem":"Debian:12","package":"htslib","fixed_in":["1.9-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"htslib","fixed_in":["1.9-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"htslib","fixed_in":["1.9-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"htslib","fixed_in":["0.2.0~rc3-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"htslib","fixed_in":["1.2.1-2ubuntu1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"htslib","fixed_in":["1.7-2ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"htslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"htslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"htslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9-2"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"htslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.0~rc3-1ubuntu0.1~esm1"}]}],"versions":["0.2.0~rc3-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"htslib","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"htslib","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"htslib","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.2.0~rc3-1ubuntu0.1~esm1"}]}],"versions":["0.2.0~rc3-1"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"htslib","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"],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"htslib","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"],"bundled":2}],"products":[{"vendor":"htslib","product":"htslib"}],"references":[{"url":"https://github.com/samtools/htslib/issues/731#issuecomment-403681105","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13845"},{"url":"https://github.com/advisories/GHSA-gjpv-p8qj-966m"},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-13845","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2018-13845","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4802-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-13845","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2017-1000206","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-13845","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","status":"published","published":"2018-07-10T18:00:00Z","modified":"2024-08-05T09:14:47.264Z","updated_at":"2026-11-02T14:35:07.01498Z"}],"euvd":[{"id":"EUVD-2018-5781","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","status":"published","published":"2018-07-10T18:00:00Z","modified":"2024-08-05T09:14:47Z","updated_at":"2026-11-03T02:39:48.313733Z"}],"ghsa":[{"id":"GHSA-gjpv-p8qj-966m","title":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","status":"published","published":"2022-05-13T01:49:50Z","modified":"2023-02-02T05:01:56Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:51:18.541099Z"}],"nvd":[{"id":"CVE-2018-13845","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","status":"published","published":"2018-07-10T18:29:00.5Z","modified":"2026-06-17T01:40:15.57Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:04:32.929986Z"}],"osv":[{"id":"CVE-2018-13845","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","status":"published","published":"2018-07-10T18:29:00.5Z","modified":"2026-10-20T10:49:49.434687202Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:08.242347Z"},{"id":"DEBIAN-CVE-2018-13845","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","status":"published","published":"2018-07-10T18:29:00.5Z","modified":"2026-10-23T18:02:58.862439313Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"UBUNTU-CVE-2018-13845","description":"An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.","status":"published","published":"2018-07-10T18:29:00Z","modified":"2026-04-22T11:44:47.394749Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:17.014176Z"},{"id":"USN-4802-1","title":"htslib vulnerabilities","description":"It was discovered that HTSlib incorrectly handled certain data. An attacker\ncould possibly use this issue to execute arbitrary code. This issue affected only Ubuntu\n16.04 ESM. (CVE-2017-1000206)\n\nIt was discovered that HTSlib incorrectly handled certain files. An\nattacker could possibly use this issue to cause a denial of service.\n(CVE-2018-13845)","status":"published","published":"2021-03-15T21:29:07Z","modified":"2026-06-29T13:48:05.974662198Z","updated_at":"2026-11-02T16:58:15.159055Z"}]}}
