CVE-2026-40199 | STIGTSP Net::CIDR::Lite up to 0.22 on Perl IPv6 Address _pack_ipv6 length parameter
VulDBArchived Apr 11, 2026✓ Full text saved
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 of the component IPv6 Address Handler . The manipulation leads to improper handling of length parameter inconsistency. This vulnerability is uniquely identified as CVE-2026-40199 . The attack is possible to be carried out remotely. No exploit exists. It is recommended to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-356958 · CVE-2026-40199 · GCVE-0-2026-40199
STIGTSP NET::CIDR::LITE UP TO 0.22 ON PERL IPV6 ADDRESS _PACK_IPV6 LENGTH PARAMETER
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
7.0 $0-$5k 0.38
Summaryinfo
A vulnerability classified as critical was found in STIGTSP Net::CIDR::Lite up to 0.22 on Perl. This affects the function _pack_ipv6 of the component IPv6 Address Handler. The manipulation results in length parameter. This vulnerability was named CVE-2026-40199. The attack may be performed from remote. There is no available exploit. Upgrading the affected component is advised.
Detailsinfo
A vulnerability classified as critical has been found in STIGTSP Net::CIDR::Lite up to 0.22 on Perl. Affected is the function _pack_ipv6 of the component IPv6 Address Handler. The manipulation with an unknown input leads to a length parameter vulnerability. CWE is classifying the issue as CWE-130. The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass. _pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address. The wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses. Example: my $cidr = Net::CIDR::Lite->new("::ffff:192.168.1.0/120"); $cidr->find("::ffff:192.168.2.0"); # incorrectly returns true This is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x). See also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.
The advisory is available at github.com. This vulnerability is traded as CVE-2026-40199 since 04/10/2026. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.
Upgrading to version 0.23 eliminates this vulnerability. Applying the patch b7166b1fa17b3b14b4c795ace5b3fbf71a0bd04a 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: Length parameter
CWE: CWE-130 / CWE-119
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: b7166b1fa17b3b14b4c795ace5b3fbf71a0bd04a
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: b7166b1fa17b3b14b4c795ace5b3fbf71a0bd04a
Status: Confirmed
CVE: CVE-2026-40199 (🔒)
GCVE (CVE): GCVE-0-2026-40199
GCVE (VulDB): GCVE-100-356958
Entryinfo
Created: 04/11/2026 04:11
Changes: 04/11/2026 04:11 (59)
Complete: 🔍
Cache ID: 99:632:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸