Juniper Junos libgd Compressed GD2 Data RCE (JSA10798)

critical Nessus Plugin ID 102073
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


The remote device is affected by a remote code execution vulnerability.


According to its self-reported version number, the remote Juniper Junos device is affected by an integer signedness error in the included GD Graphics Library (libgd) when handling compressed GD2 data due to improper validation of user-supplied input. An unauthenticated, remote attacker can exploit this, via specially crafted compressed GD2 data, to cause a heap-based buffer overflow, resulting in a denial of service condition or the execution of arbitrary code.


Upgrade to the relevant Junos software release referenced in Juniper security advisory JSA10798.

See Also

Plugin Details

Severity: Critical

ID: 102073

File Name: juniper_jsa10798.nasl

Version: 1.4

Type: combined

Published: 7/31/2017

Updated: 7/13/2018

Dependencies: junos_version.nasl

Risk Information


Risk Factor: Medium

Score: 6.7


Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Temporal Vector: E:POC/RL:OF/RC:C


Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

Temporal Vector: E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:juniper:junos

Required KB Items: Host/Juniper/JUNOS/Version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 7/12/2017

Vulnerability Publication Date: 4/21/2016

Reference Information

CVE: CVE-2016-3074

BID: 87087

JSA: JSA10798

EDB-ID: 39736