{"id":"CVE-2026-40198","aliases":["ALPINE-CVE-2026-40198","AZL-82739","DEBIAN-CVE-2026-40198","EUVD-2026-21609","GHSA-c25q-mqx5-m6v8","MGASA-2026-0115","SUSE-SU-2026:2113-1","UBUNTU-CVE-2026-40198","USN-8406-1","openSUSE-SU-2026:10780-1"],"status":"published","title":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00315,"percentile":0.24578,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1286"],"published":"2026-04-10T21:42:06Z","modified":"2026-11-05T05:36:30Z","fixes":[{"ecosystem":"Alpine:v3.21","package":"perl-net-cidr-lite","fixed_in":["0.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"perl-net-cidr-lite","fixed_in":["0.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"perl-net-cidr-lite","fixed_in":["0.23-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"perl-net-cidr-lite","fixed_in":["0.23-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"libnet-cidr-lite-perl","fixed_in":["0.22-3~deb12u1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libnet-cidr-lite-perl","fixed_in":["0.22-3~deb13u1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libnet-cidr-lite-perl","fixed_in":["0.22-3"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libnet-cidr-lite-perl","fixed_in":["0.21-1ubuntu0.16.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libnet-cidr-lite-perl","fixed_in":["0.21-1ubuntu0.18.04.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libnet-cidr-lite-perl","fixed_in":["0.21-2ubuntu0.1+esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:22.04:LTS","package":"libnet-cidr-lite-perl","fixed_in":["0.22-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"libnet-cidr-lite-perl","fixed_in":["0.22-2ubuntu0.24.04.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:25.10","package":"libnet-cidr-lite-perl","fixed_in":["0.22-2ubuntu0.25.10.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:26.04:LTS","package":"libnet-cidr-lite-perl","fixed_in":["0.22-2ubuntu0.26.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.21","package":"perl-net-cidr-lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"perl-net-cidr-lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"perl-net-cidr-lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"perl-net-cidr-lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23-r0"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"perl-Net-CIDR-Lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.22-2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-3~deb12u1"}]}],"versions":["0.22-2"]},{"source":"osv","ecosystem":"Debian:13","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-3~deb13u1"}]}],"versions":["0.22-2","0.22-3~deb12u1","0.22-3~deb12u2"]},{"source":"osv","ecosystem":"Debian:14","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-3"}]}],"versions":["0.22-2","0.22-3~deb12u1","0.22-3~deb12u2","0.22-3~deb13u1","0.22-3~deb13u2"]},{"source":"osv","ecosystem":"Mageia:9","package":"perl-Net-CIDR-Lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.230.0-1.mga9"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1ubuntu0.16.04.1~esm1"}]}],"versions":["0.21-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1ubuntu0.18.04.1~esm1"}]}],"versions":["0.21-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-2ubuntu0.1+esm1"}]}],"versions":["0.21-2","0.21-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-1ubuntu0.1"}]}],"versions":["0.22-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.24.04.1"}]}],"versions":["0.22-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.25.10.1"}]}],"versions":["0.22-2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.26.04.1"}]}],"versions":["0.22-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1ubuntu0.16.04.1~esm1"}]}],"versions":["0.21-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-1ubuntu0.18.04.1~esm1"}]}],"versions":["0.21-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.21-2ubuntu0.1+esm1"}]}],"versions":["0.21-2","0.21-2ubuntu0.1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-1ubuntu0.1"}]}],"versions":["0.22-1"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.24.04.1"}]}],"versions":["0.22-2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.25.10.1"}]}],"versions":["0.22-2"],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libnet-cidr-lite-perl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.22-2ubuntu0.26.04.1"}]}],"versions":["0.22-2"],"bundled":3},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"perl-Net-CIDR-Lite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.240.0-1.1"}]}],"bundled":4}],"products":[{"vendor":"stigtsp","product":"net::cidr::lite"},{"vendor":"stigtsp","product":"net\\"}],"references":[{"url":"https://github.com/stigtsp/Net-CIDR-Lite/commit/25d65f85dbe4885959a10471725ec9d250a589c3.patch","tags":["patch","Patch","fix","report"]},{"url":"https://metacpan.org/release/STIGTSP/Net-CIDR-Lite-0.23/changes","tags":["release-notes","Release Notes","advisory","report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40199","tags":["related","Third Party Advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40198","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-c25q-mqx5-m6v8"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-40198","tags":["advisory"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40198.json","tags":["advisory"]},{"url":"https://github.com/stigtsp/Net-CIDR-Lite","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40198","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2026-0115.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=35348","tags":["report"]},{"url":"https://www.openwall.com/lists/oss-security/2026/04/11/1","tags":["web"]},{"url":"https://www.openwall.com/lists/oss-security/2026/04/11/2","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SKKSURTDDZIA5TCZ3QL5KFVFSKVVMRSQ/","tags":["web"]},{"url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262113-1/","tags":["advisory"]},{"url":"https://bugzilla.suse.com/1262088","tags":["report"]},{"url":"https://bugzilla.suse.com/1264709","tags":["report"]},{"url":"https://bugzilla.suse.com/1264710","tags":["report"]},{"url":"https://www.suse.com/security/cve/CVE-2026-40198","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-40199","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-45190","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-45191","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2026-40198","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40198","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/38785616/","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8406-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-47154","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-40199","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-40198","title":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","status":"published","published":"2026-04-10T21:42:06.835Z","modified":"2026-04-13T14:41:59.967Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-1286"],"updated_at":"2026-11-02T13:43:22.599321Z"}],"euvd":[{"id":"EUVD-2026-21609","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","status":"published","published":"2026-04-10T21:42:06Z","modified":"2026-04-13T14:41:59Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T19:24:27.958964Z"}],"ghsa":[{"id":"GHSA-c25q-mqx5-m6v8","title":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow...","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","status":"published","published":"2026-04-11T00:31:19Z","modified":"2026-04-13T15:31:37Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-1286"],"updated_at":"2026-11-02T15:07:26.169567Z"}],"nvd":[{"id":"CVE-2026-40198","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","status":"published","published":"2026-04-10T22:16:21.463Z","modified":"2026-10-26T21:10:00.17Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-1286"],"updated_at":"2026-11-02T14:12:14.37744Z"}],"osv":[{"id":"ALPINE-CVE-2026-40198","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","status":"published","published":"2026-04-10T22:16:21.463Z","modified":"2026-10-01T02:17:49.275253778Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:27:50.764331Z"},{"id":"CVE-2026-40198","title":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","status":"published","published":"2026-04-10T21:42:06.835Z","modified":"2026-10-28T02:30:54.427698464Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-1286"],"updated_at":"2026-11-02T15:45:03.424067Z"},{"id":"DEBIAN-CVE-2026-40198","description":"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-\u003enew(\"::/8\");   $cidr-\u003efind(\"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.","status":"published","published":"2026-04-10T22:16:21.463Z","modified":"2026-10-27T09:47:34.938455894Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:45:54.892385Z"},{"id":"UBUNTU-CVE-2026-40198","description":"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-\u003enew(\"::/8\");   $cidr-\u003efind(\"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.","status":"published","published":"2026-04-10T22:16:00Z","modified":"2026-06-08T23:00:08.242030778Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T16:56:16.686388Z"},{"id":"AZL-82739","title":"CVE-2026-40198 affecting package perl-Net-CIDR-Lite 0.22-2","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6 group count, which may allow IP ACL bypass.\n\n_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).\n\nThe 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.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::/8\");\n  $cidr-\u003efind(\"1:2:3\");  # invalid input, incorrectly returns true\n\nThis is the same class of input validation issue as CVE-2021-47154 (IPv4 leading zeros) previously fixed in this module.\n\nSee also CVE-2026-40199, a related issue in the same function affecting IPv4 mapped IPv6 addresses.","status":"published","published":"2026-04-10T22:16:21Z","modified":"2026-11-05T05:36:30Z","updated_at":"2026-11-05T16:41:24.988217Z"},{"id":"MGASA-2026-0115","title":"Updated perl-Net-CIDR-Lite packages fix security vulnerabilities","description":"Net::CIDR::Lite versions before 0.23 for Perl does not validate IPv6\ngroup count, which may allow IP ACL bypass. (CVE-2026-40198)\nNet::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped\nIPv6 addresses, which may allow IP ACL bypass. (CVE-2026-40199)\n","status":"published","published":"2026-05-07T05:06:13Z","modified":"2026-05-07T05:15:42.2751Z","updated_at":"2026-11-02T15:49:43.178336Z"},{"id":"openSUSE-SU-2026:10780-1","title":"perl-Net-CIDR-Lite-0.240.0-1.1 on GA media","description":"These are all security issues fixed in the perl-Net-CIDR-Lite-0.240.0-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-05-14T00:00:00Z","modified":"2026-05-15T09:00:23.872855Z","updated_at":"2026-11-02T16:58:38.415593Z"},{"id":"SUSE-SU-2026:2113-1","title":"Security update for perl-Net-CIDR-Lite","description":"This update for perl-Net-CIDR-Lite fixes the following issues\n\n- CVE-2026-45190: improper validation of trailing newlines or non-ASCII digits can lead to IP ACL bypass (bsc#1264710).\n- CVE-2026-45191: extraneous leading zeros in CIDR mask values can lead to IP ACL bypass (bsc#1264709).\n- CVE-2026-40198: missing validation for the IPv6 group count can lead to IP ACL bypass (bsc#1262088).\n- CVE-2026-40199: mishandled IPv4 mapped IPv6 addresses can lead to IP ACL bypass (bsc#1262088).\n","status":"published","published":"2026-05-29T15:24:46Z","modified":"2026-05-30T23:15:05.036497811Z","updated_at":"2026-11-02T15:54:02.312556Z"},{"id":"USN-8406-1","title":"libnet-cidr-lite-perl vulnerabilities","description":"Dave Rolsky discovered that Net::CIDR::Lite did not properly handle\nextraneous zero characters at the beginning of an IP address string. A\nremote attacker could possibly use this issue to bypass access controls\nthat are based on IP addresses. This issue only affected Ubuntu 16.04 LTS\nand Ubuntu 18.04 LTS. (CVE-2021-47154)\n\nIt was discovered that Net::CIDR::Lite did not properly validate the IPv6\ngroup count when handling uncompressed IPv6 addresses. A remote attacker\ncould possibly use this issue to bypass access controls. (CVE-2026-40198)\n\nIt was discovered that Net::CIDR::Lite mishandled IPv4 mapped IPv6\naddresses. A remote attacker could possibly use this issue to bypass access\ncontrols that are based on IP addresses. (CVE-2026-40199)","status":"published","published":"2026-06-08T16:06:45Z","modified":"2026-06-08T23:14:21.920330254Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
