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.
Published: 2026-11-29
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to libnet 3.17 or later.


Vendor Workaround

Install libnet 3.17 or later into your @INC include path, so it takes precedence over the vulnerable core module shipped with Perl.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

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

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

Link: CVE-2026-40558

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses