CVE-2026-19566
HIGHDescription
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: `::/100000000` builds a 100 MB string and a 12.5 million element array. The value being tested is parsed, not just the configured ranges: contains() builds a set from its argument, and _guess_coder() tries the IPv4 coder and then the IPv6 coder, so an IPv4-only set expands an oversized IPv6 prefix length before the mixed address width check rejects it. Any caller that passes untrusted input to contains() or add() can exhaust process memory. A prefix length above 128 is also stored as a range that does not match the requested block: 2001:db8::/129 stringifies back unchanged, contains() of its own base address returns false, and removing it from a set drops the base address while the set still prints as covering it.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 28% of all known CVEs.
References
Related Vulnerabilities
Other CWE-789 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-30522 | High | 7.5 | 90% | - | Fix |
| CVE-2026-49975 | High | 7.5 | 28% | - | Fix |
| CVE-2025-27533 | High | 7.5 | 8.6% | - | Fix |
| CVE-2017-7651 | High | 7.5 | 5.0% | - | Fix |
| CVE-2021-31811 | Medium | 5.5 | 3.4% | - | - |
| CVE-2021-27906 | Medium | 5.5 | 3.3% | - | Fix |
Common questions
How do I fix CVE-2026-19566?
Upgrade libnet-cidr-set-perl on debian unstable to 0.23-1 or later.
Is CVE-2026-19566 being actively exploited?
Not that we know of. CVE-2026-19566 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.35% is the estimated probability that it will be exploited in the next 30 days. That is higher than 28% of all scored CVEs.
How severe is CVE-2026-19566?
CVE-2026-19566 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2026-19566 affect?
Published advisories record a fix for libnet-cidr-set-perl (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2026-19566
Markdown
[](https://tridentstack.com/cve/CVE-2026-19566)HTML
<a href="https://tridentstack.com/cve/CVE-2026-19566"><img src="https://tridentstack.com/cve/badge/CVE-2026-19566.svg" alt="CVE-2026-19566"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-08-12.