Skip to content
Heist/ feed
Back to feed
Medium

Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks

Type: advisorySources: OSV

Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks. Unicode digits such as the Arabic-Indic One (U+0661) were accepted but not properly parsed as numbers. This could allow network masks to accept larger networks.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-49940
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 02:33 UTC · Revision 1

Source evidence

Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks

core-osv · Original source

Published 4 Jun 2026, 16:07 UTC

Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks. Unicode digits such as the Arabic-Indic One (U+0661) were accepted but not properly parsed as numbers. This could allow network masks to accept larger networks.

osv:CVE-2026-49940
Complete source record
{
  "id": "5a96f82014cf6690e742661f914c9786865067acb0ca35c5e9c22fb3ceae8685",
  "url": "https://osv.dev/vulnerability/CVE-2026-49940",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks",
    "summary": "Net::CIDR::Set versions through 0.20 for Perl accept non-ASCII IP addresses and netmasks. Unicode digits such as the Arabic-Indic One (U+0661) were accepted but not properly parsed as numbers. This could allow network masks to accept larger networks.",
    "evidence": "osv:CVE-2026-49940",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-49940",
      "aliases": [
        "CVE-2026-49940"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/robrwo/perl-net-cidr-set",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c61d2f359f6b3a04af11bb64ee4c6d8d1c04504d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.20"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:rrwo:net\\:\\:cidr\\:\\:set:*:*:*:*:*:perl:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.21"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.20",
            "0.19",
            "0.18",
            "0.17",
            "0.16",
            "v0.15",
            "v0.14",
            "v0.13"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49940.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.800579876Z",
      "provider": "osv",
      "references": [
        "https://cpan.org/modules",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49940.json",
        "https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-40911",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-49940",
        "https://github.com/robrwo/perl-Net-CIDR-Set"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1289"
        ],
        "cna_assigner": "CPANSec",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49940.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-49940",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521822,
  "published_at": "2026-06-04T16:07:01.276+00:00"
}