Skip to content
OpenAdvisories
High · 8.1 CVE-2021-37789 EUVD-2021-24270GHSA-3fjh-5fm6-fqmw

stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_load, leading to Information Disclosure or Denial of Service.

Published Nov 2, 2022 · Updated May 2, 2025 · Assigned by mitre

Description

stb_image.h 2.27 has a heap-based buffer over in stbi__jpeg_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.

ReleasePackageFixed inAdvisory
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 —
Debian 11 libstb 0.0~git20200713.b42009b+ds-1+deb11u1 DLA-4493-1
Debian 10 libstb 0.0~git20180212.15.e6afb9c-1+deb10u1 DLA-3305-1
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libstb No fix yet —

Advisories 2

References