cve.bz

CVE-2026-40198 stigtsp net\

7.5 highEPSS 0.3%Fix available

High (7.5) in stigtsp net\. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-13. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1286 Improper Validation of Syntactic Correctness of Input
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-40198 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40198?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40198?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40198 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • stigtsp:net\

Versions

From the CNA's record in the CVE List.

ProductAffected
STIGTSP Net::CIDR::Litebefore 0.23

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libnet-cidr-lite-perl0.22-3~deb12u1DEBIAN-CVE-2026-40198
Debian13libnet-cidr-lite-perl0.22-3~deb13u1DEBIAN-CVE-2026-40198
Debian14libnet-cidr-lite-perl0.22-3DEBIAN-CVE-2026-40198
Ubuntu22.04:LTSlibnet-cidr-lite-perl0.22-1ubuntu0.1UBUNTU-CVE-2026-40198 USN-8406-1
Ubuntu24.04:LTSlibnet-cidr-lite-perl0.22-2ubuntu0.24.04.1UBUNTU-CVE-2026-40198 USN-8406-1
Ubuntu25.10libnet-cidr-lite-perl0.22-2ubuntu0.25.10.1UBUNTU-CVE-2026-40198 USN-8406-1
Ubuntu26.04:LTSlibnet-cidr-lite-perl0.22-2ubuntu0.26.04.1UBUNTU-CVE-2026-40198 USN-8406-1
UbuntuPro:16.04:LTSlibnet-cidr-lite-perl0.21-1ubuntu0.16.04.1~esm1UBUNTU-CVE-2026-40198 USN-8406-1
UbuntuPro:18.04:LTSlibnet-cidr-lite-perl0.21-1ubuntu0.18.04.1~esm1UBUNTU-CVE-2026-40198 USN-8406-1
UbuntuPro:20.04:LTSlibnet-cidr-lite-perl0.21-2ubuntu0.1+esm1UBUNTU-CVE-2026-40198 USN-8406-1
openSUSETumbleweedperl-Net-CIDR-Lite0.240.0-1.1openSUSE-SU-2026:10780-1
Alpinev3.21, v3.22, v3.23 and 1 moreperl-net-cidr-lite0.23-r0ALPINE-CVE-2026-40198
Azure Linux3perl-Net-CIDR-Liteno fix listedAZL-82739

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-676 NoSQL Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON