CVE-2018-16981
Published:September 12, 2018
Updated:May 17, 2026
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.
Affected Packages
emscripten (CONDA):
Affected version(s) =2.0.8Fix Suggestion:
Update to version no_fixtinygltf (CONDA):
Affected version(s) =2.5.0 <2.8.1Fix Suggestion:
Update to version 2.8.1microsoft.net.runtime.emscripten.2.0.23.sdk.win-x64 (NUGET):
Affected version(s) >=6.0.0-rc.1.21430.3 <=7.0.0-preview.3.22171.2Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.osx-x64 (NUGET):
Affected version(s) >=8.0.0-rc.1.23415.5 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.21.sdk.win-x64 (NUGET):
Affected version(s) =6.0.0-preview.6.21275.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.30.sdk.osx-x64 (NUGET):
Affected version(s) =8.0.0-preview.3.23172.2Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.7.sdk.linux-x64 (NUGET):
Affected version(s) >=7.0.0-preview.5.22268.1 <=7.0.0-preview.6.22320.1Fix Suggestion:
Update to version no_fixffui (NUGET):
Affected version(s) >=3.1.0-rc2 <=3.2.4Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.linux-musl-x64 (NUGET):
Affected version(s) >=9.0.0-preview.1.24072.2 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.23.sdk.osx-x64 (NUGET):
Affected version(s) >=6.0.0-rc.1.21430.3 <=7.0.0-preview.3.22171.2Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.win-x64 (NUGET):
Affected version(s) >=8.0.0-rc.1.23415.5 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.12.sdk.osx-x64 (NUGET):
Affected version(s) >=7.0.0-rc.1.22424.1 <=8.0.0-preview.2.23127.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.12.sdk.win-x64 (NUGET):
Affected version(s) >=6.0.0-preview.4.21220.1 <=6.0.0-preview.5.21281.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.osx-arm64 (NUGET):
Affected version(s) >=8.0.0-rc.1.23415.5 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.linux-musl-arm64 (NUGET):
Affected version(s) >=9.0.0-preview.1.24072.2 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.23.sdk.linux-x64 (NUGET):
Affected version(s) >=6.0.0-rc.1.21430.3 <=7.0.0-preview.3.22171.2Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.30.sdk.win-x64 (NUGET):
Affected version(s) =8.0.0-preview.3.23172.2Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.12.sdk.win-x64 (NUGET):
Affected version(s) >=7.0.0-rc.1.22424.1 <=8.0.0-preview.2.23127.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.12.sdk.osx-x64 (NUGET):
Affected version(s) >=6.0.0-preview.4.21220.1 <=6.0.0-preview.5.21281.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.12.sdk.linux-x64 (NUGET):
Affected version(s) >=6.0.0-preview.4.21220.1 <=6.0.0-preview.5.21281.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.21.sdk.osx-x64 (NUGET):
Affected version(s) =6.0.0-preview.6.21275.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.7.sdk.win-x64 (NUGET):
Affected version(s) >=7.0.0-preview.5.22268.1 <=7.0.0-preview.6.22320.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.linux-arm64 (NUGET):
Affected version(s) >=8.0.0-rc.1.23415.5 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.win-arm64 (NUGET):
Affected version(s) >=8.0.0-rc.1.23415.5 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.30.sdk.linux-x64 (NUGET):
Affected version(s) =8.0.0-preview.3.23172.2Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.34.sdk.linux-x64 (NUGET):
Affected version(s) >=8.0.0-rc.1.23415.5 <=9.0.0-preview.6.24327.1Fix Suggestion:
Update to version no_fixcom.basemark.rocksolidsdk (NUGET):
Affected version(s) >=0.0.7 <0.1.5Fix Suggestion:
Update to version 0.1.5microsoft.net.runtime.emscripten.3.1.12.sdk.linux-x64 (NUGET):
Affected version(s) >=7.0.0-rc.1.22424.1 <=8.0.0-preview.2.23127.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.2.0.21.sdk.linux-x64 (NUGET):
Affected version(s) =6.0.0-preview.6.21275.1Fix Suggestion:
Update to version no_fixmicrosoft.net.runtime.emscripten.3.1.7.sdk.osx-x64 (NUGET):
Affected version(s) >=7.0.0-preview.5.22268.1 <=7.0.0-preview.6.22320.1Fix Suggestion:
Update to version no_fixmario-deluna/php-glfw (PHP):
Affected version(s) >=dev-feature/audio <=dev-gl46Fix Suggestion:
Update to version no_fixsoloud-sys (RUST):
Affected version(s) >=0.1.0 <1.0.1Fix Suggestion:
Update to version 1.0.1autogenerated-assimp-sys (RUST):
Affected version(s) >=0.1.0 <=0.1.2Fix Suggestion:
Update to version no_fixtorch-build (RUST):
Affected version(s) =0.1.0Fix Suggestion:
Update to version no_fixapollo-hyper-libretro-core-beetle-ngb (RUST):
Affected version(s) =0.1.0Fix Suggestion:
Update to version no_fixsixel-sys (RUST):
Affected version(s) >=0.1.0 <0.5.0Fix Suggestion:
Update to version 0.5.0sixel-sys-static (RUST):
Affected version(s) =0.3.2Fix Suggestion:
Update to version no_fixapollo-hyper-libretro-core-beetle-psx (RUST):
Affected version(s) =0.1.0Fix Suggestion:
Update to version no_fixnuklear-sys (RUST):
Affected version(s) =0.1.3 <1.33.0Fix Suggestion:
Update to version 1.33.0escapi (RUST):
Affected version(s) >=3.1.1 <=4.0.0Fix Suggestion:
Update to version no_fixnuki-sys (RUST):
Affected version(s) >=4.3.2 <=4.6.1Fix Suggestion:
Update to version no_fixdarknet (RUST):
Affected version(s) >=0.1.0 <0.3.1Fix Suggestion:
Update to version 0.3.1nanovg-sys (RUST):
Affected version(s) >=0.1.0 <1.0.0Fix Suggestion:
Update to version 1.0.0image2 (RUST):
Affected version(s) >=0.5.0 <0.11.3Fix Suggestion:
Update to version 0.11.3darknet (RUST):
Affected version(s) >=0.3.2 <0.3.5Fix Suggestion:
Update to version 0.3.5darknet-sys (RUST):
Affected version(s) >=0.1.0 <=0.4.0Fix Suggestion:
Update to version no_fixnanovg-sys (RUST):
Affected version(s) =1.0.2Fix Suggestion:
Update to version no_fixtorch-sys (RUST):
Affected version(s) >=0.0.1 <=0.19.0Fix Suggestion:
Update to version no_fixfastwfc-sys (RUST):
Affected version(s) =0.1.0Fix Suggestion:
Update to version no_fixRelated Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Out-of-bounds Write
EPSS
Base Score:
0.36