CVE-2026-102805
Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core integer overflow
- State
- Published
- Severity
- 6.9 Medium
- Published
- Sep 30, 2026
- Updated
- Oct 1, 2026
- Reserved
- Sep 29, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 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 |
| 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 |
| 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 |
| 2.0 | 6.4 Medium | AV:N/AC:L/Au:N/C:N/I:P/A:P/E:POC/RL:ND/RC:C | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
stbNothings |
|
References
- VDB-411497 | Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core integer overflowvdb-entrytechnical-description
- VDB-411497 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- CVE-2026-102805 | CVE Analysis and Reportthird-party-advisory
- Submit #944868 | nothings stb (stb_image_write.h) 31c1ad3 (latest at time of discovery) CWE-190: Integer Overflow; CWE-787: Out-of-bounds Write; CWE-125third-party-advisory
- https://github.com/nothings/stb/issues/1964exploitissue-tracking
- https://github.com/nothings/stb/issues/1964#issuecomment-5404606996issue-tracking
- https://github.com/nothings/stb/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.