Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass. _pack_ipv6() does not check that uncompressed IPv6 addresses (without ::) have exactly 8 hex groups. Inputs like "abcd", "1:2:3", or "1:2:3:4:5:6:7" are accepted and produce packed values of wrong length (3, 7, or 15 bytes instead of 17). The packed values are used internally for mask and comparison operations. find() and bin_find() use Perl string comparison (lt/gt) on these values, and comparing strings of different lengths gives wrong results. This can cause find() to incorrectly report an address as inside or outside a range. Example: my $cidr = Net::CIDR::Lite->new("::/8"); $cidr->find("1:2:3"); # invalid input, incorrectly returns true This is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module. See also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.
Conclusion & alert: CVE-2026-40198 is rated Low Risk (35.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). 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-05-12 | 0.03% | 0.05% | +0.02% |
| 2 | 2026-04-11 | — | 0.03% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2026-40198: 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-40198 |
debian
|
not yet assigned | CVE-2026-40198 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-40198 |
suse
|
medium | CVE-2026-40198 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-40198/ |
ubuntu
|
medium | CVE-2026-40198 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-40198 |
| 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/25d65f85dbe4885959a10471725ec9d250a589c3.patch | Patch |
| https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.23/changes | Release Notes |
| https://www.cve.org/CVERecord?id=CVE-2026-40199 | Third Party Advisory |