Description
stb_image.h (aka the stb image loader) 2.23 has a heap-based buffer over-read in stbi__tga_load, leading to Information Disclosure or Denial of Service.
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 | 0.0~git20210910.af1a5bc+ds-1 | — |
| Debian 13 | libstb | 0.0~git20210910.af1a5bc+ds-1 | — |
| Debian 12 | libstb | 0.0~git20210910.af1a5bc+ds-1 | — |
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
- https://github.com/nothings/stb/issues/790
- [debian-bugs-dist] 20190817 Bug#934973: libstb: CVE-2019-15058 mailing-list
- https://security-tracker.debian.org/tracker/CVE-2019-15058
- https://www.suse.com/security/cve/CVE-2019-15058/
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934973
- https://www.cvedetails.com/cve/CVE-2019-15058/