CVE-2025-40911
published medium CVSS 3.1 · 6.5Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly consider leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RRWO | — | Net-CIDR-SetNet::CIDR::Set · 0.10 through 0.13 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly handle leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses. Leading zeros are used to indicate octal numbers, which can confuse users who are intentionally using octal notation, as well as users who believe they are using decimal notation. Net::CIDR::Set used code from Net::CIDR::Lite, which had a similar vulnerability CVE-2021-47154.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RRWO | Net::CIDR::Set | 0.10 through 0.13 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-1287 CWE-1287 Improper Validation of Specified Type of Input
References
3Provider assertions
2CPANSec · cna
Net::CIDR::Set versions 0.10 through 0.13 for Perl does not properly consider leading zero characters in IP CIDR address strings, which could allow attackers to bypass access control that is based on IP addresses
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b01b5bb19a36aefde2b8cfa18a9d361b00cab5b4f12adbc8605947ae94deba3b
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record