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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Nothings | stb | 2c980bb59875b0d32144a71867fbdebb2f77cd20 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libstb | No fix yet | — |
| Debian 13 | libstb | No fix yet | — |
| Debian 12 | libstb | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libstb | No fix yet | — |
| Ubuntu 26.04 LTS | libstb | No fix yet | — |
| Ubuntu 24.04 LTS | libstb | No fix yet | — |
| Ubuntu 22.04 LTS | libstb | No fix yet | — |
| Ubuntu 20.04 LTS | libstb | No fix yet | — |
References
- VDB-411496 | Nothings stb stb_hexwave.h hexwave_init integer overflow vdb-entry technical-description
- VDB-411496 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-102804 | CVE Analysis and Report third-party-advisory
- Submit #944861 | nothings stb (stb_hexwave.h) 31c1ad3 (latest at time of discovery) CWE-190: Integer Overflow; CWE-120: Buffer Overflow third-party-advisory
- https://github.com/nothings/stb/issues/1961 issue-tracking
- https://github.com/user-attachments/files/31351618/poc_hexwave.c exploit
- https://github.com/nothings/stb/ product