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.
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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
Upgrade to libnet 3.17 or later.
Workaround
Install libnet 3.17 or later into your @INC include path, so it takes precedence over the vulnerable core module shipped with Perl.
References
History
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 |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-29T22:40:29.485Z
Reserved: 2026-04-14T11:31:04.291Z
Link: CVE-2026-40558
No data.
Status : Received
Published: 2026-11-29T23:17:02.033
Modified: 2026-11-29T23:17:02.033
Link: CVE-2026-40558
No data.
OpenCVE Enrichment
Updated: 2026-11-29T23:30:16Z
Weaknesses