PoC Monitor
← All CVEs
CVE-2026-125275published 17 Nov 2026 02:54 UTCData: JSON · API

Nerves-hub nerves_hub_web

A 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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-835
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

nerves-hub nerves_hub_web
  • >= 1.0.0, < 2.5.4

Fixed in 2.5.4

nerves-hub nerves_hub_web
  • >= 1.0.0, < 2.5.4

Fixed in 2.5.4

nerves-hub nerves_hub_web
  • >= a49fb8875f3aab40062881028ef4e406d985aaa9, < 064e78cc189dd9b87748746f44179632a52ddf58

Fixed in 064e78cc189dd9b87748746f44179632a52ddf58

Mitigation

Upgrade nerves_hub_web to 2.5.4 or later.

Upgrade nerves_hub_web to 2.5.4 or later.

Upgrade nerves_hub_web to 064e78cc189dd9b87748746f44179632a52ddf58 or later.

Workaround

Set DEVICE_SSL_CACERTFILE to a bundle that holds no public root and no root that signs device certificates, for example a file with one self-signed certificate made for this purpose. A certificate from an unregistered CA is then refused once and the handshake ends. Devices whose certificate or CA is registered in NervesHub continue to connect. Restarting a node ends the handshakes that are already stuck on it.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published17 Nov 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.