CPANSA-libnet-2026-40558: libnet vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-29T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-29T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2026-40558
Vulnerability DescriptionNet::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.
| Weakness | CWE-918 : Server-Side Request Forgery (SSRF) |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| libnet less than 3.17 |
|
Fixed
- libnet greater than or equal 3.17
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-libnet-2026-40558 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-libnet-2026-40558.json - https://github.com/steve-m-hay/perl-libnet/commit/4e5ce1cfa901a9bc2aad2b635b5434154983ff12.patch external
https://github.com/steve-m-hay/perl-libnet/commit/4e5ce1cfa901a9bc2aad2b635b5434154983ff12.patch - https://metacpan.org/release/SHAY/libnet-3.17/changes external
https://metacpan.org/release/SHAY/libnet-3.17/changes - http://www.openwall.com/lists/oss-security/2026/11/29/7 external
http://www.openwall.com/lists/oss-security/2026/11/29/7 - CVE-2026-40558 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-40558
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Sun Nov 29 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/