CVE-2026-49941: CWE-1287 Improper Validation of Specified Type of Input in RRWO Net::CIDR::Set
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.
AI Analysis
Technical Summary
Net::CIDR::Set versions through 0.20 for Perl contain an input validation flaw in the add method. The method calls _encode to parse IP addresses or network ranges. When the input does not appear as a netmask or network range, it is treated as a single IP address and recursively passed back to _encode as a 32-bit or 128-bit netmask. If the input is malformed and not a valid IP address, this results in indefinite recursion, causing a denial of service. This vulnerability is tracked as CVE-2026-49941 and involves CWE-1287 (Improper Validation of Specified Type of Input) and CWE-674 (Uncontrolled Recursion).
Potential Impact
An attacker can supply malformed IP address inputs to the vulnerable add method, triggering indefinite recursion and causing the application to crash or become unresponsive, resulting in a denial of service. There is no indication of code execution or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid passing untrusted or malformed IP address inputs to the add method of Net::CIDR::Set. Monitor vendor channels for updates or patches addressing this issue.
CVE-2026-49941: CWE-1287 Improper Validation of Specified Type of Input in RRWO Net::CIDR::Set
Description
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.
CVSS v3.1
Score 7.5high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Net::CIDR::Set versions through 0.20 for Perl contain an input validation flaw in the add method. The method calls _encode to parse IP addresses or network ranges. When the input does not appear as a netmask or network range, it is treated as a single IP address and recursively passed back to _encode as a 32-bit or 128-bit netmask. If the input is malformed and not a valid IP address, this results in indefinite recursion, causing a denial of service. This vulnerability is tracked as CVE-2026-49941 and involves CWE-1287 (Improper Validation of Specified Type of Input) and CWE-674 (Uncontrolled Recursion).
Potential Impact
An attacker can supply malformed IP address inputs to the vulnerable add method, triggering indefinite recursion and causing the application to crash or become unresponsive, resulting in a denial of service. There is no indication of code execution or data compromise from the provided information.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid passing untrusted or malformed IP address inputs to the add method of Net::CIDR::Set. Monitor vendor channels for updates or patches addressing this issue.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-06-02T16:06:23.069Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a21ac6de29bf47b50b8bc25
Added to database: 6/4/2026, 4:48:45 PM
Last enriched: 6/4/2026, 5:03:49 PM
Last updated: 6/4/2026, 6:38:17 PM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.