CVE-2026-101912: CWE-697: Incorrect Comparison in beaugunderson ip-address
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.
AI Analysis
Technical Summary
CVE-2026-101912 describes an incorrect comparison vulnerability in the ip-address library for JavaScript, specifically in the isInSubnet and isHostInSubnet methods in src/common.ts. Before version 10.7.1, these methods compare masked binary strings representing IP addresses without validating that both operands are from the same IP family. Because IPv4 and IPv6 addresses do not share an address space, this cross-family comparison can erroneously return true if the leading bits match, causing allowlist or denylist decisions to misclassify addresses outside the intended subnet. The vulnerability is resolved in version 10.7.1.
Potential Impact
This vulnerability can lead to incorrect subnet containment decisions in applications using the affected ip-address library versions. As a result, security controls relying on these methods for allowlist or denylist enforcement may inadvertently permit or block IP addresses outside the intended ranges. This could weaken network access controls or filtering policies.
Mitigation Recommendations
Upgrade the ip-address library to version 10.7.1 or later, where this issue is fixed. No other mitigation is required as the vendor has provided an official fix.
CVE-2026-101912: CWE-697: Incorrect Comparison in beaugunderson ip-address
Description
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.
CVSS v4.0
Score 6.3medium
Affected software
beaugunderson
ip-address
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-101912 describes an incorrect comparison vulnerability in the ip-address library for JavaScript, specifically in the isInSubnet and isHostInSubnet methods in src/common.ts. Before version 10.7.1, these methods compare masked binary strings representing IP addresses without validating that both operands are from the same IP family. Because IPv4 and IPv6 addresses do not share an address space, this cross-family comparison can erroneously return true if the leading bits match, causing allowlist or denylist decisions to misclassify addresses outside the intended subnet. The vulnerability is resolved in version 10.7.1.
Potential Impact
This vulnerability can lead to incorrect subnet containment decisions in applications using the affected ip-address library versions. As a result, security controls relying on these methods for allowlist or denylist enforcement may inadvertently permit or block IP addresses outside the intended ranges. This could weaken network access controls or filtering policies.
Mitigation Recommendations
Upgrade the ip-address library to version 10.7.1 or later, where this issue is fixed. No other mitigation is required as the vendor has provided an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-28T15:55:37.907Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6abaabe3f7a7c54106053ebb
Added to database: 09/28/2026, 18:03:15 UTC
Last enriched: 09/28/2026, 18:17:55 UTC
Last updated: 09/29/2026, 02:47:49 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.