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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 15% of CVEs (2026-11-30)
- Published: 2026-06-04T16:07:01.276Z
- Modified: 2026-07-22T20:10:00.127Z
- Weaknesses: CWE-1289
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- Net-CIDR-Set: up to 0.20
- rrwo net::cidr::set: before 0.21

## References

- <https://metacpan.org/release/RRWO/Net-CIDR-Set-0.21/changes> (release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-40911> (related, third-party-advisory, us-government-resource)

## Sources

- CVE List: [CVE-2026-49940](https://www.cve.org/CVERecord?id=CVE-2026-49940), CVE Terms of Use, modified 2026-06-04
- NVD: [CVE-2026-49940](https://nvd.nist.gov/vuln/detail/CVE-2026-49940), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-49940 · Whole record: https://cve.day/CVE-2026-49940.json · Rebuilt by cve.day 2026-11-25T22:59:23.715Z
