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

State
Published
Severity
Not Scored
Published
Nov 29, 2026
Updated
Nov 30, 2026
Reserved
Apr 14, 2026

Read the record on cve.org

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.

ProductVersions
libnetbefore 3.17 Affected
perl5.7.3 through 5.45.5 Affected

Weaknesses

  • CWE-918 Server-Side Request Forgery

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.