CVE-2026-49942: Net::CIDR::Set versions through 0.20 for Perl did not validate network masks

Published Jun 4, 2026
·
Updated

Net::CIDR::Set versions through 0.20 for Perl did not validate network masks.

The mask portion of a network mask could contain Unicode digits such as the Arabic-Indic One (U+0661), or non-digits, which were ignored. This could allow network masks to accept larger networks.

Leading zeros were also accepted, but treated as decimal instead of octal. This could lead to confusion about what networks are acceptable.

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-49942?

The severity of CVE-2026-49942 is rated high with a CVSS score of 7.3.

2

How do I fix CVE-2026-49942?

To fix CVE-2026-49942, you should upgrade to Net::CIDR::Set version 0.21 or later.

3

What does CVE-2026-49942 affect?

CVE-2026-49942 affects versions of Net::CIDR::Set for Perl up to and including 0.20.

4

What is the risk associated with CVE-2026-49942?

CVE-2026-49942 carries a risk rating of 54, indicating potential security vulnerabilities.

5

What vulnerabilities does CVE-2026-49942 introduce?

CVE-2026-49942 allows network masks to accept larger networks due to improper validation of network masks.

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