npm
CVE-2026-101911
ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process
- Severity
- Medium
- Published
- 29 Sept 2026
- Last changed
- 30 Sept 2026
- Added to UpHeron
- 22 Oct 2026
- Fixed in
- 10.7.1
- Exploit chance
- 0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 19 Nov 2026
- Also known as
- GHSA-h3mg-xc3c-68pw
- Sources
- OSV.dev and GitHub
Description
new Address6() and Address6.isValid() place no bound on the length of the string they parse. When the string contains a character that cannot appear in an IPv6 address, the parser builds a diagnostic that wraps every such character in a 34-byte , so the work and the memory scale with the input rather than with an address. A 1 MiB string of ! costs about 110 MB and 70 ms of synchronous work, 8 MiB costs about 800 MB and half a second, 16 MiB throws a RangeError in place of the documented AddressError, and 32 MiB aborts the Node process. isValid()` builds the diagnostic and discards it, so a caller that only asks whether a string is valid pays the full price.
An application that validates an attacker-supplied string with these methods can be stalled or crashed by a single oversized request. This is a crash on input that should have been rejected cleanly, which SECURITY.md lists as in scope.
Affected software
| Software | Affected versions |
|---|---|
ip-addressnpm · osv:npm:ip-address |
|
About ip-address
- Weekly downloads (npm)
- 138,360,349npm, 17 Nov 2026
Vulnerabilities in ip-address
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-101912ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its rangeMedium 29 Sept 2026
- CVE-2026-101913ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hostsMedium 28 Sept 2026
- CVE-2026-69192ip-address: Address4 decodes leading-zero octets as decimal while resolvers decode them as octal, allowing SSRF and trust-boundary bypassHigh 3 Aug 2026
- CVE-2026-42338ip-address has XSS in Address6 HTML-emitting methodsMedium 5 May 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-101911
- GitHub Advisory Database https://github.com/advisories/GHSA-h3mg-xc3c-68pw