CVE-2001-1246

Description

PHP 4.0.5 through 4.1.0 in safe mode does not properly cleanse the 5th parameter to the mail() function, which allows local users and possibly remote attackers to execute arbitrary commands via shell metacharacters.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
9.725%
chance of exploitation in the next 30 days
higher than 95.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Weakness

Timeline

  1. 2001-06-30First Exploit-DB entry (EDB-ID 20985)same day
  2. 2001-06-30Published
  3. 2002-06-25Published by the CNA04:00 UTC · 360 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 20985localphp2001-06-30yes

Affected products

VendorProduct
phpphp

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources