{"id":"CVE-2007-1453","published":"2007-03-14T18:00:00Z","modified":"2024-08-07T12:59:08Z","title":"Buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro in the filtering extension (ext/filter) in PHP 5.2.0 allows…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.09653,"percentile":0.95609,"provenance":"source"},"cwes":[],"references":[{"url":"http://secunia.com/advisories/25056","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2007/dsa-1283","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.php.net/releases/5_2_1.php","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/22922","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.php-security.org/MOPB/MOPB-19-2007.html","tags":["x_refsource_MISC"]},{"url":"http://secunia.com/advisories/25062","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.novell.com/linux/security/advisories/2007_32_php.html","tags":["vendor-advisory","x_refsource_SUSE"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":19.12},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2007-03-12"},"first":{"date":"2007-03-12","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/29732"},"provenance":"source"},"summary":{"text":"The flaw is a buffer underflow in the PHP_FILTER_TRIM_DEFAULT macro within the filtering extension (ext/filter) of PHP 5.2.0. An attacker who can get the application to call filter_var with certain modes, such as FILTER_VALIDATE_INT, can cause the filter to write a null byte into whitespace preceding the buffer and potentially execute arbitrary code, in a context-dependent manner.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:53:05Z"},"euvd":{"id":"EUVD-2007-1447","exploited":false,"provenance":"source"},"exploits":[{"id":29732,"url":"https://www.exploit-db.com/exploits/29732","title":"PHP 5.2 - EXT/Filter Function Remote Buffer Overflow","date":"2007-03-12","verified":true,"provenance":"source"}]}