{"id":"CVE-2026-101912","published":"2026-09-28T17:48:06Z","modified":"2026-09-28T19:13:25Z","title":"ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address…","vendor":"beaugunderson","product":"ip-address","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36408,"provenance":"source"},"cwes":[{"id":"CWE-697","name":"Incorrect Comparison"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/beaugunderson/ip-address/security/advisories/GHSA-j6r3-76f7-8jcv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28","tags":["x_refsource_MISC"]},{"url":"https://github.com/beaugunderson/ip-address/releases/tag/v10.7.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"beaugunderson","affectedVersions":[{"vendor":"beaugunderson","product":"ip-address","versions":["< 10.7.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-28T19:13:19.402733Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ip-address","vulnerableRanges":["<10.7.1"],"patched":["10.7.1"],"from":["GHSA-j6r3-76f7-8jcv"],"provenance":"source"}],"summary":{"text":"The ip-address JavaScript library, which parses and manipulates IPv4 and IPv6 addresses, has a flaw in the isInSubnet() and isHostInSubnet() methods in src/common.ts that compares masked binary strings without checking that both addresses belong to the same IP family. An attacker who can supply an address over the network, with no authentication or user interaction required and only where an application uses these methods for allowlist or denylist decisions, can get an address outside the intended range classified as contained whenever the cross-family leading bits happen to match.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:22Z"},"euvd":{"id":"EUVD-2026-88396","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-beaugunderson-ip-address-cve-2026-69192","parents":[{"from":"CVE-2026-69192","to":"CVE-2026-101912","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ipv4.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28","https://github.com/beaugunderson/ip-address/commit/56368cb3d66c73ba0ee9b6b834fd31b22c2fd71e"],"basis":"shared function","functions":["Address4"]}]},{"from":"CVE-2026-69198","to":"CVE-2026-101912","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/common.ts","src/ipv4.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28","https://github.com/beaugunderson/ip-address/commit/488fe9bc7c35363b4b090494fc38c266d217740d"],"basis":"shared function","functions":["Address4"]}]},{"from":"CVE-2026-101911","to":"CVE-2026-101912","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/ipv4.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/469ead1231b4cc059f2150c626e1e0c2895c0134","https://github.com/beaugunderson/ip-address/commit/8b34a21e0839b37c094066816fb2c2c48a2adcf5","https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28"],"basis":"shared function","functions":["Address4"]}]}],"packageHistory":[{"cve":"CVE-2026-101910","published":"2026-09-28","fixed":"10.5.1","kev":false},{"cve":"CVE-2026-101913","published":"2026-09-28","fixed":"10.5.1","kev":false,"link":{"from":"CVE-2026-101913","to":"CVE-2026-101912","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:ip-address","fromFixed":"10.5.1","toFixed":"10.7.1","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/ipv6.ts"],"commits":["https://github.com/beaugunderson/ip-address/commit/1343629d57fea413644a5c9d41ff1e59619f3f28","https://github.com/beaugunderson/ip-address/commit/d03e960c7cc3179ef25c8a44b4f94dd499625546"],"basis":"shared file"}]}},{"cve":"CVE-2026-101911","published":"2026-09-28","fixed":"10.7.1","kev":false},{"cve":"CVE-2026-101912","published":"2026-09-28","fixed":"10.7.1","kev":false},{"cve":"CVE-2026-111997","published":"2026-10-18","fixed":"10.7.4","kev":false}],"package":"npm:ip-address"}}