Heap-based Buffer Overflow Affecting htslib package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.86% (60th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-HTSLIB-22729444
  • published22 Nov 2026
  • disclosed19 Nov 2026

Introduced: 19 Nov 2026

NewCVE-2026-63390  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-190  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-1284  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest htslib.

NVD Description

Note: Versions mentioned in the description apply only to the upstream htslib package and not the htslib package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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, the BCF reader can experience an integer overflow in a record-length check that verifies whether a record contains enough bytes for the expected number and size of stored items. A crafted BCF record can bypass this check, causing reads beyond the stored data and, in some cases, writes beyond the heap buffer when the reader sets the least significant bit of accessed bytes. Opening such a file can crash the process, corrupt data or heap structures, and may permit arbitrary code execution. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.