{"id":"DEBIAN-CVE-2026-62258","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 decoder validates the 254-character query-name limit only after decoding the name into a 1024-byte stack array. An attacker-controlled CRAM record can provide an overlong query name and overflow the local stack buffer before the later validation runs; all CRAM format versions are affected. Opening such a file can crash the process, corrupt stack data, and may permit arbitrary code execution. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.","modified":"2026-11-21T17:00:07.896345434Z","published":"2026-11-19T16:21:37.920Z","upstream":["CVE-2026-62258"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-62258"}],"affected":[{"package":{"name":"htslib","ecosystem":"Debian:12","purl":"pkg:deb/debian/htslib?arch=source&distro=bookworm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.16+ds-3","1.17+ds-0+exp1","1.17+ds-1","1.18+ds-0+exp1","1.18+ds-1","1.19+ds-0+exp0","1.19+ds-1","1.19+ds-1+exp1","1.19+ds-1.1","1.20+ds-1","1.20+ds-2","1.21+ds-0+exp1","1.21+ds-0+exp2","1.21+ds-1","1.22.1+ds-1","1.22.1+ds-2","1.22.1+ds2-1","1.24-1","1.24-2","1.24-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-62258.json"}},{"package":{"name":"htslib","ecosystem":"Debian:13","purl":"pkg:deb/debian/htslib?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.21+ds-1","1.22.1+ds-1","1.22.1+ds-2","1.22.1+ds2-1","1.24-1","1.24-2","1.24-3"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-62258.json"}},{"package":{"name":"htslib","ecosystem":"Debian:14","purl":"pkg:deb/debian/htslib?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.24-2"}]}],"versions":["1.21+ds-1","1.22.1+ds-1","1.22.1+ds-2","1.22.1+ds2-1","1.24-1"],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-62258.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: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"}]}