{"id":"CVE-2002-0986","aliases":["DSA-168","EUVD-2002-0975","GHSA-xchw-jqmw-jcvc"],"status":"published","title":"The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments...","description":"The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a \"spam proxy.\"","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.047,"percentile":0.91866,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2002-09-18T00:00:00Z","modified":"2026-06-16T21:58:30Z","affected":[{"source":"osv","ecosystem":"Debian:3.0","package":"php3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.18-23.1woody1"}]}],"bundled":2},{"source":"osv","ecosystem":"Debian:3.0","package":"php4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.2-5"}]}],"bundled":2}],"products":[{"vendor":"php","product":"php"}],"references":[{"url":"http://marc.info/?l=bugtraq\u0026m=105760591228031\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.debian.org/security/2002/dsa-168","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/410609","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred","US Government Resource"]},{"url":"http://marc.info/?l=bugtraq\u0026m=103011916928204\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-243.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.osvdb.org/2160","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2003-159.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/5562","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory"]},{"url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt","tags":["vendor-advisory","x_refsource_CALDERA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/9959","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2002_036_modphp4.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000545","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-213.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-248.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-244.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-214.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-0986"},{"url":"https://github.com/advisories/GHSA-xchw-jqmw-jcvc"}],"sources":{"cve":[{"id":"CVE-2002-0986","description":"The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a \"spam proxy.\"","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T03:12:16.696Z","updated_at":"2026-11-02T14:33:55.642267Z"}],"euvd":[{"id":"EUVD-2002-0975","description":"The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a \"spam proxy.\"","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T03:12:16Z","updated_at":"2026-11-03T01:14:58.174731Z"}],"ghsa":[{"id":"GHSA-xchw-jqmw-jcvc","title":"The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments...","description":"The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a \"spam proxy.\"","status":"published","published":"2022-05-03T03:08:03Z","modified":"2023-02-01T05:00:59Z","updated_at":"2026-11-02T14:49:38.712812Z"}],"nvd":[{"id":"CVE-2002-0986","description":"The mail function in PHP 4.x to 4.2.2 does not filter ASCII control characters from its arguments, which could allow remote attackers to modify mail message content, including mail headers, and possibly use PHP as a \"spam proxy.\"","status":"published","published":"2002-09-24T04:00:00Z","modified":"2026-06-16T21:58:30.887Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:42.827505Z"}],"osv":[{"id":"DSA-168","title":"php - bypassing safe_mode, CRLF injection","status":"published","published":"2002-09-18T00:00:00Z","modified":"2026-03-09T01:18:52.637484Z","updated_at":"2026-11-02T15:46:14.734124Z"}]}}
