CVE & CISA-KEV Catalog

CVE-2026-40198

HIGH
7.5
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
libnet-cidr-lite-perlDebian
Fixed in:0.22-3~deb12u1CVE-2026-40198
Fixed in:0.22-3~deb13u1CVE-2026-40198
Fixed in:0.22-3CVE-2026-40198
libnet-cidr-lite-perlUbuntu
Fixed in:0.21-1ubuntu0.16.04.1~esm1USN-8406-1
Fixed in:0.21-1ubuntu0.18.04.1~esm1USN-8406-1
Fixed in:0.21-2ubuntu0.1+esm1USN-8406-1
Fixed in:0.22-1ubuntu0.1USN-8406-1
Fixed in:0.22-2ubuntu0.24.04.1USN-8406-1
Fixed in:0.22-2ubuntu0.25.10.1USN-8406-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityHigh
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Exploit Intelligence

0.31%probability of exploitation in 30 days
23rdpercentile

Low risk: more likely to be exploited than 23% of all known CVEs.

References

Third-Party Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-1286 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-7954Critical9.890%-Fix
CVE-2025-13878High7.58.2%-Fix
CVE-2024-51983High7.57.8%--
CVE-2026-21527High6.57.7%-Fix
CVE-2024-51982High7.57.1%--
CVE-2023-27043Medium5.32.5%-Fix
Embed a live status badge for CVE-2026-40198
CVE-2026-40198 severity badge

Markdown

[![CVE-2026-40198](https://tridentstack.com/cve/badge/CVE-2026-40198.svg)](https://tridentstack.com/cve/CVE-2026-40198)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-40198"><img src="https://tridentstack.com/cve/badge/CVE-2026-40198.svg" alt="CVE-2026-40198"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-21.