{"id":"CVE-2007-1584","aliases":["EUVD-2007-1578","GHSA-vg6p-3jwr-25mv"],"status":"published","title":"Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to...","description":"Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\\0' characters in whitespace that precedes the string.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.05324,"percentile":0.92661,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"published":"2007-03-21T23:00:00Z","modified":"2026-06-16T22:37:52Z","exploits":[{"source":"exploitdb","id":"EDB-3460","title":"PHP 5.2.0 (OSX) - EXT/Filter Space Trimming Buffer Underflow","type":"local","platform":"osx","date":"2007-03-12","verified":true,"url":"https://www.exploit-db.com/exploits/3460"},{"source":"exploitdb","id":"EDB-3517","title":"PHP 5.2.0 (OSX) - 'header()' Space Trimming Buffer Underflow","type":"local","platform":"osx","date":"2007-03-19","verified":true,"url":"https://www.exploit-db.com/exploits/3517"}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"https://www.exploit-db.com/exploits/3517","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://www.php-security.org/MOPB/MOPB-25-2007.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1584"},{"url":"https://github.com/advisories/GHSA-vg6p-3jwr-25mv"}],"sources":{"cve":[{"id":"CVE-2007-1584","description":"Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\\0' characters in whitespace that precedes the string.","status":"published","published":"2007-03-21T23:00:00Z","modified":"2024-08-07T12:59:08.956Z","updated_at":"2026-11-02T13:33:52.669326Z"}],"euvd":[{"id":"EUVD-2007-1578","description":"Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\\0' characters in whitespace that precedes the string.","status":"published","published":"2007-03-21T23:00:00Z","modified":"2024-08-07T12:59:08Z","updated_at":"2026-11-03T01:38:25.361818Z"}],"ghsa":[{"id":"GHSA-vg6p-3jwr-25mv","title":"Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to...","description":"Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\\0' characters in whitespace that precedes the string.","status":"published","published":"2022-05-01T17:55:06Z","modified":"2023-01-31T05:03:52Z","updated_at":"2026-11-02T14:48:33.908905Z"}],"nvd":[{"id":"CVE-2007-1584","description":"Buffer underflow in the header function in PHP 5.2.0 allows context-dependent attackers to execute arbitrary code by passing an all-whitespace string to this function, which causes it to write '\\0' characters in whitespace that precedes the string.","status":"published","published":"2007-03-21T23:19:00Z","modified":"2026-06-16T22:37:52.887Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:13.98711Z"}]}}
