Home / CVE-2026-40558
CVE-2026-40558: is it exploited, and which versions are affected and fixed?
CVE-2026-40558 is a server-side request forgery (SSRF) vulnerability. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: libnet before 3.17 and perl from 5.7.3 through 5.45.5 (CVE record by CPANSec). Fixed in 3.17 (CVE record by CPANSec).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 30, 2026, 00:41 UTC and NVD November 30, 2026, 02:09 UTC.
What is CVE-2026-40558?
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.
From the CVE record by CPANSec, last updated November 30, 2026, 00:14 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libnet | before 3.17 | 3.17 | |
| perl | from 5.7.3 through 5.45.5 |
As the CVE record by CPANSec states it, last updated November 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2026-40558 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.31% probability of exploitation activity in the next 30 days, percentile 25.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-918 Server-Side Request Forgery
How do I fix it? (from the CVE record)
Upgrade to libnet 3.17 or later.
Is there a workaround? (from the CVE record)
Install libnet 3.17 or later into your @INC include path, so it takes precedence over the vulnerable core module shipped with Perl.
Where are the vendor advisories and references?
- https://github.com/steve-m-hay/perl-libnet/commit/4e5ce1cfa901a9bc2aad2b635b5434154983ff12.patch patch
- https://metacpan.org/release/SHAY/libnet-3.17/changes release-notes
- http://www.openwall.com/lists/oss-security/2026/11/29/7
When was it published, and where is the official record?
- Reserved
- April 14, 2026
- Published
- November 29, 2026, 22:40 UTC
- CVE record updated
- November 30, 2026, 00:14 UTC by CPANSec
- NVD
- Received, last modified November 30, 2026, 01:17 UTC
- Last checked
- CVE list November 30, 2026, 00:41 UTC; NVD November 30, 2026, 02:09 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on November 29, 2026?
- Nov 29, 2026CVE-2026-138335 cshum imagor: path traversal (reading or writing files outside the intended folder)
- Nov 29, 2026CVE-2026-124306 Interpretation Conflict
- Nov 29, 2026CVE-2026-124305 Unrestricted Externally Accessible Lock
- Nov 29, 2026CVE-2026-124304 Infinite loop (denial of service)
- Nov 29, 2026CVE-2026-124303 Uncaught exception (crash)
- Nov 29, 2026CVE-2026-124302 Double free
- Nov 29, 2026CVE-2026-124301 Incorrect Control Flow Scoping
- Nov 29, 2026CVE-2026-124300 Incorrect Control Flow Scoping
Every CVE published on November 29, 2026
Questions about CVE-2026-40558
Is CVE-2026-40558 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.31% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions are affected by CVE-2026-40558?
libnet before 3.17 and perl from 5.7.3 through 5.45.5, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-40558?
3.17, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2026-40558?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.