HighFix available
htslib — 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
- htslib
- Affected versions
- Not specified
- Fixed versions
- 1.9-2
- CVEs
- CVE-2018-13843
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:06 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:DEBIAN-CVE-2018-13843
htslib
Fixed versions: 1.9-2
htslib
Fixed versions: 1.9-2
htslib
Fixed versions: 1.9-2
Complete source record
{
"id": "731f816738b246d8b44dabf2ef79a5e4f664d0bfab34c151d417fd5d69352e26",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-13843",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-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:DEBIAN-CVE-2018-13843",
"products": [
{
"name": {
"value": "htslib",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.9-2",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "htslib",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.9-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "htslib",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.9-2",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2018-13843",
"aliases": [
"DEBIAN-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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.9-2"
}
]
}
],
"package": {
"name": "htslib",
"purl": "pkg:deb/debian/htslib?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-13843.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.9-2"
}
]
}
],
"package": {
"name": "htslib",
"purl": "pkg:deb/debian/htslib?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-13843.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.9-2"
}
]
}
],
"package": {
"name": "htslib",
"purl": "pkg:deb/debian/htslib?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-13843.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-23T18:02:59.298650752Z",
"provider": "osv",
"upstream": [
"CVE-2018-13843"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-13843"
]
},
"related_cves": [
{
"value": "CVE-2018-13843",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 420014,
"published_at": "2018-07-10T18:29:00.407+00:00"
}