CVE-2026-102805
6.9
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Nothings | stb | 1.0 | affected |
| Nothings | stb | 1.1 | affected |
| Nothings | stb | 1.2 | affected |
| Nothings | stb | 1.3 | affected |
| Nothings | stb | 1.4 | affected |
| Nothings | stb | 1.5 | affected |
| Nothings | stb | 1.6 | affected |
| Nothings | stb | 1.7 | affected |
| Nothings | stb | 1.8 | affected |
| Nothings | stb | 1.9 | affected |
| Nothings | stb | 1.10 | affected |
| Nothings | stb | 1.11 | affected |
| Nothings | stb | 1.12 | affected |
| Nothings | stb | 1.13 | affected |
| Nothings | stb | 1.14 | affected |
| Nothings | stb | 1.15 | affected |
| Nothings | stb | 1.16 | affected |
Weaknesses
- CWE-190: Integer Overflow
- CWE-189: Numeric Error
References
- https://vuldb.com/vuln/411497
- https://vuldb.com/vuln/411497/cti
- https://vuldb.com/cve/CVE-2026-102805
- https://vuldb.com/submit/944868
- https://github.com/nothings/stb/issues/1964
- https://github.com/nothings/stb/issues/1964#issuecomment-5404606996
- https://github.com/nothings/stb/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.