Vulnerability in libnet-cidr-set-perl
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as DEBIAN-CVE-2026-19566 has been found in libnet-cidr-set-perl.
Risk of unauthorized operations or information disclosure.
What to do: upgrade libnet-cidr-set-perl to 0.23-1 or later.
If unsure, ask your IT team or search "libnet-cidr-set-perl DEBIAN-CVE-2026-19566" on the vendor's site.
DEBIAN-CVE-2026-19566 (libnet-cidr-set-perl)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 0.23-1 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in libnet-cidr-set-perl.
Check the vendor advisory for the affected versions of libnet-cidr-set-perl.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 0.23-1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'libnet-cidr-set-perl' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'libnet-cidr-set-perl' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
libnet-cidr-set-perlを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade libnet-cidr-set-perl to 0.23-1ステージング環境で 0.23-1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12libnet-cidr-set-perl |
All versions→ Not listed |
Not listed |
| Debian:13libnet-cidr-set-perl |
All versions→ Not listed |
Not listed |
| Debian:14libnet-cidr-set-perl |
< 0.23-1→ 0.23-1 |
0.23-1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org