Vulnerability · Published Apr 8, 2025 · Assigned by VulDB
CVE-2025-3407Nothings stb stbhw_build_tileset_from_image out-of-bounds
Medium 6.3
In plain English
A medium-severity out-of-bounds read in stb from Nothings. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities).
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libstb | no fix listed | DEBIAN-CVE-2025-3407 |
| Debian:13 | libstb | no fix listed | DEBIAN-CVE-2025-3407 |
| Debian:14 | libstb | no fix listed | DEBIAN-CVE-2025-3407 |
| Ubuntu:22.04:LTS | libstb | no fix listed | UBUNTU-CVE-2025-3407 |
| Ubuntu:24.04:LTS | libstb | no fix listed | UBUNTU-CVE-2025-3407 |
| Ubuntu:25.10 | libstb | no fix listed | UBUNTU-CVE-2025-3407 |
| Ubuntu:26.04:LTS | libstb | no fix listed | UBUNTU-CVE-2025-3407 |
| Ubuntu:26.10 | libstb | no fix listed | UBUNTU-CVE-2025-3407 |
Affected products (as reported)
Weakness: CWE-125, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
References
- VDB-303685 | Nothings stb stbhw_build_tileset_from_image out-of-bounds vdb-entry, technical-description
- VDB-303685 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- 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