{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-62258","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-07-13T17:09:57.574Z","datePublished":"2026-11-19T15:50:31.702Z","dateUpdated":"2026-11-19T20:43:05.331Z"},"containers":{"cna":{"title":"HTSlib: Stack write overflow in HTSlib CRAM decoder","problemTypes":[{"descriptions":[{"cweId":"CWE-121","lang":"en","description":"CWE-121: Stack-based Buffer Overflow","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.8,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"references":[{"name":"https://github.com/samtools/htslib/security/advisories/GHSA-2jx2-wm7f-rv9m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/samtools/htslib/security/advisories/GHSA-2jx2-wm7f-rv9m"},{"name":"https://github.com/samtools/htslib/pull/2046","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/pull/2046"},{"name":"https://github.com/samtools/htslib/commit/25278797c251a9af789382ecf5aa0c86f417bdf5","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/commit/25278797c251a9af789382ecf5aa0c86f417bdf5"},{"name":"https://github.com/samtools/htslib/commit/df93e245f1b517aec86c69684fcb2faf5942c5c2","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/commit/df93e245f1b517aec86c69684fcb2faf5942c5c2"},{"name":"https://github.com/samtools/htslib/commit/f1d1bf835aaafa1e511996dcd49760c36f683b17","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/commit/f1d1bf835aaafa1e511996dcd49760c36f683b17"},{"name":"https://github.com/samtools/htslib/releases/tag/1.21.2","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/releases/tag/1.21.2"},{"name":"https://github.com/samtools/htslib/releases/tag/1.22.3","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/releases/tag/1.22.3"},{"name":"https://github.com/samtools/htslib/releases/tag/1.23.2","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/releases/tag/1.23.2"},{"name":"https://github.com/samtools/htslib/releases/tag/1.24","tags":["x_refsource_MISC"],"url":"https://github.com/samtools/htslib/releases/tag/1.24"}],"affected":[{"vendor":"samtools","product":"htslib","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"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-11-19T15:50:31.702Z"},"descriptions":[{"lang":"en","value":"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."}],"source":{"advisory":"GHSA-2jx2-wm7f-rv9m","discovery":"UNKNOWN"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-19T20:29:51.824666Z","id":"CVE-2026-62258","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-19T20:43:05.331Z"}}]}}