CVE-2016-3074: Buffer Overflow

Published Apr 26, 2016
·
Updated

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.

Other sources

Fixed bug (libgd: signedness vulnerability). (CVE-2016-3074)

PHP

Affected Software

14 affected componentsFixes available
PHP PHP<7.0.6
7.0.6
Libgd Libgd=2.1.1
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Fedoraproject Fedora=23
Fedoraproject Fedora=24
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=15.10
Canonical Ubuntu Linux=16.04
openSUSE openSUSE=13.2
PHP PHP>=5.5.0<5.5.35
PHP PHP>=5.6.0<5.6.21
PHP PHP>=7.0.0<7.0.6

Event History

Apr 26, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-3074?

CVE-2016-3074 has been classified with a high severity level due to the potential for remote code execution and denial of service.

2

How do I fix CVE-2016-3074?

To fix CVE-2016-3074, update the GD Graphics Library to version 2.1.1 or later, and ensure your PHP version is updated to at least 7.0.6.

3

What systems are affected by CVE-2016-3074?

CVE-2016-3074 affects GD Graphics Library version 2.1.1, as well as various PHP versions prior to 7.0.6, and multiple Linux distributions including Debian, Fedora, and Ubuntu.

4

Can CVE-2016-3074 lead to remote exploitation?

Yes, CVE-2016-3074 can lead to remote exploitation through crafted compressed gd2 data, which may result in a heap-based buffer overflow.

5

Is there a patch available for CVE-2016-3074?

Yes, a patch is available that addresses the vulnerability specifically in GD Graphics Library and its dependent software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203