CVE-2026-125275
HIGH 8.2CVSS 4.0A device certificate whose CA isn't registered can keep a TLS handshake running forever
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.
- Published
- 17 Nov 2026
- Last modified
- 23 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Deferred
- Weakness
- CWE-835
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.2 | 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 |
| CVE List | EEF | CVSS 4.0 | HIGH 8.2 | 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 |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://ghcr.io | nerves-hubcpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* |
>= 1.0.0, < 2.5.4 | 2.5.4 |
| CVE List | nerves-hub | nerves_hubcpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* |
>= 1.0.0, < 2.5.4 | 2.5.4 |
| CVE List | https://github.com | nerves-hub/nerves_hub_webcpe:2.3:a:nerves-hub:nerves_hub_web:*:*:*:*:*:*:*:* |
>= a49fb8875f3aab40062881028ef4e406d985aaa9, < 064e78cc189dd9b87748746f44179632a52ddf58 | 064e78cc189dd9b87748746f44179632a52ddf58 |
References
- https://cna.erlef.org/cves/CVE-2026-125275.html · related
- https://github.com/nerves-hub/nerves_hub_web/commit/064e78cc189dd9b87748746f44179632a52ddf58 · patch
- https://github.com/nerves-hub/nerves_hub_web/commit/a49fb8875f3aab40062881028ef4e406d985aaa9 · related
- https://github.com/nerves-hub/nerves_hub_web/security/advisories/GHSA-8j48-4mg5-7v6v · vendor-advisory, related
- https://osv.dev/vulnerability/EEF-CVE-2026-125275 · related
History
- 25 Nov 2026 20:10 UTC · CVE List: first stored (published 17 Nov 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 17 Nov 2026)