CVE-2026-40198 | Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass

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.

Published: 2026-04-10 Last update: 2026-04-21 Assigner: 9b29abf9-4ab0-4765-b253-1875cd9b441e Source: 9b29abf9-4ab0-4765-b253-1875cd9b441e

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.

Exploit prediction scoring system (EPSS) score for CVE-2026-40198

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)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-40198

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2026-40198

OS Trackers for CVE-2026-40198

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

Affected software / configurations for CVE-2026-40198

Vendor Product Version Raw CPE
stigtsp net::cidr::lite < 0.23 cpe:2.3:a:stigtsp:net\:\:cidr\:\:lite:*:*:*:*:*:perl:*:*

References for CVE-2026-40198

cvelogic Threat Intelligence