Description
Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro in the filtering extension (ext/filter) in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by calling filter_var with certain modes such as FILTER_VALIDATE_INT, which causes filter to write a null byte in whitespace that precedes the buffer.
Metrics
CVSS 2.0 7.5/10
AV:N/AC:L/Au:N/C:P/I:P/A:PAffected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25062
- http://www.debian.org/security/2007/dsa-1283
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-19-2007.html
- http://www.php.net/releases/5_2_1.php
- http://www.securityfocus.com/bid/22922Exploit
- http://secunia.com/advisories/25056
- http://secunia.com/advisories/25062
- http://www.debian.org/security/2007/dsa-1283
- http://www.novell.com/linux/security/advisories/2007_32_php.html
- http://www.php-security.org/MOPB/MOPB-19-2007.html
- http://www.php.net/releases/5_2_1.php
- http://www.securityfocus.com/bid/22922Exploit
Timeline
- Published
- Mar 14, 2007
- Last modified
- Jun 16, 2026
- NVD status
- Modified