CVE Vulnerabilities

CVE-2016-3074

Incorrect Conversion between Numeric Types

Published: Apr 26, 2016 | Modified: Jul 20, 2022
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
5.1 MODERATE
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V3
Ubuntu
MEDIUM

Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or potentially execute arbitrary code via crafted compressed gd2 data, which triggers a heap-based buffer overflow.

Weakness

When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.

Affected Software

Name Vendor Start Version End Version
Libgd Libgd 2.1.1 (including) 2.1.1 (including)
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-php56-0:2.3-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-php56-php-0:5.6.25-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-php56-php-pear-1:1.9.5-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-php56-0:2.3-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-php56-php-0:5.6.25-1.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-php56-php-pear-1:1.9.5-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-php56-0:2.3-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-php56-php-0:5.6.25-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-php56-php-pear-1:1.9.5-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-php56-0:2.3-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-php56-php-0:5.6.25-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-php56-php-pear-1:1.9.5-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS RedHat rh-php56-0:2.3-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS RedHat rh-php56-php-0:5.6.25-1.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS RedHat rh-php56-php-pear-1:1.9.5-4.el7 *
Libgd2 Ubuntu precise *
Libgd2 Ubuntu trusty *
Libgd2 Ubuntu upstream *
Libgd2 Ubuntu wily *
Libgd2 Ubuntu xenial *
Php5 Ubuntu upstream *
Php7.0 Ubuntu upstream *

Potential Mitigations

References