CVE-2018-13845
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
- Record
CVE-2018-13845- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
- Record
CVE-2018-13845- Updated
- 2026-11-02
EUVDEUVD-2018-5781 No score
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
- Record
EUVD-2018-5781- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gjpv-p8qj-966m
9.8
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
- Record
GHSA-gjpv-p8qj-966m- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSV
9.8
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
- Record
CVE-2018-13845- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-13845
9.8
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
- Record
DEBIAN-CVE-2018-13845- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-13845
9.8
An issue has been found in HTSlib 1.8. It is a buffer over-read in sam_parse1 in sam.c.
- Record
UBUNTU-CVE-2018-13845- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUSN-4802-1 No score
htslib vulnerabilities
It was discovered that HTSlib incorrectly handled certain data. An attacker could possibly use this issue to execute arbitrary code. This issue affected only Ubuntu 16.04 ESM. (CVE-2017-1000206)
It was discovered that HTSlib incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. (CVE-2018-13845)
- Record
USN-4802-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
htslibDebian:12 |
before 1.9-2 | 1.9-2 |
htslibDebian:13 |
before 1.9-2 | 1.9-2 |
htslibDebian:14 |
before 1.9-2 | 1.9-2 |
htslibUbuntu:Pro:14.04:LTS |
before 0.2.0~rc3-1ubuntu0.1~esm1, plus listed versions 0.2.0~rc3-1 |
0.2.0~rc3-1ubuntu0.1~esm1 |
htslibUbuntu:Pro:16.04:LTS |
before 1.2.1-2ubuntu1+esm1, plus listed versions 1.2.1-11.2.1-21.2.1-2ubuntu1 |
1.2.1-2ubuntu1+esm1 |
htslibUbuntu:Pro:18.04:LTS |
before 1.7-2ubuntu0.1~esm1, plus listed versions 1.5-11.5-4ubuntu11.6-3ubuntu11.6-41.6-4build11.7-2 |
1.7-2ubuntu0.1~esm1 |
htslibUbuntu:Pro:14.04:LTS From an advisory covering 2 CVEs |
before 0.2.0~rc3-1ubuntu0.1~esm1, plus listed versions 0.2.0~rc3-1 |
0.2.0~rc3-1ubuntu0.1~esm1 |
htslibUbuntu:Pro:16.04:LTS From an advisory covering 2 CVEs |
before 1.2.1-2ubuntu1+esm1, plus listed versions 1.2.1-11.2.1-21.2.1-2ubuntu1 |
1.2.1-2ubuntu1+esm1 |
htslibUbuntu:Pro:18.04:LTS From an advisory covering 2 CVEs |
before 1.7-2ubuntu0.1~esm1, plus listed versions 1.5-11.5-4ubuntu11.6-3ubuntu11.6-41.6-4build11.7-2 |
1.7-2ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-13845 is a critical vulnerability (CVSS 9.8) in Htslib, published July 10, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.70%, the 77th percentile. Fixed in htslib 1.9-2.
References
github.com/samtools/htslib/issues/731
nvd.nist.gov/vuln/detail/CVE-2018-13845
github.com/advisories/GHSA-gjpv-p8qj-966m
security-tracker.debian.org/tracker/CVE-2018-13845
ubuntu.com/security/CVE-2018-13845
ubuntu.com/security/notices/USN-4802-1
cve.org/CVERecord?id=CVE-2018-13845
ubuntu.com/security/CVE-2017-1000206