CVE-2007-1825: Buffer overflow in the imap_mail_compose function in PHP 5 before 5.2.1, and PHP 4 before 4.4.5, allows remote attackers to execute arbit…
CVE-2007-1825 affects 9 listed versions of PHP in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
PHP
9 of 250 listed versions are affected. No fixed release is named. The newest release, 8.6.0, is not affected.
5.1.6 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.5 5.0.4
What it is
Buffer overflow in the imap_mail_compose function in PHP 5 before 5.2.1, and PHP 4 before 4.4.5, allows remote attackers to execute arbitrary code via a long boundary string in a type.parameters field. NOTE: as of 20070411, it appears that this issue might be subsumed by CVE-2007-0906.3.
AV:N/AC:L/Au:N/C:P/I:P/A:P (NVD)
Published by MITRE on 2 April 2007. Last changed 16 June 2026.
Sources
Check one version you run: look CVE-2007-1825 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.