Debian DLA-1302-1 : leptonlib security update

High Nessus Plugin ID 107152


The remote Debian host is missing a security update.


Different flaws have been found in leptonlib, an image processing library.


Leptonica did not limit the number of characters in a %s format argument to fscanf or sscanf, that made it possible to remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string.


The gplotMakeOutput function allowed command injection via a $(command) approach in the gplot rootname argument. This issue existed because of an incomplete fix for CVE-2018-3836.

For Debian 7 'Wheezy', these problems have been fixed in version 1.69-3.1+deb7u2.

We recommend that you upgrade your leptonlib 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: High

ID: 107152

File Name: debian_DLA-1302.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2018/03/07

Modified: 2018/03/19

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Temporal Score: 5.5

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

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


Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:leptonica-progs, p-cpe:/a:debian:debian_linux:liblept3, p-cpe:/a:debian:debian_linux:libleptonica-dev, cpe:/o:debian:debian_linux:7.0

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2018/03/07

Reference Information

CVE: CVE-2018-7186, CVE-2018-7440

OSVDB: 173923, 175076, 175077