Skip to main content

Net CVE-2026-40199

| EUVDEUVD-2026-21611 MEDIUM
Improper Handling of Length Parameter Inconsistency (CWE-130)
2026-04-10 9b29abf9-4ab0-4765-b253-1875cd9b441e GHSA-932w-96j4-j35v
6.5
CVSS 3.1 · Vendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft IPv4-mapped IPv6 address
  2. Delivery
    Submit to application ACL check
  3. Exploit
    _pack_ipv6() produces 18-byte output with misaligned IPv4 part
  4. Execution
    find() performs incorrect string comparison
  5. Persist
    Returns false match outside valid CIDR range
  6. Impact
    Access control bypassed

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Length parameter validation
Exploitation Conditions

The vulnerability is triggered when an application using Net::CIDR::Lite receives or processes valid RFC 4291 IPv4-mapped IPv6 addresses in the format ::ffff:x.x.x.x AND the application uses the find() or bin_find() methods to validate addresses against CIDR ranges containing IPv4-mapped addresses. The condition is specific to IPv4-mapped IPv6 address handling; standard IPv6 or pure IPv4 CIDR operations are not affected. Malformed IPv6 addresses are separately addressed by CVE-2026-40198.

Impact

The CVSS 6.5 score reflects medium impact (Confidentiality: Low, Integrity: Low, Availability: None) with network accessibility and low complexity, but real-world risk is substantially lower than this suggests. The EPSS score of 0.02% (4th percentile) indicates minimal exploitation probability in the wild, likely because the vulnerability requires (1) a Perl-based application using Net::CIDR::Lite for ACL enforcement, (2) reliance on IPv4-mapped IPv6 address handling specifically, and (3) the attacker to control or craft IPv4-mapped addresses within the network. The authentication bypass tag conflicts with the attack vector (AV:N/PR:N), which typically indicates pre-authentication attacks, suggesting the tag may be mislabeled or refers to bypassing IP-based authentication schemes specifically. The two-step attack chain (send IPv4-mapped address → trigger misaligned comparison) has low barrier to execution but limited exploit surface. This is a real vulnerability but primarily affects specialized deployments; organizations using Net::CIDR::Lite for IPv6 ACLs should prioritize patching, while others can schedule standard updates.

Exploit ScenarioDerived

An attacker targeting an IPv6-enabled application that uses Net::CIDR::Lite for IP-based access control discovers that a protected network range (e.g., ::ffff:192.168.1.0/120) is configured. By crafting an IPv4-mapped IPv6 address request (e.g., ::ffff:192.168.2.0) that should fall outside this CIDR range, the attacker exploits the 18-byte packing misalignment to trigger incorrect string comparison, causing the find() method to return a false match and bypass the ACL. This grants unauthorized access to APIs, web services, or data resources protected by that CIDR rule.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 15, 2026

Net::CIDR::Lite before version 0.23 for Perl incorrectly handles RFC 4291 IPv4-mapped IPv6 addresses (::ffff:x.x.x.x) by including an extra sentinel byte during packing, resulting in 18-byte instead of 17-byte representations. This misalignment causes the find() and bin_find() functions to return incorrect matching results during IP address lookup operations, enabling attackers to bypass IP-based access control lists by crafting addresses that fall outside intended CIDR ranges. No active exploitation has been identified, but the low EPSS score (0.02%) masks the authentication bypass tag, suggesting limited real-world triggering conditions despite the 6.5 CVSS score.

RemediationAI

Upgrade Net::CIDR::Lite to version 0.23 or later immediately. For Perl installations using CPAN, run cpan Net::CIDR::Lite or cpanm Net::CIDR::Lite to fetch the patched release. Verify the installed version with perl -MNet::CIDR::Lite -e 'print $Net::CIDR::Lite::VERSION' to confirm version 0.23 or higher. If upgrading is not immediately feasible, audit ACL configurations that depend on IPv4-mapped IPv6 address ranges (::ffff:0:0/96) and add explicit filter rules to reject or validate IPv4-mapped addresses at the application layer. See the official advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-40199 and the CPAN changes log for additional context.

Affected VersionsENISA

Net::CIDR::Lite 0 <0.23

Affected Packages

euvd net_cidr_lite fix: 0.23

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Net::CIDR::Lite is a Perl module that manages Classless Inter-Domain Routing (CIDR) address ranges and performs IP address lookups using packed binary representations. The vulnerability resides in the _pack_ipv6() function, which improperly constructs the binary format of IPv4-mapped IPv6 addresses by copying a sentinel byte from _pack_ipv4() that should not be included in the final 16-byte IPv6 representation. IPv4-mapped addresses follow RFC 4291 format (::ffff:192.0.2.1), where the first 80 bits are zero, the next 16 bits are 0xFFFF, and the final 32 bits contain the IPv4 address. The 18-byte malformed output breaks subsequent bitwise AND mask operations (which truncate to the shorter operand length) and string comparison operations (Perl's lt/gt lexical operators) used in range matching logic, causing the find() method to incorrectly include or exclude addresses from ACL-protected ranges. CWE-130 (Improper Handling of Length Parameter Inconsistency) directly describes this sentinel byte inclusion flaw.

Know when Net gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
SUSE MEDIUM

Primary rating from Vendor (9b29abf9-4ab0-4765-b253-1875cd9b441e).

CVSS VectorVendor: 9b29abf9-4ab0-4765-b253-1875cd9b441e

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch available
Apr 16, 2026 - 05:29 EUVD
0.23
CVSS changed
Apr 13, 2026 - 15:22 NVD
6.5 (MEDIUM)
CVE Published
Apr 10, 2026 - 22:16 nvd
N/A

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Net

View all
CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2026-111497 CRITICAL POC
9.2 Oct 21

Remote code execution is possible in Node.js releases that bundle a vulnerable Brotli decoder: a malformed brotli-compre

CVE-2023-38180 HIGH
7.5 Aug 08

.NET and Visual Studio Denial of Service Vulnerability. Rated high severity (CVSS 7.5), this vulnerability is remotely e

CVE-2026-69439 HIGH POC
8.8 Sep 08

Heap-based buffer overflow (CWE-122) in Microsoft .NET and Visual Studio allows a network-based unauthenticated attacker

CVE-2026-71328 HIGH POC
8.8 Sep 08

Heap-based buffer overflow in Microsoft Visual Studio 2022 and 2026 enables network-delivered remote code execution when

CVE-2026-62886 HIGH POC
7.8 Aug 11

Privilege escalation in Microsoft .NET runtimes (8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022 and 2026 results f

CVE-2026-62871 HIGH POC
7.8 Aug 11

Heap-based buffer overflow (CWE-122) in Microsoft .NET enables local code execution across all actively supported .NET r

CVE-2026-70354 HIGH POC
7.8 Aug 11

Local code execution via out-of-bounds write in Microsoft .NET allows an unauthenticated local attacker to achieve full

CVE-2026-62909 HIGH POC
7.8 Aug 11

Local privilege escalation in Microsoft .NET (versions 8.0, 9.0, and 10.0) and Microsoft Visual Studio 2022/2026 allows

CVE-2026-62901 HIGH POC
7.5 Aug 11

Denial-of-service in Microsoft .NET runtimes and Visual Studio allows unauthenticated remote attackers to crash or hang

CVE-2026-62897 HIGH POC
7.0 Aug 11

Integer overflow in Microsoft .NET Framework and modern .NET runtimes enables local code execution with full process com

CVE-2026-62898 HIGH POC
7.5 Aug 11

Use-after-free memory corruption in Microsoft's QUIC protocol implementation (MsQuic) exposes sensitive heap memory to u

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Module for Development Tools 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy