CVE-2026-102804Nothings stb stb_hexwave.h hexwave_init integer overflow
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
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libstb | Fix pending | UBUNTU-CVE-2026-102804 | |
| Ubuntu 26.04 | libstb | Under investigation | UBUNTU-CVE-2026-102804 | |
| Ubuntu 24.04 | libstb | Under investigation | UBUNTU-CVE-2026-102804 | |
| Ubuntu 22.04 | libstb | Under investigation | UBUNTU-CVE-2026-102804 | |
| Ubuntu 20.04 | libstb | Fix pending | UBUNTU-CVE-2026-102804 | |
| Debian 14 | libstb | Fix pending | DEBIAN-CVE-2026-102804 | |
| Debian 13 | libstb | Fix pending | DEBIAN-CVE-2026-102804 | |
| Debian 12 | libstb | Fix pending | DEBIAN-CVE-2026-102804 |
What the vendor says
As published in the CVE record by VulDB, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Nothings stb: affected: 2c980bb59875b0d32144a71867fbdebb2f77cd20
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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.