Integer overflow in the php_filter_encode_url function in ext/filter/sanitizing_filters.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 |
---|---|
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 |