Description
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.
Published: 2016-08-07
Score: 8.8 High
EPSS: 16.2% Moderate
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-534-1 libgd2 security update
Debian DSA Debian DSA DSA-3619-1 libgd2 security update
EUVD EUVD EUVD-2016-6701 Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.
Ubuntu USN Ubuntu USN USN-3030-1 GD library vulnerabilities
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.17588}

epss

{'score': 0.14671}


Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Freebsd Freebsd
Libgd Libgd
Php Php
Redhat Enterprise Linux Openshift Rhel Software Collections
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T01:15:09.075Z

Reserved: 2016-06-23T00:00:00.000Z

Link: CVE-2016-5766

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2016-08-07T10:59:13.663

Modified: 2026-05-06T22:30:45.220

Link: CVE-2016-5766

cve-icon Redhat

Severity : Moderate

Publid Date: 2016-06-23T00:00:00Z

Links: CVE-2016-5766 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses