Double Free Affecting adplug package, versions <2.2.1+dfsg3-1~build0.18.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.5% (77th 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 Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU1804-ADPLUG-269021
  • published1 Oct 2018
  • disclosed1 Oct 2018

Introduced: 1 Oct 2018

CVE-2018-17825  (opens in a new tab)
CWE-415  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 adplug to version 2.2.1+dfsg3-1~build0.18.04.1 or higher.

NVD Description

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

An issue was discovered in AdPlug 2.3.1. There are several double-free vulnerabilities in the CEmuopl class in emuopl.cpp because of a destructor's two OPLDestroy calls, each of which frees TL_TABLE, SIN_TABLE, AMS_TABLE, and VIB_TABLE.

CVSS Scores

version 3.1