CVEBrief

Home / STIGTSP / Net::CIDR::Lite / CVE-2026-40199

CVE-2026-40199: is it exploited, and which versions of STIGTSP Net::CIDR::Lite are affected and fixed?

CVE-2026-40199 is an improper Handling of Length Parameter Inconsistency 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, 12:38 UTC). Affected: Net::CIDR::Lite before 0.23 (CVE record by CPANSec). Fixed in 0.23 (CVE record by CPANSec). Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:38 UTC
Affected
Net::CIDR::Lite before 0.23
CVE record by CPANSec
Fixed in
0.23
CVE record by CPANSec
Severity
Medium 6.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
0.32% in 30 days
higher than 27% of CVEs; FIRST, December 2, 2026

What is CVE-2026-40199?

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.

From the CVE record by CPANSec, last updated April 13, 2026, 14:37 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
STIGTSPNet::CIDR::Lite Net-CIDR-Litebefore 0.230.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?

VendorProductVersionsType
stigtspnet\\application

NVD analysis (status Analyzed), last modified October 26, 2026, 22:10 UTC.

How severe is CVE-2026-40199?

ScoreVersionVectorSource
Medium 6.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NCISA-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-40199 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 26.9 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

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?

When was it published, and where is the official record?

Reserved
April 9, 2026
Published
April 10, 2026, 21:49 UTC
CVE record updated
April 13, 2026, 14:37 UTC by CPANSec
NVD
Analyzed, last modified October 26, 2026, 22:10 UTC
Last checked
CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Net::CIDR::Lite?

Every CVE in Net::CIDR::Lite

Questions about CVE-2026-40199

Is CVE-2026-40199 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12: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-40199?

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-40199?

0.23, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-40199?

Medium (6.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-40199?

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.