Integer overflow in the str_pad function in ext/standard/string.c in PHP before 7.0.4 allows remote attackers to cause a denial of service or possibly have unspecified other impact via a long string, leading to a heap-based buffer overflow.
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Link | Tags |
---|---|
http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html | mailing list third party advisory vendor advisory |
https://bugs.php.net/bug.php?id=71637 | issue tracking patch vendor advisory exploit |
http://www.openwall.com/lists/oss-security/2016/04/28/2 | third party advisory mailing list |
http://php.net/ChangeLog-7.php | release notes vendor advisory |
http://lists.opensuse.org/opensuse-updates/2016-05/msg00086.html | mailing list third party advisory vendor advisory |