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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.php.net/ChangeLog-7.php | release notes vendor advisory |
http://www.securityfocus.com/bid/93594 | vdb entry |
https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9 | vendor advisory |
http://www.openwall.com/lists/oss-security/2016/10/15/1 | third party advisory mailing list |
http://www.debian.org/security/2016/dsa-3693 | vendor advisory |
https://bugs.php.net/bug.php?id=73280 | vendor advisory |
http://www.php.net/ChangeLog-5.php | release notes vendor advisory |
https://support.f5.com/csp/article/K21336065?utm_source=f5support&%3Butm_medium=RSS |