CVE-2018-16981

NameCVE-2018-16981
Descriptionstb 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3305-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libstb (PTS)buster0.0~git20180212.15.e6afb9c-1vulnerable
buster (security)0.0~git20180212.15.e6afb9c-1+deb10u1fixed
bullseye0.0~git20200713.b42009b+ds-1fixed
bookworm0.0~git20220908.8b5f1f3+ds-1fixed
sid, trixie0.0~git20230129.5736b15+ds-1.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libstbsourcebuster0.0~git20180212.15.e6afb9c-1+deb10u1DLA-3305-1
libstbsource(unstable)0.0~git20190617.5.c72a95d-1

Notes

https://github.com/nothings/stb/issues/656
https://github.com/nothings/stb/commit/50b1bfba583b12ceb23ef949567bdd914461e524
Potentially affects libsixel, libsfml, love, mame, darknet, gem, ccextractor, zynaddsubfx, osgearth, goxel, yquake2, renderdoc, catimg, libstb, zam-plugins, retroarch

Search for package or bug name: Reporting problems