CVE catalog

CVE-2025-40911

libnet-cidr-set-perl: CVE-2025-40911

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibnet-cidr-set-perlsid0.23-1fixed
Debianlibnet-cidr-set-perlforky0.23-1fixed
Debianlibnet-cidr-set-perltrixie0.15-1+deb13u1fixed
Debianlibnet-cidr-set-perlbookworm0.13-4vulnerable
Ubuntulibnet-cidr-set-perl20.040.13-2vulnerable
Ubuntulibnet-cidr-set-perl22.040.13-3vulnerable
Ubuntulibnet-cidr-set-perl24.040.13-4vulnerable
Ubuntulibnet-cidr-set-perl24.040.13-5vulnerable
Ubuntulibnet-cidr-set-perl25.100.13-5vulnerable
Ubuntulibnet-cidr-set-perl25.100.15-1vulnerable
Ubuntulibnet-cidr-set-perl25.100.19-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibnet-cidr-set-perlsourcesid0.15-1not yet assignedNot reported[1106699]
Debianlibnet-cidr-set-perlsourceforky0.15-1not yet assignedNot reported[1106699]
Debianlibnet-cidr-set-perlsourcetrixie0.15-1not yet assignedNot reported[1106699]
Debianlibnet-cidr-set-perlsourcebookworm(unfixed)not yet assignedNot reported[1106699]

[Debian bug #1106699]

Notes

[bookworm] libnet-cidr-set-perl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 0.13-4 · all · bookworm

      Affected

      dsa · libnet-cidr-set-perl · debian · bookworm; dsa · libnet-cidr-set-perl · debian · 12

    • 0.13-4 · all · bookworm

      Affected

      dsa · libnet-cidr-set-perl · debian · bookworm; dsa · libnet-cidr-set-perl · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 0.15-1 · all · trixie

      Fixed · Fixed: 0.15-1

      dsa · libnet-cidr-set-perl · debian · 13

    • 0.15-1 · all · trixie

      Fixed · Fixed: 0.15-1

      dsa · libnet-cidr-set-perl · debian · 13

Observed:

References