CVE-2026-49941 Affecting libnet-cidr-set-perl package, versions <0.15-1+deb13u1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.33% (26th 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-DEBIAN13-LIBNETCIDRSETPERL-17139957
  • published4 Jun 2026
  • disclosed4 Jun 2026

Introduced: 4 Jun 2026

CVE-2026-49941  (opens in a new tab)

How to fix?

Upgrade Debian:13 libnet-cidr-set-perl to version 0.15-1+deb13u1 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 Debian. See How to fix? for Debian:13 relevant fixed versions and status.

Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses.

The add method called the _encode method to parse addresses. If the addresses did not look like netmasks or network ranges, then they were assumed to single IP addresses and passed back to itself as a 32-bit or 128-bit netmask.

If the argument was not a well-formed IP address, then this would lead to indefinite recursion.

An attacker could use this to cause a denial of service.