CVE-2026-49941: Net::CIDR::Set versions through 0.20 for Perl did not validate IP addresses

Published Jun 4, 2026
·
Updated

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.

Affected Software

2 affected components
cpan/Net::CIDR::Set<=0.20
Rrwo Net\<0.21

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Net::CIDR::Set (Perl) to a version that resolves this vulnerability.

    Fixed in 0.21

Event History

Jun 4, 2026
CVE Published
via MITRE·04:07 PM
Data Sourced
via MITRE·04:07 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-49941?

The severity of CVE-2026-49941 is high, with a CVSS score of 7.5.

2

How do I fix CVE-2026-49941?

To fix CVE-2026-49941, upgrade to version 0.21 or later of Net::CIDR::Set.

3

What does CVE-2026-49941 impact?

CVE-2026-49941 impacts versions of Net::CIDR::Set for Perl prior to 0.21.

4

What is the main issue described in CVE-2026-49941?

The main issue in CVE-2026-49941 is that the affected versions did not properly validate IP addresses.

5

When was CVE-2026-49941 published?

CVE-2026-49941 was published on June 4, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203