CVE-2018-16981
stbi: Heap-based buffer overflow in stb_image.h:stbi__out_gif_code() function
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · September 12, 2018
Updated · November 22, 2025
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.
Statement
This issue did not affect the versions of cogl and compat-cogl114 as shipped with Red Hat Enterprise Linux 7.
This issue did not affect the versions of clutter as shipped with Red Hat Enterprise Linux 6.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 4.3CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
CWE-122 · Heap-based Buffer Overflow