---
id: CVE-2026-102804
title: >-
  A vulnerability was detected in Nothings stb up to
  2c980bb59875b0d32144a71867fbdebb2f77cd20
summary: >-
  A vulnerability was detected in Nothings stb up to
  2c980bb59875b0d32144a71867fbdebb2f77cd20. The impacted element is the function
  hexwave_init in the library stb_hexwave.h. Performing a manipulation of the
  argument width/oversample resul…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'
cwe:
  - CWE-189
  - CWE-190
vendor: Nothings
product: stb
affected:
  - stb 2c980bb59875b0d32144a71867fbdebb2f77cd20
published: '2026-09-30'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T01:16:35.990'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102804'
references:
  - url: 'https://github.com/nothings/stb/'
    label: cna@vuldb.com
  - url: 'https://github.com/nothings/stb/issues/1961'
    label: cna@vuldb.com
  - url: 'https://github.com/user-attachments/files/31351618/poc_hexwave.c'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2026-102804'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/944861'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/411496'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/411496/cti'
    label: cna@vuldb.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-30T00:53:47.830Z'
---

## Overview

A vulnerability was detected in Nothings stb up to 2c980bb59875b0d32144a71867fbdebb2f77cd20. The impacted element is the function hexwave_init in the library stb_hexwave.h. Performing a manipulation of the argument width/oversample results in integer overflow. Remote exploitation of the attack is possible. The exploit is now public and may be used. The project was informed of the problem early through an issue report but has not responded yet.

## Remediation

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