
Catalogue CVE
CVE-2026-62256
htslib affected and fixed versions
HTSlib is a library for reading and writing bioinformatics file formats. Prior to 1.21.2, 1.22.3, 1.23.2, and 1.24, fai_retrieve does not verify that the line width recorded in a FASTA .fai index is greater than or equal to the number of bases per line. When the line width is exactly one less than the base count, retrieval allocates an undersized heap buffer and writes one byte beyond its end; larger discrepancies instead cause an allocation failure that is handled. This issue can corrupt heap memory and crash the process. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
- Gravité
- High · CVSS 4.0 · 7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.51% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | htslib | 1.24-2 | FixedDistribution-reported fixed boundary | [CVE-2026-62256] |
| Debiansid | htslib | 1.24-4 | Fixed | [CVE-2026-62256] |
| Debianforky | htslib | 1.24-2 | FixedDistribution-reported fixed boundary | [CVE-2026-62256] |
| Debianforky | htslib | 1.24-4 | Fixed | [CVE-2026-62256] |
More observations (28)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | htslib | Not reported | Not affectedDistribution reports not affected | [CVE-2026-62256] |
| Debianbookworm | htslib | 1.16+ds-3 | Not affected | [CVE-2026-62256] |
| Debiantrixie | htslib | Not reported | AffectedDistribution reports no fix | [CVE-2026-62256] |
| Debiantrixie | htslib | 1.21+ds-1 | Affected | [CVE-2026-62256] |
| Ubuntu20.04 | htslib | 1.10.2-2ubuntu1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu20.04 | htslib | 1.10.2-2ubuntu2 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu20.04 | htslib | 1.10.2-3 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu20.04 | htslib | 1.10.2-3ubuntu0.1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu20.04 | htslib | 1.9-10 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu20.04 | htslib | 1.9-11 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu20.04 | htslib | 1.9-12 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu22.04 | htslib | 1.13+ds-2 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu22.04 | htslib | 1.13+ds-2build1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu24.04 | htslib | 1.17+ds-1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu24.04 | htslib | 1.18+ds-1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu24.04 | htslib | 1.19+ds-1.1build2 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu24.04 | htslib | 1.19+ds-1.1build3 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu26.04 | htslib | 1.21+ds-1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu26.04 | htslib | 1.22.1+ds2-1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu26.10 | htslib | 1.22.1+ds2-1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntu26.10 | htslib | 1.22.1+ds2-1build1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntupro | htslib | 1.5-1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntupro | htslib | 1.5-4ubuntu1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntupro | htslib | 1.6-3ubuntu1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntupro | htslib | 1.6-4 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntupro | htslib | 1.6-4build1 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntupro | htslib | 1.7-2 | Affected | [UBUNTU-CVE-2026-62256] |
| Ubuntupro | htslib | 1.7-2ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-62256] |
Publisher notes
[trixie] htslib: Minor issue
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [htslib-test]Affectée
Paquet source: [htslib]
Détails (2)
1.21+ds-1· all · trixieAffectée
pypi · htslib · debian · 13
1.21+ds-1· all · trixieAffectée
pypi · htslib · debian · 13
- [libhts3t64]Affectée
Paquet source: [htslib]
Détails (2)
1.21+ds-1· amd64 · trixieAffectée
pypi · htslib · debian · 13
1.21+ds-1· arm64 · trixieAffectée
pypi · htslib · debian · 13
- [libhts-dev]Affectée
Paquet source: [htslib]
Détails (2)
1.21+ds-1· amd64 · trixieAffectée
pypi · htslib · debian · 13
1.21+ds-1· arm64 · trixieAffectée
pypi · htslib · debian · 13
- [tabix]Affectée
Paquet source: [htslib]
Détails (2)
1.21+ds-1· amd64 · trixieAffectée
pypi · htslib · debian · 13
1.21+ds-1· arm64 · trixieAffectée
pypi · htslib · debian · 13
[Debian 12 (Bookworm)]
- [htslib-test]Non affectée
Paquet source: [htslib]
Détails (2)
1.16+ds-3· all · bookwormNon affectée
dsa · htslib · debian · bookworm
1.16+ds-3· all · bookwormNon affectée
dsa · htslib · debian · bookworm
- [libhts3]Non affectée
Paquet source: [htslib]
Détails (2)
1.16+ds-3· amd64 · bookwormNon affectée
dsa · htslib · debian · bookworm
1.16+ds-3· arm64 · bookwormNon affectée
dsa · htslib · debian · bookworm
- [libhts-dev]Non affectée
Paquet source: [htslib]
Détails (2)
1.16+ds-3· amd64 · bookwormNon affectée
dsa · htslib · debian · bookworm
1.16+ds-3· arm64 · bookwormNon affectée
dsa · htslib · debian · bookworm
- [tabix]Non affectée
Paquet source: [htslib]
Détails (2)
1.16+ds-3· amd64 · bookwormNon affectée
dsa · htslib · debian · bookworm
1.16+ds-3· arm64 · bookwormNon affectée
dsa · htslib · debian · bookworm
Observé:
Références
- [https://github.com/samtools/htslib/commit/4af640f9ffd7f1fac95a739df7f560e3e5557960]
- [https://github.com/samtools/htslib/commit/504fb841b70afb948f58089c3a4337ce875c1e52]
- [https://github.com/samtools/htslib/commit/567fd43c6ef938de53c98217f99336e3ce5a60ab]
- [https://github.com/samtools/htslib/commit/cdf22929aad8dde719c1b2070ad565ac9dd76c02]
- [https://github.com/samtools/htslib/pull/2008]
- [https://github.com/samtools/htslib/releases/tag/1.21.2]
- [https://github.com/samtools/htslib/releases/tag/1.22.3]
- [https://github.com/samtools/htslib/releases/tag/1.23.2]
- [https://github.com/samtools/htslib/releases/tag/1.24]
- [https://github.com/samtools/htslib/security/advisories/GHSA-4hjq-r829-8c8v]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-62256]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-62256]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-62256]
- [https://security-tracker.debian.org/tracker/CVE-2026-62256]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]