---
id: CVE-2026-89266
title: >-
  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
summary: >-
  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
  dimension…
severity: high
cvss: 8.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'
cwe:
  - CWE-787
vendor: nothings
product: stb_vorbis
affected:
  - stb_vorbis <= 1.22
published: '2026-09-12'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:08:55.030'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89266'
references:
  - url: 'https://github.com/nothings/stb'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L3878-L3880
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/nothings/stb/blob/2c980bb59875b0d32144a71867fbdebb2f77cd20/stb_vorbis.c#L950
    label: disclosure@vulncheck.com
  - url: 'https://github.com/nothings/stb/issues/1928'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/nothings/stb/issues/1933'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/nothings/stb/issues/1947'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/stb-vorbis-through-1.22-heap-buffer-overflow-via-codebook-multiplicands
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89266.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89266'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89266'
tags:
  - nvd
  - cve.org
  - exploit-available
  - csaf
  - vex
  - red-hat
epss: 0.0064
epssPercentile: 0.48414
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-09-20T00:10:09.334449Z'
ingestedAt: '2026-09-14T15:23:07.484Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · updated 2026-09-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89266.json)
