Integer overflow in the 16 bit variable reference counter in PHP 4 allows context-dependent attackers to execute arbitrary code by overflowing this counter, which causes the same variable to be destroyed twice, a related issue to CVE-2007-1286.
Weaknesses in this category are related to improper calculation or conversion of numbers.
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://secunia.com/advisories/25056 | third party advisory |
http://secunia.com/advisories/24606 | third party advisory |
http://www.php-security.org/MOPB/MOPB-01-2007.html | exploit |
http://www.osvdb.org/32770 | vdb entry |
http://security.gentoo.org/glsa/glsa-200703-21.xml | vendor advisory |
http://www.novell.com/linux/security/advisories/2007_32_php.html | vendor advisory |
http://www.securityfocus.com/bid/22765 | vdb entry |