Vulnerability · Published Apr 8, 2025 · Assigned by VulDB
CVE-2025-3406Nothings stb Header Array stbhw_build_tileset_from_image out-of-bounds
Medium 4.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.6% (higher than 48% of all known vulnerabilities).
Official description
A vulnerability was found in Nothings stb up to f056911. It has been classified as problematic. Affected is the function stbhw_build_tileset_from_image of the component Header Array Handler. The manipulation of the argument w leads to out-of-bounds read. It is possible to launch the attack remotely. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are 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-3406 |
| Debian:13 | libstb | no fix listed | DEBIAN-CVE-2025-3406 |
| Debian:14 | libstb | no fix listed | DEBIAN-CVE-2025-3406 |
| Ubuntu:22.04:LTS | libstb | no fix listed | UBUNTU-CVE-2025-3406 |
| Ubuntu:24.04:LTS | libstb | no fix listed | UBUNTU-CVE-2025-3406 |
| Ubuntu:25.10 | libstb | no fix listed | UBUNTU-CVE-2025-3406 |
| Ubuntu:26.04:LTS | libstb | no fix listed | UBUNTU-CVE-2025-3406 |
| Ubuntu:26.10 | libstb | no fix listed | UBUNTU-CVE-2025-3406 |
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:N/A:N
References
- VDB-303684 | Nothings stb Header Array stbhw_build_tileset_from_image out-of-bounds vdb-entry, technical-description
- VDB-303684 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #544226 | Open Source STB Project (https://github.com/nothings/stb) Latest (<= commit f056911) stbhw_build_tileset_from_image Out-of-Bounds Read third-party-advisory