CVE-2002-0986
mediumpriority · track · 22EPSS 0.047 · 92 %ileEUUSEPSS · scored 2026-10-23
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."
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- FixedRed Hat Stronghold 3redhat_csaf
Backported fixes are available for the versions of Apache, mod_ssl, and PHP included in Stronghold 3. Stronghold 3 build code 3020 is now available which includes this fix, and can be downloaded from the following URL: http://stronghold.redhat.com/sh3/ For information on how to upgrade between releases of Stronghold 3, refer to the following URL: http://stronghold.redhat.com/support/upgrade-sh3.xml
https://access.redhat.com/errata/RHSA-2002:243 - FixedRed Hat Stronghold 4redhat_csaf
We have backported the security fixes for the versions of OpenSSL and mm included in Stronghold 4. The fixed packages are now available via the update agent service; run $ bin/agent from the Stronghold 4 install root to upgrade an existing Stronghold 4 installation to the new package versions. After upgrading Stronghold, the server must be completely restarted by running the following commands from the install root: $ bin/stop-server $ bin/start-server For more information on how to upgrade between releases of Stronghold 4, see http://stronghold.redhat.com/support/upgrade-sh4
https://access.redhat.com/errata/RHSA-2002:244 - FixedStronghold 4 for Red Hat Enterprise Linuxredhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.
https://access.redhat.com/errata/RHSA-2002:248 - FixedRed Hat Linux 7.1redhat_csaf
Before applying this update, make sure all previously released errata relevant to your system have been applied. To update all RPMs for your particular architecture, run: rpm -Fvh [filenames] where [filenames] is a list of the RPMs you wish to upgrade. Only those RPMs which are currently installed will be updated. Those RPMs which are not installed but included in the list will not be updated. Note that you can also use wildcards (*.rpm) if your current directory *only* contains the desired RPMs. Please note that this update is also available via Red Hat Network. Many people find this an easier way to apply updates. To use Red Hat Network, launch the Red Hat Update Agent with the following command: up2date This will start an interactive process that will result in the appropriate RPMs being upgraded on your system.
https://access.redhat.com/errata/RHSA-2003:159
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (20)
Products and version ranges known to be affected.
- Stronghold 4 for Red Hat Enterprise Linuxall versionsfixedredhat_csafUScpe:/a:redhat:rhel_stronghold:4
advisories (4)
Vendor and ecosystem advisories describing this.
- RHSA-2002:243Red Hat Security Advisory: apache, mod_ssl, php security update for Stronghold2002-11-08csaf · redhat_csafUS
Updated versions of the Apache HTTP server, PHP, and mod_ssl are now available which close possible buffer overflows in the Apache HTTP server benchmarking tool, fixes two cross-site scripting vulnerabilities in the error pages, and fix possible local privilege escalation. These updates also fix vulnerabilities in the PHP mail() function that allows script authors to bypass safe mode restrictions, and possibly allow remote attackers to insert arbitrary mail headers and content into messages.
- RHSA-2002:244Red Hat Security Advisory: apache, mod_ssl, php security update for Stronghold2002-11-08csaf · redhat_csafUS
Updated versions of the Apache HTTP server, PHP, and mod_ssl are now available which close possible buffer overflows in the Apache HTTP server benchmarking tool, fix two cross-site scripting vulnerabilities in the error pages, and fix possible local privilege escalation. These updates also fix vulnerabilities in the PHP mail() function that allows script authors to bypass safe mode restrictions, and possibly allow remote attackers to insert arbitrary mail headers and content into messages.
- RHSA-2002:248Red Hat Security Advisory: apache, mod_ssl, php security update for Stronghold2002-11-07csaf · redhat_csafUS
Updated versions of the Apache HTTP server, PHP, and mod_ssl are now available which close possible buffer overflows in the Apache HTTP server benchmarking tool, fixes two cross-site scripting vulnerabilities in the error pages, and fix possible local privilege escalation. These updates also fix vulnerabilities in the PHP mail() function that allows script authors to bypass safe mode restrictions, and possibly allow remote attackers to insert arbitrary mail headers and content into messages.
- RHSA-2003:159Red Hat Security Advisory: : : : New PHP packages fix vulnerabilities2003-06-30csaf · redhat_csafUS
Updated PHP packages are available for Red Hat Linux on IBM iSeries and pSeries systems.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (32)
External citations — patches, advisories, analysis.
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000545enisa_euvd
- http://marc.info/?l=bugtraq&m=103011916928204&w=2enisa_euvd
- http://marc.info/?l=bugtraq&m=105760591228031&w=2enisa_euvd
- http://www.debian.org/security/2002/dsa-168enisa_euvd
- http://www.kb.cert.org/vuls/id/410609enisa_euvd
- http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:082enisa_euvd
- http://www.novell.com/linux/security/advisories/2002_036_modphp4.htmlenisa_euvd
- http://www.osvdb.org/2160enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan