Buffer overflow in Nothings Stb
CVE-2025-3407
A vulnerability was found in Nothings stb up to f056911. It has been declared as critical. Affected by this vulnerability is the function stbhw_build_tileset_from_image. The manipulation of the argument h_count/v_count leads to out-of-bounds read. The attack can be launched remotely. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The vendor was contacted early about this disclosure but did not respond in any way.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.005, 42.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nothings Stb — versions f056911
- Nothings Stb Image.h
Weakness classification (CWE)
References
- VDB-303685 | Nothings stb stbhw_build_tileset_from_image out-of-bounds (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-303685 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #544227 | Open Source STB Project (https://github.com/nothings/stb) Latest (<= commit f056911) stbhw_build_tileset_from_image Integer Overflow → Under Allocati (Third Party Advisory, VDB Entry, third-party-advisory)