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-27T21:17:42.238Z
Modified
2026-08-12T03:51:22.511786139Z
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
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
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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40911.json",
    "cna_assigner": "CPANSec",
    "cwe_ids": [
        "CWE-1287"
    ]
}
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
Fixed
Fixed
Database specific
Show details
{
    "source": [
        "DESCRIPTION",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "0.10"
        },
        {
            "fixed": "0.13"
        }
    ]
}

Affected versions

v0.*
v0.13

Database specific

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