CVE-2025-40911 Affecting libnet-cidr-set-perl package, versions <0.15-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-LIBNETCIDRSETPERL-18674619
  • published12 Aug 2026
  • disclosed27 May 2025

Introduced: 27 May 2025

CVE-2025-40911  (opens in a new tab)

How to fix?

Upgrade Echo:latest libnet-cidr-set-perl to version 0.15-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libnet-cidr-set-perl package and not the libnet-cidr-set-perl package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.