CVE-2026-40198 | STIGTSP Net::CIDR::Lite up to 0.22 on Perl _pack_ipv6 improper validation of syntactic correctness of input
VulDBArchived Apr 11, 2026✓ Full text saved
A vulnerability described as critical has been identified in STIGTSP Net::CIDR::Lite up to 0.22 on Perl. The affected element is the function _pack_ipv6 . Executing a manipulation can lead to improper validation of syntactic correctness of input. This vulnerability is handled as CVE-2026-40198 . The attack can be executed remotely. There is not any exploit available. Upgrading the affected component is recommended.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356957 · CVE-2026-40198 · GCVE-0-2026-40198
STIGTSP NET::CIDR::LITE UP TO 0.22 ON PERL _PACK_IPV6 IMPROPER VALIDATION OF SYNTACTIC CORRECTNESS OF INPUT
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.0 $0-$5k 0.13
Summaryinfo
A vulnerability classified as critical has been found in STIGTSP Net::CIDR::Lite up to 0.22 on Perl. The impacted element is the function _pack_ipv6. The manipulation leads to improper validation of syntactic correctness of input. This vulnerability is uniquely identified as CVE-2026-40198. The attack is possible to be carried out remotely. No exploit exists. It is recommended to upgrade the affected component.
Detailsinfo
A vulnerability was found in STIGTSP Net::CIDR::Lite up to 0.22 on Perl. It has been rated as critical. This issue affects the function _pack_ipv6. The manipulation with an unknown input leads to a improper validation of syntactic correctness of input vulnerability. Using CWE to declare the problem leads to CWE-1286. The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The advisory is shared at github.com. The identification of this vulnerability is CVE-2026-40198 since 04/10/2026. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available.
Upgrading to version 0.23 eliminates this vulnerability. Applying the patch 25d65f85dbe4885959a10471725ec9d250a589c3 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Productinfo
Vendor
STIGTSP
Name
Net::CIDR::Lite
Version
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.10
0.11
0.12
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.20
0.21
0.22
License
open-source
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Improper validation of syntactic correctness of input
CWE: CWE-1286 / CWE-20
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: Net::CIDR::Lite 0.23
Patch: 25d65f85dbe4885959a10471725ec9d250a589c3
Timelineinfo
04/10/2026 CVE reserved
04/11/2026 +1 days Advisory disclosed
04/11/2026 +0 days VulDB entry created
04/11/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: 25d65f85dbe4885959a10471725ec9d250a589c3
Status: Confirmed
CVE: CVE-2026-40198 (🔒)
GCVE (CVE): GCVE-0-2026-40198
GCVE (VulDB): GCVE-100-356957
Entryinfo
Created: 04/11/2026 04:11
Changes: 04/11/2026 04:11 (58)
Complete: 🔍
Cache ID: 99:88A:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸