CVE-2025-40911 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...
MediumCVSS 6.5
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 3 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libnet-cidr-set-perl(Debian 12) | = 0.13-4; = 0.13-5; = 0.15-1; = 0.19-1 +5 more | No fix listed | No fix yet |
| ubuntu/libnet-cidr-set-perl(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/libnet-cidr-set-perl(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| debian/libnet-cidr-set-perl(Debian 13) | < 0.15-1 | 0.15-1 | Fixed |
| debian/libnet-cidr-set-perl(Debian 14) | < 0.15-1 | 0.15-1 | Fixed |
| RRWO Net::CIDR::Set | >= 0.10, <= 0.13 | after 0.13 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libnet-cidr-set-perl(Debian:12) | All versions | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.13-4 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.13-5 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.15-1 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.19-1 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.20-1 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.21-1 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.22-1 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:12) | = 0.23-1 | No fix listed |
| debian/libnet-cidr-set-perl(Debian:13) | < 0.15-1 | 0.15-1 |
| debian/libnet-cidr-set-perl(Debian:14) | < 0.15-1 | 0.15-1 |
| RRWO Net::CIDR::Set | >= 0.10, <= 0.13 | No fix listed |
| ubuntu/libnet-cidr-set-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libnet-cidr-set-perl(Ubuntu:24.04) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-40911 vendor-advisory
- metacpan.org release-notes
- github.com patch
- blog.urth.org related
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking