Medium · 6.3 Node.js & npm CVE-2026-111997 GHSA-rxp7-6hxx-x8q5
ip-address npm package: ReDoS vulnerability allows denial of service via crafted zone identifiers (CVE-2026-111997)
A denial-of-service vulnerability in the ip-address npm package allows attackers to stall an application by sending a crafted string with many '%' characters to the Address6 constructor. The issue is fixed in version 10.7.4.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been identified in the ip-address npm package that can be exploited to cause a denial of service through excessive CPU consumption. The issue stems from inefficient regular expression processing when matching IPv6 zone identifiers. A fix is available in a newer package release.
What happened
A vulnerability tracked as CVE-2026-111997 (GHSA-rxp7-6hxx-x8q5) was published affecting the ip-address npm package. The flaw allows a denial of service through excessive CPU consumption, triggered when the Address6 constructor processes an input string containing many '%' characters before the length limit is reached. This can cause the application to stall.
Technical cause
The vulnerability is classified under CWE-1333 (Inefficient Regular Expression Complexity). The Address6 component matches zone identifiers using a pattern that exhibits quadratic time complexity relative to input length. By submitting a long string with repeated '%' characters, an attacker can force the matching process to consume disproportionate CPU time before any length restriction takes effect.
Why it matters
Any application that passes untrusted input to the Address6 constructor in the ip-address package is exposed to a resource-exhaustion attack. Because the vulnerability can be triggered without authentication and without user interaction, an attacker only needs the ability to supply input that reaches this code path to degrade or stall application performance.
Who is affected
Any project depending on the ip-address npm package in versions up to and including 10.7.3 that passes external or untrusted input into the Address6 constructor is affected.
Affected versions
Versions of ip-address from version 0 through 10.7.3 are affected. The issue is fixed in version 10.7.4.
Fixes and mitigation
A fix is available in ip-address version 10.7.4. Project maintainers should update their dependency to this version or later to remediate the issue.
Recommended action
Check whether your project depends on the ip-address npm package, directly or transitively, and verify the installed version. If the version is 10.7.3 or earlier, update to 10.7.4 or later as soon as practical, particularly if the package processes input originating from untrusted sources.
PatchBriefing score
6.3 / 10 · Medium
Official CVSS: 6.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
EPSS 0.0043 (29 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- ip-address <= 10.7.3
- vulnerable
- ip-address ≥ 0 < 10.7.4
- vulnerable
- ≥ 10.7.4
- patched
Reported fixes
A fix is available in ip-address version 10.7.4. Project maintainers should update their dependency to this version or later to remediate the issue.
How this was built
3 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
GitHub Advisory Database database
-
OSV.dev database
Revision history
- Published
- Generated