Skip to content
OpenAdvisories
Unscored CVE-2018-16981 EUVD-2018-8767GHSA-5p8c-xff7-r336

stb stb_image.h 2.19, as used in catimg, Emscripten, and other products, has a heap-based buffer overflow in the stbi__out_gif_code functio…

Published Sep 12, 2018 · Updated Sep 16, 2024 · Assigned by mitre

Description

stb stb_image.h 2.19, as used in catimg, Emscripten, and other products, has a heap-based buffer overflow in the stbi__out_gif_code function.

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~git20190617.5.c72a95d-1 —
Debian 13 libstb 0.0~git20190617.5.c72a95d-1 —
Debian 12 libstb 0.0~git20190617.5.c72a95d-1 —
Debian 10 libstb 0.0~git20180212.15.e6afb9c-1+deb10u1 DLA-3305-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 love +9 No fix yet —
Ubuntu 26.04 LTS love +9 No fix yet —
Ubuntu 25.10 love +8 No fix yet —
Ubuntu 25.10 mame 0.277+dfsg.1-4ubuntu0.1 USN-7913-1
Ubuntu 24.04 LTS love +8 No fix yet —
Ubuntu 22.04 LTS love +10 No fix yet —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS love +10 No fix yet —
Ubuntu 18.04 LTS love +7 No fix yet —
Ubuntu 16.04 LTS love +5 No fix yet —
Ubuntu Pro 24.04 LTS mame 0.264+dfsg.1-1ubuntu0.1~esm1 USN-7913-1
Ubuntu Pro 22.04 LTS mame 0.242+dfsg.1-1ubuntu0.1~esm1 USN-7913-1
Ubuntu Pro 20.04 LTS mame 0.220+dfsg.1-1ubuntu0.1~esm1 USN-7913-1
Ubuntu Pro 18.04 LTS mame 0.195+dfsg.1-2ubuntu0.1~esm1 USN-7913-1

Advisories 2

References