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-2021-4456

published medium CVSS 3.1 · 6.5

Net::CIDR versions before 0.24 for Perl mishandle leading zeros in IP CIDR addresses, which may have unspecified impact

Published
27 Feb 2026, 00:16:36 UTC
Updated
27 Feb 2026, 16:53:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
MRSAM — Net-CIDRNet::CIDR · 0 to < 0.24 · Other versions: unaffected Affected Not stated CPANSec
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Leap-16.0 perl-Net-CIDRnoarch Advisory build 0.270.0-bp160.1.1 OPENSUSE-SU-2026:20773-1
Ubuntu bionic libnet-cidr-perl Advisory build 0.18-1ubuntu0.1~esm2 USN-8110-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDRaarch64 Advisory build 0.270.0-2.1 OPENSUSE-SU-2026:10756-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDRppc64le Advisory build 0.270.0-2.1 OPENSUSE-SU-2026:10756-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDRs390x Advisory build 0.270.0-2.1 OPENSUSE-SU-2026:10756-1
SUSE / openSUSE openSUSE-Tumbleweed perl-Net-CIDRx86_64 Advisory build 0.270.0-2.1 OPENSUSE-SU-2026:10756-1
Show 5 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal libnet-cidr-perl Advisory build 0.20-1ubuntu0.1~esm2 USN-8110-1
Ubuntu jammy libnet-cidr-perl Advisory build 0.21-1ubuntu0.2 USN-8110-1
Ubuntu noble libnet-cidr-perl Advisory build 0.21-2ubuntu0.2 USN-8110-1
Ubuntu trusty libnet-cidr-perl Advisory build 0.17-1ubuntu0.14.04.1~esm2 USN-8110-1
Ubuntu xenial libnet-cidr-perl Advisory build 0.17-1ubuntu0.16.04.1~esm2 USN-8110-1

Description

Net::CIDR versions before 0.24 for Perl mishandle leading zeros in IP CIDR addresses, which may have unspecified impact. The functions `addr2cidr` and `cidrlookup` may return leading zeros in a CIDR string, which may in turn be parsed as octal numbers by subsequent users. In some cases an attacker may be able to leverage this to bypass access controls based on IP addresses. The documentation advises validating untrusted CIDR strings with the `cidrvalidate` function. However, this mitigation is optional and not enforced by default. In practice, users may call `addr2cidr` or `cidrlookup` with untrusted input and without validation, incorrectly assuming that this is safe.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

8

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
MRSAM Net::CIDR 0 to < 0.24 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

1
  • CWE-704 CWE-704 Incorrect Type Conversion or Cast (CPANSec · cna)

References

3

Provider assertions

2

CPANSec · cna

Net::CIDR versions before 0.24 for Perl mishandle leading zeros in IP CIDR addresses, which may have unspecified impact

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
8896897e03c730c12ffd34d40b363cde5652d459dd9a8fd421e459cfc1d86cbb
Ingested
23 Sep 2026, 07:57:25 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