CVE-2026-101912ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as…
ip-address is a library for parsing and manipulating IPv4 and IPv6 addresses in JavaScript. Prior to 10.7.1, the isInSubnet and isHostInSubnet methods in src/common.ts compare masked binary strings without validating that both operands use the same IP family. A cross-family containment check whose leading address bits match makes the masked strings compare equal even though IPv4 and IPv6 do not share an address space. An allowlist or denylist decision can therefore classify an address outside the intended range as contained. This issue is fixed in version 10.7.1.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | node-ip-address | Fix pending | UBUNTU-CVE-2026-101912 | |
| Ubuntu 26.04 | node-ip-address | Under investigation | UBUNTU-CVE-2026-101912 | |
| Ubuntu 24.04 | node-ip-address | Under investigation | UBUNTU-CVE-2026-101912 | |
| Ubuntu 22.04 | node-ip-address | Under investigation | UBUNTU-CVE-2026-101912 | |
| Ubuntu 20.04 | node-ip-address | Fix pending | UBUNTU-CVE-2026-101912 | |
| Debian 14 | node-ip-address | Fixed | 10.7.2-1 | DEBIAN-CVE-2026-101912 |
| Debian 13 | node-ip-address | Fix pending | DEBIAN-CVE-2026-101912 | |
| Debian 12 | node-ip-address | Fix pending | DEBIAN-CVE-2026-101912 | |
| npm library | ip-address | Fixed | 10.7.1 | GHSA-j6r3-76f7-8jcv |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- beaugunderson ip-address: affected: < 10.7.1
References
- https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv
- https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28
- https://github.com/beaugunderson/ip-address/releases/tag/v10.7.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.