AZL-116668: CVE-2026-40558 affecting package libdnet 1.17.0-1

Published Nov 29, 2026
·
Updated

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.

Affected Software

1 affected component
azure-linux/libdnet<=1.17.0-1

Event History

Nov 29, 2026
Advisory Published
via OSV·11:17 PM
Data Sourced
via OSV·11:17 PM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What must an attacker control to exploit this issue?

The attacker must operate or control a malicious FTP server that the affected Perl Net::FTP client connects to. The server can then provide a crafted PASV reply that causes the client to initiate a TCP connection to an arbitrary host and port.

2

What systems are at risk from exploitation?

Clients using Net::FTP before version 3.17 are at risk when they connect to an untrusted or malicious FTP server. The greatest concern is access to internal addresses or services that are reachable from the client but not from the attacker.

3

How can I determine whether my environment is affected?

Identify uses of Perl Net::FTP and determine whether the installed version is earlier than 3.17. Also review whether those clients connect to FTP servers that are untrusted or could be attacker-controlled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203