CVE-2007-2509

CVE-2007-2509 is a low-severity vulnerability in Php with a CVSS 2.0 base score of 2.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.

Key facts

Description

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.

Frequently asked questions

What is CVE-2007-2509?
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.
How severe is CVE-2007-2509?
CVE-2007-2509 has a CVSS 2.0 base score of 2.6, rated low severity.
Is CVE-2007-2509 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (79th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-2509?
CVE-2007-2509 primarily affects Php. In total, 59 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2007-2509?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-2509 published?
CVE-2007-2509 was published on 2007-05-09 and last updated on 2026-06-16.

References

Affected products (59)

More vulnerabilities in Php

All CVEs affecting Php →

Other CWE-20 (Improper Input Validation) vulnerabilities

Browse all CWE-20 (Improper Input Validation) vulnerabilities →

Threat intelligence

Threat-intel indicators referencing this CVE: