CVE-2007-2509: PHP

Low severity, CVSS 2.6. EPSS: 2.1% chance of exploitation in the next 30 days.

CRLF injection vulnerability in the ftp_putcmd function in PHP before 4.4.7, and 5.x before 5.2.2 allows remote attackers to inject arbitrary FTP commands via CRLF sequences in the parameters to earlier FTP commands.

Affected products

  • PHP PHP: version 4.0.0 only; version 4.0.1 only; version 4.0.2 only; version 4.0.3 only; version 4.0.4 only; version 4.0.5 only; …

Published 2007-05-09. Last modified 2026-06-16.