A device certificate whose CA isn't registered can keep a TLS handshake running forever
CVE-2026-125275Published 17 Nov 2026, 02:54 UTC
Real-world risk
1.7/ 10Low
Routine
If the vulnerable configuration applies to you: 3.8
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.2
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from EEF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| nerves_hub_webNiche | >= 1.0.0, < 2.5.4 | 2.5.4 |
What to do
Update to a fixed version: 2.5.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T3: Public proof of concept (× 0.95)
A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit
- Reference tagged as exploit (link)
- CISA SSVC: proof of concept
EPSS 0.5% chance of exploitation in 30 days (percentile 42), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T3: Public proof of concept0.950
- 10 × impact 0.4 × prerequisites 0.45 × threat 0.951.710
- Rounded to one decimal between 0.1 and 101.7
Exploitation and evidence timeline
- 17 Nov 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 1.7 (cvss fallback)
Weakness
CWE-835
References
- https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-8j48-4mg5-7v6vexploit, related, vendor-advisory
- https://cna.erlef.org/cves/CVE-2026-125275.htmlrelated
- https://osv.dev/vulnerability/EEF-CVE-2026-125275related
- https://github.com/nerves-hub/nerves_hub_web/commit/a49fb8875f3aab40062881028ef4e406d985aaa9related
- https://github.com/nerves-hub/nerves_hub_web/commit/064e78cc189dd9b87748746f44179632a52ddf58patch
- CVE-2026-125275 on CVE.org