Debian DLA-1638-1 : libjpeg-turbo security update

Medium Nessus Plugin ID 121315

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.9


The remote Debian host is missing a security update.


Several vulnerabilities have been resolved in libjpeg-turbo, Debian's default JPEG implemenation.


The cjpeg utility in libjpeg allowed remote attackers to cause a denial of service (NULL pointer dereference and application crash) or execute arbitrary code via a crafted file.

This issue got fixed by the same patch that fixed CVE-2018-11213 and CVE-2018-11214.


libjpeg-turbo has been found vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted BMP image. The issue has been resolved by a boundary check.


The alloc_sarray function in jmemmgr.c allowed remote attackers to cause a denial of service (divide-by-zero error) via a crafted file.

The issue has been addressed by checking the image size when reading a targa file and throwing an error when image width or height is 0.

CVE-2018-11213 CVE-2018-11214

The get_text_gray_row and get_text_rgb_row functions in rdppm.c both allowed remote attackers to cause a denial of service (Segmentation fault) via a crafted file.

By checking the range of integer values in PPM text files and adding checks to ensure values are within the specified range, both issues

For Debian 8 'Jessie', these problems have been fixed in version 1:1.3.1-12+deb8u1.

We recommend that you upgrade your libjpeg-turbo packages.

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Upgrade the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 121315

File Name: debian_DLA-1638.nasl

Version: 1.4

Type: local

Agent: unix

Published: 2019/01/23

Updated: 2020/09/23

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 5.9

CVSS v2.0

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libjpeg-dev, p-cpe:/a:debian:debian_linux:libjpeg-turbo-progs, p-cpe:/a:debian:debian_linux:libjpeg-turbo-progs-dbg, p-cpe:/a:debian:debian_linux:libjpeg62-turbo, p-cpe:/a:debian:debian_linux:libjpeg62-turbo-dbg, p-cpe:/a:debian:debian_linux:libjpeg62-turbo-dev, p-cpe:/a:debian:debian_linux:libturbojpeg1, p-cpe:/a:debian:debian_linux:libturbojpeg1-dbg, p-cpe:/a:debian:debian_linux:libturbojpeg1-dev, cpe:/o:debian:debian_linux:8.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 2019/01/22

Vulnerability Publication Date: 2017/02/13

Reference Information

CVE: CVE-2016-3616, CVE-2018-11212, CVE-2018-11213, CVE-2018-11214, CVE-2018-1152