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.
History

Mon, 30 Nov 2026 01:30:00 +0000

Type Values Removed Values Added
References

Sun, 29 Nov 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in the server's PASV reply
Weaknesses CWE-918
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-11-29T22:40:29.485Z

Updated: 2026-11-30T00:14:00.712Z

Reserved: 2026-04-14T11:31:04.291Z

Link: CVE-2026-40558

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-29T23:17:02.033

Modified: 2026-11-30T01:17:04.910

Link: CVE-2026-40558

cve-icon Redhat

No data.