Off-by-one Error Affecting libmspack package, versions <0.6-3ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.85% (83rd 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 IDSNYK-UBUNTU1804-LIBMSPACK-324893
  • published28 Jul 2018
  • disclosed28 Jul 2018

Introduced: 28 Jul 2018

CVE-2018-14682  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 libmspack to version 0.6-3ubuntu0.1 or higher.

NVD Description

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

An issue was discovered in mspack/chmd.c in libmspack before 0.7alpha. There is an off-by-one error in the TOLOWER() macro for CHM decompression.