{"id":"CVE-2026-62260","summary":"HTSlib: Out-of-bounds read in HTSlib CRAM 3.x and 4.0 readers due to improper validation of input","details":"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 CRAM BETA decoder functions cram_beta_decode_long, cram_beta_decode_int, and cram_beta_decode_char, and the experimental CRAM v4 XPACK functions cram_xpack_decode_long and cram_xpack_decode_int, have bounds-checking flaws caused by integer overflow after a multiplication. The resulting incorrect bounds check can allow decoding to read beyond the supplied input buffer, potentially leaking process-state information or crashing the process. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.","aliases":["GHSA-rjqv-xg3q-g423"],"modified":"2026-11-19T19:45:59.935353366Z","published":"2026-11-19T15:53:13.929Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125","CWE-129"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62260.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62260.json"},{"type":"FIX","url":"https://github.com/samtools/htslib/commit/3eb519cd8a9be35275db46a439eb158e70fe4151"},{"type":"FIX","url":"https://github.com/samtools/htslib/commit/3eef4aece30bc008b251e377085fc944d008d06a"},{"type":"FIX","url":"https://github.com/samtools/htslib/commit/a3e8dca14dcfdc6167281721ede6d6ecd3395bad"},{"type":"FIX","url":"https://github.com/samtools/htslib/pull/2046"},{"type":"WEB","url":"https://github.com/samtools/htslib/releases/tag/1.21.2"},{"type":"WEB","url":"https://github.com/samtools/htslib/releases/tag/1.22.3"},{"type":"WEB","url":"https://github.com/samtools/htslib/releases/tag/1.23.2"},{"type":"WEB","url":"https://github.com/samtools/htslib/releases/tag/1.24"},{"type":"ADVISORY","url":"https://github.com/samtools/htslib/security/advisories/GHSA-rjqv-xg3q-g423"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62260"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/samtools/htslib","events":[{"introduced":"0"},{"fixed":"03e8c34690124033f6552a22442418c93f058388"},{"fixed":"22ef718565b378e0604e678761fd4be3b1e4055b"},{"fixed":"3beae100a4c6b066e7f601f7e244bb371b9c1c16"},{"fixed":"3eb519cd8a9be35275db46a439eb158e70fe4151"},{"fixed":"3eef4aece30bc008b251e377085fc944d008d06a"},{"fixed":"a3e8dca14dcfdc6167281721ede6d6ecd3395bad"},{"fixed":"4b705e4fada8ee2b6b15746f725ee8ac51631803"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.21.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"strategy":"StringRangeExpression","range":[{"introduced":"1.22.0"},{"fixed":"1.22.3"}],"source":"AFFECTED_FIELD"},{"range":[{"introduced":"1.23.0"},{"fixed":"1.23.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3eb519cd8a9be35275db46a439eb158e70fe4151"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"3eef4aece30bc008b251e377085fc944d008d06a"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"a3e8dca14dcfdc6167281721ede6d6ecd3395bad"}]},{"original_tag":"1.21.2","range":[{"fixed":"03e8c34690124033f6552a22442418c93f058388"}],"source":"REFERENCES_TAG"},{"source":"REFERENCES_TAG","original_tag":"1.22.3","range":[{"fixed":"22ef718565b378e0604e678761fd4be3b1e4055b"}]},{"original_tag":"1.23.2","range":[{"fixed":"3beae100a4c6b066e7f601f7e244bb371b9c1c16"}],"source":"REFERENCES_TAG"},{"original_tag":"1.24","range":[{"fixed":"4b705e4fada8ee2b6b15746f725ee8ac51631803"}],"source":"REFERENCES_TAG"}]}}],"versions":["1.23.1","1.22.2","1.21.1","1.23","1.22.1","1.22","1.21","1.20","1.19.1","1.19","1.18","1.17","1.16","1.15.1","1.15","1.14","1.13","1.12","1.11.0","1.11","1.10.2","1.10","1.10.1","1.9","1.8","1.7","1.6","1.5","1.4.1","1.4","1.3.2","1.3.1","1.3","1.2.1","1.2","1.1","1.0","0.2.0-rc12","0.2.0-rc11","0.2.0-rc10","0.2.0-rc9","0.2.0-rc8","0.2.0-rc7","0.2.0-rc6","0.2.0-rc5","0.2.0-rc4","0.2.0-rc3","0.2.0-rc2","vcf-direct-final","stable2","stable1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62260.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}