CVE-2018-16981

HIGH

stb stb_image.h <2.19 - Buffer Overflow

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Issue Tracking, Third Party Advisory
https://github.com/nothings/stb/issues/656
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2023/01/msg00045.html

Scores

CVSS v3 8.8
EPSS 0.0159
EPSS Percentile 72.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (2)
debian/debian_linux 10.0
nothings/stb_image.h 2.19
Published Sep 12, 2018
Tracked Since Feb 18, 2026