CVE-2026-40558
JSON

Not scored

Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply

Severity
Not scored
Exploit likelihood
0.31% (higher than 25% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply. The pasv method uses the IP address from the server's 227 reply for the data connection and never compares it with the control connection's peer. A malicious FTP server can make the client open TCP connections to arbitrary hosts and ports, including internal addresses reachable only from the client.

Affected

Product or packageVersionsReported by
libnetbefore 3.17CVE List
perlfrom 5.7.3 up to 5.45.5CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-40558 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-40558 changed 2026-11-29Public domain