PatchSiren cyber security CVE debrief
CVE-2026-19566 RRWO CVE debrief
The Net::CIDR::Set module for Perl, versions before 0.23, is vulnerable to memory exhaustion and malformed set ranges via unbounded IPv6 prefix lengths. This vulnerability can be exploited by passing untrusted input to the contains() or add() methods, potentially leading to process memory exhaustion. The vulnerability affects developers and administrators using Net::CIDR::Set in Perl applications, especially those handling IPv6 addresses. To mitigate this vulnerability, it is essential to update Net::CIDR::Set to version 0.23 or later, validate and limit IPv6 prefix lengths in user input, implement memory-safe handling of large prefix lengths, and monitor for unusual memory usage patterns.
- Vendor
- RRWO
- Product
- Net::CIDR::Set
- CVSS
- HIGH 7.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-08-12
- Original CVE updated
- 2026-08-26
- Advisory published
- 2026-08-12
- Advisory updated
- 2026-08-26
Who should care
Developers and administrators using Net::CIDR::Set in Perl applications, especially those handling IPv6 addresses, should be aware of this vulnerability and take steps to mitigate it. They should review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance, plan vendor-supported updates or mitigations through normal change control where exposure is confirmed, and review compensating controls for exposed systems while remediation is scheduled and verified.
Technical summary
The Net::CIDR::Set module for Perl allows memory exhaustion and malformed set ranges via unbounded IPv6 prefix lengths. The _encode method accepts prefix lengths up to 128, which can lead to large memory allocations. The _inc() method unpacks the packed mask into a Perl array, further increasing memory usage. Any caller that passes untrusted input to contains() or add() can exhaust process memory. The vulnerability can be mitigated by updating Net::CIDR::Set to version 0.23 or later, validating and limiting IPv6 prefix lengths in user input, and implementing memory-safe handling of large prefix lengths.
Defensive priority
High-priority defensive actions are required to address the memory exhaustion vulnerability in Net::CIDR::Set versions before 0.23 for Perl.
Recommended defensive actions
- Update Net::CIDR::Set to version 0.23 or later
- Validate and limit IPv6 prefix lengths in user input
- Implement memory-safe handling of large prefix lengths
- Monitor for unusual memory usage patterns
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE description indicates that Net::CIDR::Set versions before 0.23 for Perl allow memory exhaustion and malformed set ranges via unbounded IPv6 prefix lengths. The _encode method accepts any prefix length matching `(0|[1-9][0-9]*)` and passes it to _width2bits(), which builds the mask as `'1' x ($width + 8)`, one character per bit. The _inc() method then unpacks the packed mask into a Perl array of one scalar per byte, so the prefix length alone sets the allocation size.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-19566 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-19566
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-19566 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-19566
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/robrwo/perl-Net-CIDR-Set/commit/e16b27db676fd1ca671fbb31208a22c1b1ba9724.patch
9b29abf9-4ab0-4765-b253-1875cd9b441e
-
Source reference
Unverified legacy reference
URL: https://github.com/robrwo/perl-Net-CIDR-Set/security/advisories/GHSA-grjr-r4x5-mx4p
9b29abf9-4ab0-4765-b253-1875cd9b441e
-
Source reference
Unverified legacy reference
URL: https://metacpan.org/release/RRWO/Net-CIDR-Set-0.23/changes
9b29abf9-4ab0-4765-b253-1875cd9b441e
-
Source reference
Unverified legacy reference
URL: https://www.cve.org/CVERecord?id=CVE-2026-49942
9b29abf9-4ab0-4765-b253-1875cd9b441e
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.