CVE-2026-40558 Affecting perl package, versions <5.40.1-6+e21


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.31% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PERL-22989409
  • published26 Nov 2026
  • disclosed29 Nov 2026

Introduced: 26 Nov 2026

NewCVE-2026-40558  (opens in a new tab)

How to fix?

Upgrade Echo:latest perl to version 5.40.1-6+e21 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream perl package and not the perl package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.