Integer Overflow or Wraparound Affecting sam2p package, versions <0.49.2-3+deb8u3build0.14.04.1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.85% (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 IDSNYK-UBUNTU1404-SAM2P-273786
  • published8 Nov 2017
  • disclosed8 Nov 2017

Introduced: 8 Nov 2017

CVE-2017-16663  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade Ubuntu:14.04 sam2p to version 0.49.2-3+deb8u3build0.14.04.1 or higher.

NVD Description

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

In sam2p 0.49.4, there are integer overflows (with resultant heap-based buffer overflows) in input-bmp.ci in the function ReadImage, because "width * height" multiplications occur unsafely.