Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Net::CIDR::Lite (STIGTSP) Fixed in 0.23
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
STIGTSP Net::CIDR::Lite 0.23
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2026-29013 Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses…Priority LOW 35
Timeline
- 2026-10-02 Threatist record created from CVE-2026-40198
- 2026-10-03 Alias added: GHSA-c25q-mqx5-m6v8
References
More STIGTSP Net vulnerabilities
- TI-2026-29013 Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-40198 · CVE Program
- CVE-2026-40198 · NVD
- FIRST EPSS
- GHSA-c25q-mqx5-m6v8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences