Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass. _pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address. The wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses. Example: my $cidr = Net::CIDR::Lite->new("::ffff:192.168.1.0/120"); $cidr->find("::ffff:192.168.2.0"); # incorrectly returns true This is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x). See also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.
Conclusion & alert: CVE-2026-40199 is rated Low Risk (27.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.02%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-11 | — | 0.02% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
3.9 | 2.5 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-40199: 1 source package rows (perl-net-cidr-lite); 4 state rows across 4 repos (3.21-main, 3.22-main, 3.23-main, edge-main); fixed 4, open 0. | https://security.alpinelinux.org/vuln/CVE-2026-40199 |
debian
|
not yet assigned | CVE-2026-40199 not yet assigned priority: Debian including 1 source packages (libnet-cidr-lite-perl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2026-40199 |
suse
|
medium | CVE-2026-40199 severity moderate: SUSE including 1 source package names (perl-Net-CIDR-Lite-0.21-150100.6.6.1), 2 product×package rows across 2 product lines (SUSE Linux Enterprise Module for Development Tools 15 SP7, SUSE Linux Enterprise Server 15 SP4-TERADATA): First Fixed 2. | https://www.suse.com/security/cve/CVE-2026-40199/ |
ubuntu
|
medium | CVE-2026-40199 medium priority: Ubuntu including 1 source packages (libnet-cidr-lite-perl), 7 status rows across 7 suites (bionic, focal, jammy, noble, questing, upstream, xenial): needs-triage 6, released 1. | https://ubuntu.com/security/CVE-2026-40199 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| stigtsp | net::cidr::lite | < 0.23 | cpe:2.3:a:stigtsp:net\:\:cidr\:\:lite:*:*:*:*:*:perl:*:* |
| URL | Tags |
|---|---|
| https://github.com/stigtsp/Net-CIDR-Lite/commit/b7166b1fa17b3b14b4c795ace5b3fbf71a0bd04a.patch | Patch |
| https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.23/changes | Release Notes |
| https://www.cve.org/CVERecord?id=CVE-2026-40198 | Third Party Advisory |