{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-62255",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-07-13T17:09:57.573Z",
        "datePublished": "2026-11-19T15:45:54.865Z",
        "dateUpdated": "2026-11-19T18:42:06.074Z"
    },
    "containers": {
        "cna": {
            "title": "HTSlib: Heap write overflow in HTSlib CRAM index handling",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-122",
                            "lang": "en",
                            "description": "CWE-122: Heap-based Buffer Overflow",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-125",
                            "lang": "en",
                            "description": "CWE-125: Out-of-bounds Read",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-787",
                            "lang": "en",
                            "description": "CWE-787: Out-of-bounds Write",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-789",
                            "lang": "en",
                            "description": "CWE-789: Memory Allocation with Excessive Size Value",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "PASSIVE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnAvailabilityImpact": "LOW",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/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-28r7-prwc-hf5c",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/samtools/htslib/security/advisories/GHSA-28r7-prwc-hf5c"
                },
                {
                    "name": "https://github.com/samtools/htslib/pull/2029",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/pull/2029"
                },
                {
                    "name": "https://github.com/samtools/htslib/commit/08fbbceefdfac073e768c1fce593181ca7379222",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/commit/08fbbceefdfac073e768c1fce593181ca7379222"
                },
                {
                    "name": "https://github.com/samtools/htslib/commit/57e1a0763c9a5f34a1d1ab9deb3a3ad2bd8fe11d",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/commit/57e1a0763c9a5f34a1d1ab9deb3a3ad2bd8fe11d"
                },
                {
                    "name": "https://github.com/samtools/htslib/commit/8a2394e63c9bdd758cc6a7de04c5e2ee7acc8e65",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/commit/8a2394e63c9bdd758cc6a7de04c5e2ee7acc8e65"
                },
                {
                    "name": "https://github.com/samtools/htslib/commit/924e21755d0b5db7a33f1920d20c0e441667d22f",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/samtools/htslib/commit/924e21755d0b5db7a33f1920d20c0e441667d22f"
                },
                {
                    "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:45:54.865Z"
            },
            "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, cram_index_load does not verify that the number of reference sequences in a CRAM .crai index does not exceed the CRAM header reference count. A malformed index can drive unbounded index-array allocation, and when the number of references in the index is within two of INT_MAX, the growth calculation can wrap, read beyond a heap buffer, and use the resulting value as a pointer for an unchecked memory write. Any region query can trigger the flaw, causing denial of service or memory corruption. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24."
                }
            ],
            "source": {
                "advisory": "GHSA-28r7-prwc-hf5c",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "references": [
                    {
                        "url": "https://github.com/samtools/htslib/pull/2029",
                        "tags": [
                            "exploit"
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-19T18:40:34.842826Z",
                                "id": "CVE-2026-62255",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "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:42:06.074Z"
                }
            }
        ]
    }
}