CVE-2018-16981

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

CVE-2018-16981 is fixed in 3 products on 1 platform, first by mame 0.195+dfsg.1-2ubuntu0.1~esm1, released June 23, 2022. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0159
75th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
mame · Ubuntu 18.04.6 LTS (bionic) 0.195+dfsg.1-2ubuntu0.1~esm1 mame 0.195+dfsg.1-2ubuntu0.1~esm1 Jun 23, 2022
mame · Ubuntu 20.04 LTS (focal) 0.220+dfsg.1-1ubuntu0.1~esm1 mame 0.220+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame · Ubuntu 22.04.1 LTS (jammy) 0.242+dfsg.1-1ubuntu0.1~esm1 mame 0.242+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame · Ubuntu 24.04.5 LTS (noble) 0.264+dfsg.1-1ubuntu0.1~esm1 mame 0.264+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame · Ubuntu 25.10 (questing) 0.277+dfsg.1-4ubuntu0.1 mame 0.277+dfsg.1-4ubuntu0.1 Jun 23, 2022
mame-data · Ubuntu 18.04.6 LTS (bionic) 0.195+dfsg.1-2ubuntu0.1~esm1 mame-data 0.195+dfsg.1-2ubuntu0.1~esm1 Jun 23, 2022
mame-data · Ubuntu 20.04 LTS (focal) 0.220+dfsg.1-1ubuntu0.1~esm1 mame-data 0.220+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame-data · Ubuntu 22.04.1 LTS (jammy) 0.242+dfsg.1-1ubuntu0.1~esm1 mame-data 0.242+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame-data · Ubuntu 24.04.5 LTS (noble) 0.264+dfsg.1-1ubuntu0.1~esm1 mame-data 0.264+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame-data · Ubuntu 25.10 (questing) 0.277+dfsg.1-4ubuntu0.1 mame-data 0.277+dfsg.1-4ubuntu0.1 Jun 23, 2022
mame-tools · Ubuntu 18.04.6 LTS (bionic) 0.195+dfsg.1-2ubuntu0.1~esm1 mame-tools 0.195+dfsg.1-2ubuntu0.1~esm1 Jun 23, 2022
mame-tools · Ubuntu 20.04 LTS (focal) 0.220+dfsg.1-1ubuntu0.1~esm1 mame-tools 0.220+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame-tools · Ubuntu 22.04.1 LTS (jammy) 0.242+dfsg.1-1ubuntu0.1~esm1 mame-tools 0.242+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame-tools · Ubuntu 24.04.5 LTS (noble) 0.264+dfsg.1-1ubuntu0.1~esm1 mame-tools 0.264+dfsg.1-1ubuntu0.1~esm1 Jun 23, 2022
mame-tools · Ubuntu 25.10 (questing) 0.277+dfsg.1-4ubuntu0.1 mame-tools 0.277+dfsg.1-4ubuntu0.1 Jun 23, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.