CVE-2025-40911

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-40911
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40911.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40911
Related
Published
2025-05-27T22:15:22Z
Modified
2025-07-01T16:31:48.093771Z
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / libnet-cidr-set-perl

Package

Name
libnet-cidr-set-perl
Purl
pkg:deb/debian/libnet-cidr-set-perl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13-3
0.13-4
0.13-5
0.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libnet-cidr-set-perl

Package

Name
libnet-cidr-set-perl
Purl
pkg:deb/debian/libnet-cidr-set-perl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.13-4
0.13-5
0.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libnet-cidr-set-perl

Package

Name
libnet-cidr-set-perl
Purl
pkg:deb/debian/libnet-cidr-set-perl?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.15-1

Affected versions

0.*

0.13-4
0.13-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/robrwo/perl-net-cidr-set

Affected ranges

Type
GIT
Repo
https://github.com/robrwo/perl-net-cidr-set
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*

v0.13