Out-of-bounds Write Affecting libjpeg-turbo package, versions <2.0.1-0ubuntu2.2


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
2.01% (80th 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-UBUNTU1904-LIBJPEGTURBO-526398
  • published21 Dec 2018
  • disclosed21 Dec 2018

Introduced: 21 Dec 2018

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

How to fix?

Upgrade Ubuntu:19.04 libjpeg-turbo to version 2.0.1-0ubuntu2.2 or higher.

NVD Description

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

The tjLoadImage function in libjpeg-turbo 2.0.1 has an integer overflow with a resultant heap-based buffer overflow via a BMP image because multiplication of pitch and height is mishandled, as demonstrated by tjbench.