{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-62259","id":"CVE-2026-62259","title":"HTSlib: Out-of-bounds read in HTSlib CRAM 4.0 reader due to improper validation of input","description":"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 experimental CRAM v4 functions cram_xpack_decode_char and cram_xrle_decode_char do not validate that attacker-controlled decode sizes remain within their expanded input arrays. Crafted CRAM data can therefore make either decoder read beyond the supplied input buffer, potentially ","descriptionLong":"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 experimental CRAM v4 functions cram_xpack_decode_char and cram_xrle_decode_char do not validate that attacker-controlled decode sizes remain within their expanded input arrays. Crafted CRAM data can therefore make either decoder read beyond the supplied input buffer, potentially disclosing process-state information or crashing the process through invalid memory access. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.","published":"2026-11-19T15:44:25.840Z","updated":"2026-11-19T15:44:25.840Z","reserved":"2026-07-13T17:09:57.574Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub_M"}],"rating":"medium","products":["samtools htslib"],"affectedProducts":[{"vendor":"samtools","product":"htslib","defaultStatus":null,"versions":[{"version":"< 1.21.2","status":"affected"},{"version":">= 1.22.0, < 1.22.3","status":"affected"},{"version":">= 1.23.0, < 1.23.2","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-125","CWE-129"],"aliases":[],"references":[{"url":"https://github.com/samtools/htslib/security/advisories/GHSA-hg3g-v57p-459q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/samtools/htslib/pull/2046","tags":["x_refsource_MISC"]},{"url":"https://github.com/samtools/htslib/commit/76147edc658e5c19cbae52ececf5e3af81e8998a","tags":["x_refsource_MISC"]},{"url":"https://github.com/samtools/htslib/commit/a1f929da9f207b099bfc1f5a74aee94fc0eeba6a","tags":["x_refsource_MISC"]},{"url":"https://github.com/samtools/htslib/commit/a3e8dca14dcfdc6167281721ede6d6ecd3395bad","tags":["x_refsource_MISC"]},{"url":"https://github.com/samtools/htslib/releases/tag/1.21.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/samtools/htslib/releases/tag/1.22.3","tags":["x_refsource_MISC"]},{"url":"https://github.com/samtools/htslib/releases/tag/1.23.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/samtools/htslib/releases/tag/1.24","tags":["x_refsource_MISC"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-62259","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62259","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-62259","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-62259","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}