Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-40199

published medium CVSS 3.1 · 6.5

Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass

Published
10 Apr 2026, 21:49:48 UTC
Updated
13 Apr 2026, 14:37:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
STIGTSP — Net-CIDR-LiteNet::CIDR::Lite · 0 to < 0.23 · Other versions: unaffected Affected Not stated CPANSec
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1624 Fixed Not stated Amazon Linux assessment
Alpine Linux edge perl-net-cidr-lite Fixed 0.23-r0 Package fix record
SUSE / openSUSE SLE-15-SP4 perl-Net-CIDR-Litenoarch Advisory build 0.21-150100.6.8.1 SUSE-SU-2026:2113-1
Ubuntu bionic libnet-cidr-lite-perl Advisory build 0.21-1ubuntu0.18.04.1~esm1 USN-8406-1
Amazon Linux AL2023 perl-Net-CIDR-Litenoarch Listed in advisory Not stated ALAS2023-2026-1624
Alpine Linux v3.21 perl-net-cidr-lite Fixed 0.23-r0 Package fix record
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.22 perl-net-cidr-lite Fixed 0.23-r0 Package fix record
Alpine Linux v3.23 perl-net-cidr-lite Fixed 0.23-r0 Package fix record
Alpine Linux v3.24 perl-net-cidr-lite Fixed 0.23-r0 Package fix record
SUSE / openSUSE SLE-15-SP5 perl-Net-CIDR-Litenoarch Advisory build 0.21-150100.6.8.1 SUSE-SU-2026:2113-1
SUSE / openSUSE SLE-15-SP6 perl-Net-CIDR-Litenoarch Advisory build 0.21-150100.6.8.1 SUSE-SU-2026:2113-1
SUSE / openSUSE SLE-15-SP7 perl-Net-CIDR-Litenoarch Advisory build 0.21-150100.6.8.1 SUSE-SU-2026:2113-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDR-Liteaarch64 Advisory build 0.240.0-1.1 OPENSUSE-SU-2026:10780-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDR-Liteppc64le Advisory build 0.240.0-1.1 OPENSUSE-SU-2026:10780-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDR-Lites390x Advisory build 0.240.0-1.1 OPENSUSE-SU-2026:10780-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDR-Litex86_64 Advisory build 0.240.0-1.1 OPENSUSE-SU-2026:10780-1
Ubuntu focal libnet-cidr-lite-perl Advisory build 0.21-2ubuntu0.1+esm1 USN-8406-1
Ubuntu jammy libnet-cidr-lite-perl Advisory build 0.22-1ubuntu0.1 USN-8406-1
Ubuntu noble libnet-cidr-lite-perl Advisory build 0.22-2ubuntu0.24.04.1 USN-8406-1
Ubuntu questing libnet-cidr-lite-perl Advisory build 0.22-2ubuntu0.25.10.1 USN-8406-1
Ubuntu resolute libnet-cidr-lite-perl Advisory build 0.22-2ubuntu0.26.04.1 USN-8406-1
Ubuntu xenial libnet-cidr-lite-perl Advisory build 0.21-1ubuntu0.16.04.1~esm1 USN-8406-1
Amazon Linux AL2023 perl-Net-CIDR-Litesrc Listed in advisory Not stated ALAS2023-2026-1624

Description

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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

18

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
STIGTSP Net::CIDR::Lite 0 to < 0.23 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

1
  • CWE-130 CWE-130 Improper Handling of Length Parameter Inconsistency (CPANSec · cna)

References

3

Provider assertions

2

CPANSec · cna

Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
3a137629f1310a57b80b61921b9e84122f541f3e239227de5c5fabc06ec36191
Ingested
23 Sep 2026, 09:13:02 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected