The _zval_get_long_func_ex in Zend/zend_operators.c in PHP 7.1.2 allows attackers to cause a denial of service (NULL pointer dereference and application crash) via crafted use of "declare(ticks=" in a PHP script. NOTE: the vendor disputes the classification of this as a vulnerability, stating "Please do not request CVEs for ordinary bugs. CVEs are relevant for security issues only.
The product dereferences a pointer that it expects to be valid but is NULL.
Link | Tags |
---|---|
https://bugs.php.net/bug.php?id=74146 | issue tracking |
https://github.com/php/php-src/pull/2396 | patch |