Skip to content
This page tracks the Debian fix status. The vulnerability itself is described on the main CVE page. View CVE-2026-40198 →
Unrated

Vulnerability in libnet-cidr-lite-perl

DEBIAN-CVE-2026-40198 First seen on SecPulse

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-40198 has been found in libnet-cidr-lite-perl.
Data can be tampered with by attackers.
What to do: upgrade libnet-cidr-lite-perl to 0.22-3~deb12u1 or later.
If unsure, ask your IT team or search "libnet-cidr-lite-perl DEBIAN-CVE-2026-40198" on the vendor's site.

DEBIAN-CVE-2026-40198 (libnet-cidr-lite-perl)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 0.22-3~deb12u1 — 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.

What is the problem

A vulnerability (unclassified) exists in libnet-cidr-lite-perl.

Affected scope

Check the vendor advisory for the affected versions of libnet-cidr-lite-perl.

Severity

Severity: ?. Data can be tampered with by attackers.

How to fix

Update to 0.22-3~deb12u1.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'libnet-cidr-lite-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. 1
    Identify exposureidentify
    grep -r 'libnet-cidr-lite-perl' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で libnet-cidr-lite-perl を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade libnet-cidr-lite-perl to 0.22-3~deb12u1

    ステージング環境で 0.22-3~deb12u1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Debian:11libnet-cidr-lite-perl
All versions→ Not listed
Debian:12libnet-cidr-lite-perl
< 0.22-3~deb12u1→ 0.22-3~deb12u1
Debian:13libnet-cidr-lite-perl
< 0.22-3~deb13u1→ 0.22-3~deb13u1
Debian:14libnet-cidr-lite-perl
< 0.22-3→ 0.22-3
Original description The description as published by the source.

Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass. _pack_ipv6() does not check that uncompressed IPv6 addresses (without ::) have exactly 8 hex groups. Inputs like "abcd", "1:2:3", or "1:2:3:4:5:6:7" are accepted and produce packed values of wrong length (3, 7, or 15 bytes instead of 17). The packed values are used internally for mask and comparison operations. find() and bin_find() use Perl string comparison (lt/gt) on these values, and comparing strings of different lengths gives wrong results. This can cause find() to incorrectly report an address as inside or outside a range. Example: my $cidr = Net::CIDR::Lite->new("::/8"); $cidr->find("1:2:3"); # invalid input, incorrectly returns true This is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module. See also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details