# CVE-2026-102805: Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core 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:15:17.198Z
- Modified: 2026-10-01T16:17:35.400Z
- Weaknesses: CWE-189, CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## Description

A flaw has been found in Nothings stb up to 1.16. This affects the function stbi_write_png_to_mem/stbi_write_jpg_core/stbi_write_tga_core in the library stb_image_write.h of the component Image Encoding. Executing a manipulation can lead to integer overflow. The attack can be executed remotely. The exploit has been published and may be used.

(As written by CVE List.)

## Affected

- Nothings stb: 1.0; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; 1.10; 1.11; and 5 more

## 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/nothings/stb/issues/1964> (exploit, issue-tracking)
- <https://vuldb.com/vuln/411497> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/411497/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-102805> (third-party-advisory)
- <https://vuldb.com/submit/944868> (third-party-advisory)
- <https://github.com/nothings/stb/issues/1964#issuecomment-5404606996> (issue-tracking)
- <https://github.com/nothings/stb/> (product)

## Sources

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

---

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