{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-62259",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-13T17:09:57.574Z",
        "datePublished": "2026-11-19T15:44:25.840Z",
        "dateUpdated": "2026-11-19T18:53:09.505Z"
    },
    "containers": {
        "cna": {
            "title": "HTSlib: Out-of-bounds read in HTSlib CRAM 4.0 reader due to improper validation of input",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-125",
                            "lang": "en",
                            "description": "CWE-125: Out-of-bounds Read",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-129",
                            "lang": "en",
                            "description": "CWE-129: Improper Validation of Array Index",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "NONE",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 6.9,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/samtools/htslib/security/advisories/GHSA-hg3g-v57p-459q",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/samtools/htslib/security/advisories/GHSA-hg3g-v57p-459q"
                },
                {
                    "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/76147edc658e5c19cbae52ececf5e3af81e8998a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/commit/76147edc658e5c19cbae52ececf5e3af81e8998a"
                },
                {
                    "name": "https://github.com/samtools/htslib/commit/a1f929da9f207b099bfc1f5a74aee94fc0eeba6a",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/commit/a1f929da9f207b099bfc1f5a74aee94fc0eeba6a"
                },
                {
                    "name": "https://github.com/samtools/htslib/commit/a3e8dca14dcfdc6167281721ede6d6ecd3395bad",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/commit/a3e8dca14dcfdc6167281721ede6d6ecd3395bad"
                },
                {
                    "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:44:25.840Z"
            },
            "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 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."
                }
            ],
            "source": {
                "advisory": "GHSA-hg3g-v57p-459q",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-19T18:52:54.718823Z",
                                "id": "CVE-2026-62259",
                                "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-19T18:53:09.505Z"
                }
            }
        ]
    }
}