---
title: "CVE-2026-19566"
canonical_url: "https://pkgseek.com/security/CVE-2026-19566"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2026-19566

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() build…

CVE-2026-19566 严重级别为 HIGH (7.5)，共索引 1 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.5)
- **受影响构建数**: 1
- **涉及发行版**: 1
- **已标明修复版本发行版**: 暂无已标明修复记录

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | libnet-cidr-set-perl | 0.15-1+deb13u1 | — |
