{"vuln_id":"CVE-2026-62258","aliases":["GHSA-2jx2-wm7f-rv9m"],"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 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.","published_at":"2026-11-19T16:21:37.920000Z","modified_at":"2026-11-21T17:00:07.896345Z","first_seen_at":"2026-11-21T19:15:50.691506Z","severity":"high","severity_source":"nvd","cvss_score":8.8,"cvss_vector":"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","cwe":["CWE-121","CWE-787"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.0082,"epss_percentile":0.58178,"nvd_status":"Awaiting Analysis","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-62258"},"matched_alias":null,"items":[{"id":11149,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2026-62258: 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-characte…","summary":"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.\n\nAffected: Debian:12:htslib, Debian:13:htslib, Debian:14:htslib\n\nFixed in: 1.24-2\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2026-62258","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-62258","published_at":"2026-11-19T16:21:37.920000Z","updated_at":"2026-11-21T17:00:07.896345Z","fetched_at":"2026-11-21T19:15:55.946464Z","severity":"high","cvss_score":8.8,"epss":0.0082,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"debian","product":"12:htslib","vuln_id":"CVE-2026-62258","vuln_ids":["CVE-2026-62258","DEBIAN-CVE-2026-62258","GHSA-2JX2-WM7F-RV9M"],"tags":["osv","debian","fix-available"],"cluster_id":9280,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/11149","html":"https://vulnwatch.ve1ve2.com/item/11149"}},{"id":8967,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-62258: 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-characte…","summary":"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.\n\nReferences:\nhttps://github.com/samtools/htslib/commit/25278797c251a9af789382ecf5aa0c86f417bdf5\nhttps://github.com/samtools/htslib/commit/df93e245f1b517aec86c69684fcb2faf5942c5c2\nhttps://github.com/samtools/htslib/commit/f1d1bf835aaafa1e511996dcd49760c36f683b17\nhttps://github.com/samtools/htslib/pull/2046\nhttps://github.com/samtools/htslib/releases/tag/1.21.2\nhttps://github.com/samtools/htslib/releases/tag/1.22.3\nhttps://github.com/samtools/htslib/releases/tag/1.23.2\nhttps://github.com/samtools/htslib/releases/tag/1.24\nhttps://github.com/samtools/htslib/security/advisories/GHSA-2jx2-wm7f-rv9m","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62258","published_at":"2026-11-19T16:21:37.920000Z","updated_at":"2026-11-19T21:45:07.680000Z","fetched_at":"2026-11-21T19:15:31.484632Z","severity":"high","cvss_score":8.8,"epss":0.0082,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-62258","vuln_ids":["CVE-2026-62258","GHSA-2JX2-WM7F-RV9M"],"tags":["CWE-121","CWE-787"],"cluster_id":9280,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/8967","html":"https://vulnwatch.ve1ve2.com/item/8967"}}]}