Home / STIGTSP / Net::CIDR::Lite / CVE-2026-40198
CVE-2026-40198: is it exploited, and which versions of STIGTSP Net::CIDR::Lite are affected and fixed?
CVE-2026-40198 is an improper Validation of Syntactic Correctness of Input vulnerability in STIGTSP Net::CIDR::Lite. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: Net::CIDR::Lite before 0.23 (CVE record by CPANSec). Fixed in 0.23 (CVE record by CPANSec). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-40198?
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.
From the CVE record by CPANSec, last updated April 13, 2026, 14:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| STIGTSP | Net::CIDR::Lite Net-CIDR-Lite | before 0.23 | 0.23 |
As the CVE record by CPANSec states it, last updated April 13, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| stigtsp | net\ | \ | application |
NVD analysis (status Analyzed), last modified October 26, 2026, 21:10 UTC.
How severe is CVE-2026-40198?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40198 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, April 13, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1286 Improper Validation of Syntactic Correctness of Input
How do I fix it? (from the CVE record)
Upgrade to version 0.23 or newer, or apply the patch provided.
Where are the vendor advisories and references?
- https://github.com/stigtsp/Net-CIDR-Lite/commit/25d65f85dbe4885959a10471725ec9d250a589c3.patch patch
- https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.23/changes release-notes
- https://www.cve.org/CVERecord?id=CVE-2026-40199 related
When was it published, and where is the official record?
- Reserved
- April 9, 2026
- Published
- April 10, 2026, 21:42 UTC
- CVE record updated
- April 13, 2026, 14:41 UTC by CPANSec
- NVD
- Analyzed, last modified October 26, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Net::CIDR::Lite?
- May 10, 2026CVE-2026-45191 STIGTSP Net::CIDR::Lite: improper Validation of Unsafe Equivalence in Input
- May 10, 2026CVE-2026-45190 STIGTSP Net::CIDR::Lite: improper Validation of Unsafe Equivalence in Input
- Apr 10, 2026CVE-2026-40199 STIGTSP Net::CIDR::Lite: improper Handling of Length Parameter Inconsistency
Questions about CVE-2026-40198
Is CVE-2026-40198 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of STIGTSP Net::CIDR::Lite are affected by CVE-2026-40198?
Net::CIDR::Lite before 0.23, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2026-40198?
0.23, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40198?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40198?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.