{
  "cveId": "CVE-2026-40199",
  "url": "https://patchblox.com/security/cve/CVE-2026-40199",
  "summary": "CVE-2026-40199 is fixed in 2 products on 1 platform, first by libnet-cidr-lite-perl 0.21-1ubuntu0.18.04.1~esm1, released April 10, 2026. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "libnet-cidr-lite-perl: 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.  _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(\u0022::ffff:192.168.1.0/120\u0022);   $cidr-\u003Efind(\u0022::ffff:192.168.2.0\u0022);  # 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.",
  "published": "2026-04-10T15:16:00Z",
  "severity": "medium",
  "cvss": 6.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
  "epss": 0.00313,
  "epssPercentile": 0.24313,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "0.22-3~deb12u1",
      "fix": "DEBIAN-CVE-2026-40199",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-40199",
      "released": "2026-04-10T22:16:21Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "0.22-3~deb13u1",
      "fix": "DEBIAN-CVE-2026-40199",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-40199",
      "released": "2026-04-10T22:16:21Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Debian 14",
      "fixedVersion": "0.22-3",
      "fix": "DEBIAN-CVE-2026-40199",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2026-40199",
      "released": "2026-04-10T22:16:21Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.21-1ubuntu0.18.04.1~esm1",
      "fix": "libnet-cidr-lite-perl 0.21-1ubuntu0.18.04.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libnet-cidr-lite-perl-0.21-1ubuntu0.18.04.1-esm1",
      "released": "2026-04-10T15:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.21-2ubuntu0.1\u002Besm1",
      "fix": "libnet-cidr-lite-perl 0.21-2ubuntu0.1\u002Besm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libnet-cidr-lite-perl-0.21-2ubuntu0.1-esm1",
      "released": "2026-04-10T15:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "0.22-1ubuntu0.1",
      "fix": "libnet-cidr-lite-perl 0.22-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-libnet-cidr-lite-perl-0.22-1ubuntu0.1",
      "released": "2026-04-10T15:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "0.22-2ubuntu0.24.04.1",
      "fix": "libnet-cidr-lite-perl 0.22-2ubuntu0.24.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-libnet-cidr-lite-perl-0.22-2ubuntu0.24.04.1",
      "released": "2026-04-10T15:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Ubuntu 25.10 (questing)",
      "fixedVersion": "0.22-2ubuntu0.25.10.1",
      "fix": "libnet-cidr-lite-perl 0.22-2ubuntu0.25.10.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-questing-libnet-cidr-lite-perl-0.22-2ubuntu0.25.10.1",
      "released": "2026-04-10T15:16:00Z"
    },
    {
      "platform": "linux",
      "product": "libnet-cidr-lite-perl",
      "release": "Ubuntu 26.04.1 LTS (resolute)",
      "fixedVersion": "0.22-2ubuntu0.26.04.1",
      "fix": "libnet-cidr-lite-perl 0.22-2ubuntu0.26.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-resolute-libnet-cidr-lite-perl-0.22-2ubuntu0.26.04.1",
      "released": "2026-04-10T15:16:00Z"
    },
    {
      "platform": "linux",
      "product": "perl-Net-CIDR-Lite",
      "release": "amzn 2023",
      "fixedVersion": "0.22-8.amzn2023.0.1",
      "fix": "ALAS2023-2026-1624",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2026-1624",
      "released": "2026-04-27T09:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}