synced 3 MIN AGO
01 Record

CVE-2016-8670

Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers

UnratedPUBLISHEDCNA: debian
CNA base scoreUnratedNo CNA CVSS vector

02 Description

Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
4.74% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 91.5% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2017-01-04 20:00Z9 YR AGO
Last updated
2024-08-06 02:27Z2 YR AGO
Reserved
2016-10-15
Assigning CNA
debian
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferClass
  • CWE-121Stack-based Buffer OverflowVariant
Data version
5.1
Document digest
f14280ee7ad93af51d0c028a164e95fbd66791e51aafd7c82b2a33768aa8e49e

05 Affected products

VendorProductVersionsPlatforms
libgdlibgdNot specified—
phpphpNot specified—
redhatenterprise_linuxNot specified—
redhatopenshiftNot specified—
redhatrhel_software_collectionsNot specified—

06 References

07 Fixed in

Arch Linux

  • php
    Fixed in 7.0.13-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

Debian 12

  • libgd2
    Fixed in 2.2.3-87-gd0fec80-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • libgd2
    Fixed in 2.2.3-87-gd0fec80-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • libgd2
    Fixed in 2.2.3-87-gd0fec80-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 14.04 LTS

  • libgd2
    Fixed in 2.1.0-3ubuntu0.5

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 16.04 LTS

  • libgd2
    Fixed in 2.1.1-4ubuntu0.16.04.5

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.