{"id":"CVE-2026-40199","aliases":["ALPINE-CVE-2026-40199","AZL-82742","DEBIAN-CVE-2026-40199","EUVD-2026-21611","GHSA-932w-96j4-j35v","MGASA-2026-0115","SUSE-SU-2026:2113-1","UBUNTU-CVE-2026-40199","USN-8406-1","openSUSE-SU-2026:10780-1"],"status":"published","title":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00313,"percentile":0.24344,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-130"],"published":"2026-04-10T21:49:48Z","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/b7166b1fa17b3b14b4c795ace5b3fbf71a0bd04a.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-40198","tags":["related","Third Party Advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40199","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-932w-96j4-j35v"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-40199","tags":["advisory"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40199.json","tags":["advisory"]},{"url":"https://github.com/stigtsp/Net-CIDR-Lite","tags":["package"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40199","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-40199","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40199","tags":["report"]},{"url":"https://lists.security.metacpan.org/cve-announce/msg/38785618/","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-40198","tags":["report"]},{"url":"","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-40199","title":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-10T21:49:48.353Z","modified":"2026-04-13T14:37:18.227Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T13:43:11.445168Z"}],"euvd":[{"id":"EUVD-2026-21611","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-10T21:49:48Z","modified":"2026-04-13T14:37:18Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:27.958964Z"}],"ghsa":[{"id":"GHSA-932w-96j4-j35v","title":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may...","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-11T00:31:19Z","modified":"2026-04-13T15:31:37Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T15:07:26.169567Z"}],"nvd":[{"id":"CVE-2026-40199","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-10T22:16:21.597Z","modified":"2026-10-26T22:10:00.163Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T14:12:14.37744Z"}],"osv":[{"id":"ALPINE-CVE-2026-40199","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-10T22:16:21.597Z","modified":"2026-10-01T02:17:49.275465806Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:27:50.764331Z"},{"id":"CVE-2026-40199","title":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-10T21:49:48.353Z","modified":"2026-10-28T02:30:28.291897868Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-130"],"updated_at":"2026-11-02T15:45:03.424067Z"},{"id":"DEBIAN-CVE-2026-40199","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.  _pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.  The wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.  Example:    my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");   $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true  This is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).  See also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-10T22:16:21.597Z","modified":"2026-10-27T09:47:33.781945962Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:54.892385Z"},{"id":"UBUNTU-CVE-2026-40199","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass. _pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address. The wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses. Example:   my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");   $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true This is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x). See also CVE-2026-40198, a related issue in the same function affecting malformed IPv6 addresses.","status":"published","published":"2026-04-10T22:16:00Z","modified":"2026-06-08T23:00:08.279951208Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:56:16.686388Z"},{"id":"AZL-82742","title":"CVE-2026-40199 affecting package perl-Net-CIDR-Lite 0.22-2","description":"Net::CIDR::Lite versions before 0.23 for Perl mishandles IPv4 mapped IPv6 addresses, which may allow IP ACL bypass.\n\n_pack_ipv6() includes the sentinel byte from _pack_ipv4() when building the packed representation of IPv4 mapped addresses like ::ffff:192.168.1.1. This produces an 18 byte value instead of 17 bytes, misaligning the IPv4 part of the address.\n\nThe wrong length causes incorrect results in mask operations (bitwise AND truncates to the shorter operand) and in find() / bin_find() which use Perl string comparison (lt/gt). This can cause find() to incorrectly match or miss addresses.\n\nExample:\n\n  my $cidr = Net::CIDR::Lite-\u003enew(\"::ffff:192.168.1.0/120\");\n  $cidr-\u003efind(\"::ffff:192.168.2.0\");  # incorrectly returns true\n\nThis is triggered by valid RFC 4291 IPv4 mapped addresses (::ffff:x.x.x.x).\n\nSee also CVE-2026-40198, a related issue in the same function affecting malformed 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"}]}}
