p PatchFirst

CVE-2026-125275

CVE-2026-125275 · A device certificate whose CA isn't registered can keep a TLS handshake running forever

CVSS 8.2 · High · EPSS 0.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Affected products and versions

  • nerves_hub_web

    Versions
    • ≥ 1.0.0, < 2.5.4: Affected (other)

    Update to 2.5.4

  • nerves_hub_web

    Versions
    • ≥ 1.0.0, < 2.5.4: Affected (semver)

    Update to 2.5.4

  • nerves_hub_web

    Versions
    • ≥ a49fb8875f3aab40062881028ef4e406d985aaa9, < 064e78cc189dd9b87748746f44179632a52ddf58: Affected (git)

    No fix published

Original sources

Check your server →