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

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

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.

cve-icon OpenCVE Enrichment

Updated: 2026-11-29T23:30:16Z

Weaknesses