# CVE-2026-102804: Nothings stb stb_hexwave.h hexwave_init integer overflow

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-30T00:00:17.544Z
- Modified: 2026-10-02T13:17:23.053Z
- Weaknesses: CWE-189, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- Nothings stb: 2c980bb59875b0d32144a71867fbdebb2f77cd20

## Every score

- VulDB: CVSS:4.0 6.9 Medium `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`
- VulDB: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:C`
- VulDB: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/user-attachments/files/31351618/poc_hexwave.c> (exploit)
- <https://vuldb.com/vuln/411496> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/411496/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-102804> (third-party-advisory)
- <https://vuldb.com/submit/944861> (third-party-advisory)
- <https://github.com/nothings/stb/issues/1961> (issue-tracking)
- <https://github.com/nothings/stb/> (product)

## Sources

- CVE List: [CVE-2026-102804](https://www.cve.org/CVERecord?id=CVE-2026-102804), CVE Terms of Use, modified 2026-10-02
- NVD: [CVE-2026-102804](https://nvd.nist.gov/vuln/detail/CVE-2026-102804), Public domain, modified 2026-10-02

---

Page: https://cve.day/CVE-2026-102804 · Whole record: https://cve.day/CVE-2026-102804.json · Rebuilt by cve.day 2026-11-25T22:59:41.590Z
