High
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-13843
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:03 UTC · Revision 1
Source evidence
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
osv:CVE-2018-13843
Complete source record
{
"id": "b20c9b97fb4520a8f293709b22bf39a3752fdc0a5e81ef502e2d7c495d93dcf0",
"url": "https://osv.dev/vulnerability/CVE-2018-13843",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-13843",
"summary": "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",
"evidence": "osv:CVE-2018-13843",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-13843",
"aliases": [
"CVE-2018-13843"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/samtools/htslib",
"type": "GIT",
"events": [
{
"introduced": "be22a2a1082f6e570718439b9ace2db17a609eae"
},
{
"last_affected": "be22a2a1082f6e570718439b9ace2db17a609eae"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:htslib:htslib:1.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8"
},
{
"last_affected": "1.8"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-13843.json"
}
}
],
"modified": "2026-10-20T10:49:49.434838651Z",
"provider": "osv",
"references": [
"https://github.com/samtools/htslib/issues/731#issue-339662537"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-13843",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 380841,
"published_at": "2018-07-10T18:29:00.407+00:00"
}