Vulnerability · Published Sep 30, 2026 · Assigned by VulDB
CVE-2026-102805Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core integer overflow
Medium 6.5
In plain English
A medium-severity integer overflow in stb from Nothings. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 71.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libstb | no fix listed | DEBIAN-CVE-2026-102805 |
| Debian:13 | libstb | no fix listed | DEBIAN-CVE-2026-102805 |
| Debian:14 | libstb | no fix listed | DEBIAN-CVE-2026-102805 |
| Ubuntu:22.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-102805 |
| Ubuntu:24.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-102805 |
| Ubuntu:26.04:LTS | libstb | no fix listed | UBUNTU-CVE-2026-102805 |
| Ubuntu:26.10 | libstb | no fix listed | UBUNTU-CVE-2026-102805 |
Affected products (as reported)
Weakness: CWE-190, CWE-189 · Vector: 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
References
- VDB-411497 | Nothings stb Image Encoding stb_image_write.h stbi_write_tga_core integer overflow vdb-entry, technical-description
- VDB-411497 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-102805 | CVE Analysis and Report third-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-125 third-party-advisory
- https://github.com/nothings/stb/issues/1964 exploit, issue-tracking
- https://github.com/nothings/stb/issues/1964#issuecomment-5404606996 issue-tracking
- https://github.com/nothings/stb/ product