Affected versions
Ubuntu20.04:LTS/libstb
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu22.04:LTS/libstb
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu24.04:LTS/libstb
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/libstb
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.10/libstb
- Affected versions
- *
- Fixed version
- Not reported
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.
Links
- https://github.com/nothings/stb/
- https://github.com/nothings/stb/issues/1964
- https://github.com/nothings/stb/issues/1964#issuecomment-5404606996
- https://ubuntu.com/security/CVE-2026-102805
- https://vuldb.com/cve/CVE-2026-102805
- https://vuldb.com/submit/944868
- https://vuldb.com/vuln/411497
- https://vuldb.com/vuln/411497/cti
- https://www.cve.org/CVERecord?id=CVE-2026-102805

