{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-89266",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-09-11T10:52:56.669Z",
        "datePublished": "2026-09-11T23:23:26.509Z",
        "dateUpdated": "2026-09-11T23:23:26.509Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-09-11T23:23:26.509Z"
            },
            "datePublic": "2026-04-03T00:00:00.000Z",
            "title": "stb_vorbis through 1.22 heap buffer overflow via codebook multiplicands",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "stb_vorbis through 1.22 contains a heap buffer overflow in start_decoder() where the codebook multiplicands allocation size is truncated from size_t to int. Attackers can craft a malicious Ogg Vorbis file with large entries and dimensions values to trigger out-of-bounds writes, causing process crashes or heap corruption."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Out-of-bounds Write",
                            "cweId": "CWE-787",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "nothings",
                    "product": "stb_vorbis",
                    "repo": "https://github.com/nothings/stb",
                    "packageURL": "pkg:github/nothings/stb",
                    "defaultStatus": "unaffected",
                    "versions": [
                        {
                            "version": "0",
                            "lessThanOrEqual": "1.22",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:stb_vorbis_project:stb_vorbis:*:*:*:*:*:*:*:*",
                                    "versionEndIncluding": "1.22"
                                }
                            ]
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV4_0": {
                        "version": "4.0",
                        "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "HIGH",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    }
                },
                {
                    "format": "CVSS",
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "references": [
                {
                    "url": "https://github.com/nothings/stb/issues/1928",
                    "tags": [
                        "issue-tracking"
                    ],
                    "name": "GitHub Issue #1928"
                },
                {
                    "url": "https://github.com/nothings/stb/issues/1933",
                    "tags": [
                        "issue-tracking"
                    ],
                    "name": "GitHub Issue #1933"
                },
                {
                    "url": "https://github.com/nothings/stb/issues/1947",
                    "tags": [
                        "issue-tracking"
                    ],
                    "name": "GitHub Issue #1947"
                },
                {
                    "url": "https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L3878-L3880",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "Vulnerable multiplicands allocation (stb_vorbis.c:3878-3880)"
                },
                {
                    "url": "https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L950",
                    "tags": [
                        "technical-description"
                    ],
                    "name": "setup_malloc int size parameter (stb_vorbis.c:950)"
                },
                {
                    "url": "https://github.com/nothings/stb",
                    "tags": [
                        "product"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: stb_vorbis through 1.22 heap buffer overflow via codebook multiplicands",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/stb-vorbis-through-1.22-heap-buffer-overflow-via-codebook-multiplicands"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "boergeson",
                    "type": "finder"
                },
                {
                    "lang": "en",
                    "value": "Përparim Mjeku",
                    "type": "reporter"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}