---
title: "CVE-2026-62255: HTSlib - Out of Bounds Read/Write"
description: "HTSlib < 1.21.2, 1.22.3, 1.23.2, and 1.24 contains a buffer overflow caused by improper verification of reference sequence counts in CRAM .crai index, letting attackers trigger memory corruption or denial of service via crafted region queries."
url: https://panop.io/threat-heartbeat/CVE-2026-62255/
---

# CVE-2026-62255 HTSlib - Out of Bounds Read/Write

HTSlib < 1.21.2, 1.22.3, 1.23.2, and 1.24 contains a buffer overflow caused by improper verification of reference sequence counts in CRAM .crai index, letting attackers trigger memory corruption or denial of service via crafted region queries.

CVSS base score 7.1 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.61% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-62255)

## Details

Type

Out of Bounds Read/Write

Impact

Denial Of Service

CVSS vector

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

19 November 2026

Updated

21 November 2026

Weakness

[CWE-122](https://cwe.mitre.org/data/definitions/122.html)

## Vendor fix

Update to versions 1.21.2, 1.22.3, 1.23.2, or 1.24.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-62255](https://nvd.nist.gov/vuln/detail/CVE-2026-62255)
- [https://github.com/samtools/htslib/pull/2029](https://github.com/samtools/htslib/pull/2029)
- [https://github.com/samtools/htslib/releases/tag/1.22.3](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.23.2)
- [https://github.com/samtools/htslib/security/advisories/GHSA-28r7-prwc-hf5c](https://github.com/samtools/htslib/security/advisories/GHSA-28r7-prwc-hf5c)
- [https://github.com/samtools/htslib/commit/08fbbceefdfac073e768c1fce593181ca7379222](https://github.com/samtools/htslib/commit/08fbbceefdfac073e768c1fce593181ca7379222)
- [https://github.com/samtools/htslib/commit/57e1a0763c9a5f34a1d1ab9deb3a3ad2bd8fe11d](https://github.com/samtools/htslib/commit/57e1a0763c9a5f34a1d1ab9deb3a3ad2bd8fe11d)
- [https://github.com/samtools/htslib/commit/8a2394e63c9bdd758cc6a7de04c5e2ee7acc8e65](https://github.com/samtools/htslib/commit/8a2394e63c9bdd758cc6a7de04c5e2ee7acc8e65)
- [https://github.com/samtools/htslib/releases/tag/1.21.2](https://github.com/samtools/htslib/releases/tag/1.21.2)
- [https://github.com/samtools/htslib/releases/tag/1.24](https://github.com/samtools/htslib/releases/tag/1.24)
- [https://github.com/samtools/htslib/commit/924e21755d0b5db7a33f1920d20c0e441667d22f](https://github.com/samtools/htslib/commit/924e21755d0b5db7a33f1920d20c0e441667d22f)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
