Net::FTP versions before 3.17 for Perl connect the passive data channel to the address named in...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANlibnet |
< 3.17→ 3.17 |
3.17 |
| CPANperl |
5.7.3 – 5.45.5→ Not listed |
Not listed |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-40558 perl No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-40558 perl No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- package github.com
- web github.com
- web metacpan.org
- web cpan.org
- web nvd.nist.gov
- web github.com
- web openwall.com