CVE-2026-125275nerves-hub Nerves Hub Web infinite loop
CVSS score
8.2
High
CVSS 4.0 from 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit probability (EPSS)
0.43%
0.43% chance of exploitation in the next 30 days, higher than 38.0% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in device certificate verification in nerves-hub nerves_hub_web allows an unauthenticated remote attacker to cause a denial of service via a TLS client certificate whose CA is not registered. When a client certificate chains to a root in the device endpoint's trust store but no CA in the chain is registered in NervesHub, NervesHub.SSL.decide/2 refuses it with the reason :unknown_ca. Erlang/OTP ssl reads that reason as a missing trust anchor, looks for an alternative root, finds the same root and validates again without end. The handshake process queries the database on each pass and keeps running after the client disconnects, until the node restarts.
The device endpoint trusts the public roots from CAStore unless DEVICE_SSL_CACERTFILE is set, so a client certificate from a public CA whose chain allows client authentication is sufficient. A chain that ends at a root outside the trust store is refused once.
This issue affects nerves_hub: from 1.0.0 before 2.5.4.
Source: NVD · CNA: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
How to fix it, step by step
Check whether you're affected
Find every system running nerves-hub Nerves Hub Web and compare its version with the affected versions.
Update to a fixed version
- Update Nerves Hub Web to 2.5.4 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Affected products
| Affected products | Versions |
|---|---|
| nerves-hub Nerves Hub Web | ≥ 1.0.0, < 2.5.4 · ≥ a49fb8875f3aab40062881028ef4e406d985aaa9, < 064e78cc189dd9b87748746f44179632a52ddf58 |
Weakness
- CWE-835 infinite loop
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-125275 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-125275?
CVE-2026-125275 has a CVSS 4.0 base score of 8.2 (high).
Which versions are affected?
Nerves Hub Nerves Hub Web (≥ 1.0.0, < 2.5.4; ≥ a49fb8875f3aab40062881028ef4e406d985aaa9, < 064e78cc189dd9b87748746f44179632a52ddf58)
Is there a patch for CVE-2026-125275?
The official record links to vendor advisories or patches; see “What to do” above.
References
- cna.erlef.org/cves/CVE-2026-125275.html
- github.com/nerves-hub/nerves_hub_web/commit/064e78cc189dd9b87748746f44179632a52ddf58
- github.com/nerves-hub/nerves_hub_web/commit/a49fb8875f3aab40062881028ef4e406d985aaa9
- github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-8j48-4mg5-7v6v
- osv.dev/vulnerability/EEF-CVE-2026-125275
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.