{"id":"CVE-2002-0986","state":"PUBLISHED","title":"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","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.\"","publishedAt":"2004-09-01T04:00:00.000Z","updatedAt":"2024-08-08T03:12:16.696Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://marc.info/?l=bugtraq&m=105760591228031&w=2","http://www.debian.org/security/2002/dsa-168","http://www.kb.cert.org/vuls/id/410609","http://marc.info/?l=bugtraq&m=103011916928204&w=2","http://www.redhat.com/support/errata/RHSA-2002-243.html","http://www.osvdb.org/2160","http://www.redhat.com/support/errata/RHSA-2003-159.html","http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082","http://www.securityfocus.com/bid/5562","https://exchange.xforce.ibmcloud.com/vulnerabilities/9959","http://www.novell.com/linux/security/advisories/2002_036_modphp4.html","http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545","http://www.redhat.com/support/errata/RHSA-2002-213.html","http://www.redhat.com/support/errata/RHSA-2002-248.html","http://www.redhat.com/support/errata/RHSA-2002-244.html","http://www.redhat.com/support/errata/RHSA-2002-214.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:26:37.469Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2002/0xxx/CVE-2002-0986.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2002-0986","state":"PUBLISHED","datePublished":"2004-09-01T04:00:00.000Z","dateUpdated":"2024-08-08T03:12:16.696Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2002-08-23T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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.\""}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://marc.info/?l=bugtraq&m=105760591228031&w=2","name":"20030707 [OpenPKG-SA-2003.032] OpenPKG Security Advisory (php)","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.debian.org/security/2002/dsa-168","name":"DSA-168","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.kb.cert.org/vuls/id/410609","name":"VU#410609","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://marc.info/?l=bugtraq&m=103011916928204&w=2","name":"20020823 PHP: Bypass safe_mode and inject ASCII control chars with mail()","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-243.html","name":"RHSA-2002:243","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.osvdb.org/2160","name":"2160","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.redhat.com/support/errata/RHSA-2003-159.html","name":"RHSA-2003:159","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082","name":"MDKSA-2003:082","tags":["vendor-advisory","x_refsource_MANDRAKE"]},{"url":"http://www.securityfocus.com/bid/5562","name":"5562","tags":["vdb-entry","x_refsource_BID"]},{"url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt","name":"CSSA-2003-008.0","tags":["vendor-advisory","x_refsource_CALDERA"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/9959","name":"php-mail-ascii-injection(9959)","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.novell.com/linux/security/advisories/2002_036_modphp4.html","name":"SuSE-SA:2002:036","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545","name":"CLA-2002:545","tags":["vendor-advisory","x_refsource_CONECTIVA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-213.html","name":"RHSA-2002:213","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-248.html","name":"RHSA-2002:248","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-244.html","name":"RHSA-2002:244","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-214.html","name":"RHSA-2002:214","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2007-11-13T00:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2002-08-23T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2002-0986","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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.\""}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20030707 [OpenPKG-SA-2003.032] OpenPKG Security Advisory (php)","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=105760591228031&w=2"},{"name":"DSA-168","refsource":"DEBIAN","url":"http://www.debian.org/security/2002/dsa-168"},{"name":"VU#410609","refsource":"CERT-VN","url":"http://www.kb.cert.org/vuls/id/410609"},{"name":"20020823 PHP: Bypass safe_mode and inject ASCII control chars with mail()","refsource":"BUGTRAQ","url":"http://marc.info/?l=bugtraq&m=103011916928204&w=2"},{"name":"RHSA-2002:243","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-243.html"},{"name":"2160","refsource":"OSVDB","url":"http://www.osvdb.org/2160"},{"name":"RHSA-2003:159","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2003-159.html"},{"name":"MDKSA-2003:082","refsource":"MANDRAKE","url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082"},{"name":"5562","refsource":"BID","url":"http://www.securityfocus.com/bid/5562"},{"name":"CSSA-2003-008.0","refsource":"CALDERA","url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt"},{"name":"php-mail-ascii-injection(9959)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/9959"},{"name":"SuSE-SA:2002:036","refsource":"SUSE","url":"http://www.novell.com/linux/security/advisories/2002_036_modphp4.html"},{"name":"CLA-2002:545","refsource":"CONECTIVA","url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545"},{"name":"RHSA-2002:213","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-213.html"},{"name":"RHSA-2002:248","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-248.html"},{"name":"RHSA-2002:244","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-244.html"},{"name":"RHSA-2002:214","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-214.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://marc.info/?l=bugtraq&m=105760591228031&w=2","name":"20030707 [OpenPKG-SA-2003.032] OpenPKG Security Advisory (php)","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.debian.org/security/2002/dsa-168","name":"DSA-168","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.kb.cert.org/vuls/id/410609","name":"VU#410609","tags":["third-party-advisory","x_refsource_CERT-VN","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=103011916928204&w=2","name":"20020823 PHP: Bypass safe_mode and inject ASCII control chars with mail()","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-243.html","name":"RHSA-2002:243","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.osvdb.org/2160","name":"2160","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2003-159.html","name":"RHSA-2003:159","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082","name":"MDKSA-2003:082","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred"]},{"url":"http://www.securityfocus.com/bid/5562","name":"5562","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-2003-008.0.txt","name":"CSSA-2003-008.0","tags":["vendor-advisory","x_refsource_CALDERA","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/9959","name":"php-mail-ascii-injection(9959)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2002_036_modphp4.html","name":"SuSE-SA:2002:036","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545","name":"CLA-2002:545","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-213.html","name":"RHSA-2002:213","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-248.html","name":"RHSA-2002:248","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-244.html","name":"RHSA-2002:244","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-214.html","name":"RHSA-2002:214","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-08T03:12:16.696Z"}}]}}}