CVE-2025-40911

Source
https://cve.org/CVERecord?id=CVE-2025-40911
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40911.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40911
Downstream
Published
2025-05-27T22:15:22.337Z
Modified
2026-04-02T12:48:25.011290Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
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

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
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0.10"
        },
        {
            "last_affected": "0.13"
        }
    ]
}
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

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40911.json"