CVE Catalog

CVE-2026-102805

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

26th percentile - higher than 26% of all known CVEs

Summary

A flaw was found in Nothings stb up to version 1.16 affecting the stbi_write_png_to_mem, stbi_write_jpg_core, and stbi_write_tga_core functions (stb_image_write.h) in the Image Encoding component. Manipulation leads to an integer overflow. The attack can be executed remotely, and the exploit is publicly available.

Risk Assessment

A remote attacker can exploit the integer overflow to cause application crashes or potentially achieve code execution. The public exploit increases the risk of exploitation in attacks.

Recommendation

Update the stb library to the latest version if a patch is available, or implement custom input validation before image encoding. Monitor systems for unusual behavior related to image processing.

Other vulnerabilities in stb

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS