CVE-2026-125275
published high CVSS 4.0 · 8.2A device certificate whose CA isn't registered can keep a TLS handshake running forever
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nerves-hub | — | nerves-hubnerves_hub_web · 1.0.0 to < 2.5.4 · Other versions: unaffected | Affected | Not stated | EEF |
| nerves-hub | — | nerves_hubnerves_hub_web · 1.0.0 to < 2.5.4 · Other versions: unaffected | Affected | Not stated | EEF |
| nerves-hub | — | nerves-hub/nerves_hub_webnerves_hub_web · a49fb8875f3aab40062881028ef4e406d985aaa9 to < 064e78cc189dd9b87748746f44179632a52ddf58 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nerves-hub | nerves_hub_web | 1.0.0 to < 2.5.4 (affected · other)Default: unaffected | EEF · cna |
| nerves-hub | nerves_hub_web | 1.0.0 to < 2.5.4 (affected · semver)Default: unaffected | EEF · cna |
| nerves-hub | nerves_hub_web | a49fb8875f3aab40062881028ef4e406d985aaa9 to < 064e78cc189dd9b87748746f44179632a52ddf58 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-835 CWE-835 Loop with Unreachable Exit Condition
References
5- EEF CNA record for CVE-2026-125275 https://cna.erlef.org/cves/CVE-2026-125275.html
- Fix commit 064e78c in nerves-hub/nerves_hub_web https://github.com/nerves-hub/nerves_hub_web/commit/064e78cc189dd9b87748746f44179632a52ddf58
- Introducing commit a49fb88 in nerves-hub/nerves_hub_web https://github.com/nerves-hub/nerves_hub_web/commit/a49fb8875f3aab40062881028ef4e406d985aaa9
- A device certificate whose CA isn't registered can keep a TLS handshake running forever https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-8j48-4mg5-7v6v
- OSV record EEF-CVE-2026-125275 https://osv.dev/vulnerability/EEF-CVE-2026-125275
Provider assertions
2EEF · cna
A device certificate whose CA isn't registered can keep a TLS handshake running forever
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 928bb200327c39cded9f1e79a4988198a39d60fc12ed7bff06421a4d247e35dd
- Ingested
- 19 Nov 2026, 07:11:36 UTC
- Source record
- Official CVE record