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…
- Published
- Updated
- Reserved
- Assigned by
- debian
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 to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.
Timeline
ID reserved
By debian
- 3 months later
· 3 months later
Published
- 8 years later
· 8 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 4.7% · top 8.1% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Weakness
Affected products
n/a
- affected n/a
References (8)
- http://www.php.net/ChangeLog-7.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- 93594 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [oss-security] 20161015 CVE Request: libgd: Stack Buffer Overflow in GD dynamicGetbuf (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- DSA-3693 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://bugs.php.net/bug.php?id=73280 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://support.f5.com/csp/article/K21336065?utm_source=f5support&%3Butm_medium=RSS (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2016-8670)Record last updated .