Skip to main content

CVE-2026-101912: CWE-697: Incorrect Comparison in beaugunderson ip-address

0
Medium
VulnerabilityCVE-2026-101912cvecve-2026-101912cwe-697cwe-843
Published: 09/28/2026 (09/28/2026, 17:48:06 UTC)
Source: CVE Database V5
Vendor/Project: beaugunderson
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

beaugunderson

ip-address

Affected versions
<10.7.1
ip-address
pkg:npm/ip-address
Affected versions
<10.7.1

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

AILast updated: 09/28/2026, 18:17:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses