Description
A vulnerability was found in Nothings stb up to 1.26. Impacted is the function stbtt_InitFont_internal in the library stb_truetype.h of the component TTF File Handler. Performing a manipulation results in out-of-bounds read. Remote exploitation of the attack is possible. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Nothings | stb | 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19, 1.20, 1.21, 1.22, 1.23, 1.24, 1.25, 1.26 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libstb | No fix yet | — |
| Debian 13 | libstb | No fix yet | — |
| Debian 12 | libstb | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libstb | No fix yet | — |
| Ubuntu 26.04 LTS | libstb | No fix yet | — |
| Ubuntu 25.10 | libstb | No fix yet | — |
| Ubuntu 24.04 LTS | libstb | No fix yet | — |
| Ubuntu 22.04 LTS | libstb | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libstb | No fix yet | — |
References
- VDB-354646 | Nothings stb TTF File stb_truetype.h stbtt_InitFont_internal out-of-bounds vdb-entry technical-description
- VDB-354646 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- Submit #780558 | nothings stb (stb_truetype.h) ≤ 1.26 Out-of-Bounds Read third-party-advisory
- https://gist.github.com/d0razi/cb31a92f3205a4373f19b7da25946848 exploit