Out-of-bounds Write Affecting mame package, versions <0.277+dfsg.1-4ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.34% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2510-MAME-14058453
  • published5 Dec 2025
  • disclosed12 Sept 2018

Introduced: 12 Sep 2018

CVE-2018-16981  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 mame to version 0.277+dfsg.1-4ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mame package and not the mame package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1