{
  "url": "https://tldrcve.com/erlang-tls-client/",
  "json": "https://tldrcve.com/erlang-tls-client.json",
  "verdict_label": "Patch now if…",
  "scare_label": "Check today",
  "slug": "erlang-tls-client",
  "name": "Erlang TLS client",
  "aliases": [
    "erlang",
    "erlang/otp",
    "otp",
    "elixir",
    "erlang ssl",
    "tls 1.2",
    "man-in-the-middle",
    "cve-2026-116225",
    "cve-2026-116293",
    "cve-2026-116382",
    "cve-2026-89422",
    "cve-2026-94200"
  ],
  "cves": [
    "CVE-2026-124286"
  ],
  "ghsa": [
    "GHSA-7mff-v332-665j"
  ],
  "product": "Erlang/OTP",
  "disclosed": "2026-11-24",
  "updated": "2026-11-30",
  "verdict": "if",
  "tile_line": "Fakes any TLS server, but needs an on-path attacker.",
  "tldr": "Erlang/OTP's TLS client, used by Erlang and Elixir apps, accepts a server with no certificate when TLS 1.2 is allowed (the default), so an attacker on the network path can pose as any server. Repro steps are public; no attacks seen. Update Erlang/OTP.",
  "summary": "A fake server skips its certificate and sends an unsigned key exchange, so the certificate check, `verify_fun` and the hostname check never run, even with `verify_peer` set, and the attacker can then read and change the traffic; the CVE record gives reproduction steps, and BoringSSL's public test suite already has a server that behaves this way. Phillip Calvin reported it (Erlang's advisory spells it Philip), Erlang rates it critical (CVSS 4.0: 9.1), and the OTP 27 and 29 fix shipped on 2 Jul as hardening for a different issue but, by accident, reached OTP 28 only on 24 Nov. Three of the nine other bugs Erlang fixed that day are rated high: CVE-2026-116225 in SNMP, CVE-2026-116293 in `binary_to_term` and CVE-2026-116382 in `inets`.",
  "status": {
    "exploit": "public",
    "attacks": "none",
    "kev": null,
    "no_login": true,
    "scare": 2.4
  },
  "status_cite": {
    "no_login": [
      1,
      2
    ],
    "exploit": [
      2,
      11
    ],
    "attacks": [
      1,
      2
    ],
    "kev": [
      9
    ]
  },
  "affected": [
    {
      "label": "Erlang/OTP without the fix",
      "text": "Affected: every OTP from 17.0 that's older than 27.3.4.14 on OTP 27, 28.5.0.9 on OTP 28 or 29.0.3 on OTP 29 (the `ssl` app before 11.2.12.10, 11.6.0.8 or 11.7.3). OTP 17 through 26 are affected and no longer get fixes. Distro packages count: as of 30 Nov, Debian 12 (OTP 25) and 13 (OTP 27.3.4.1) are marked vulnerable, and Ubuntu rates it Medium but lists every release as needs evaluation. The installed OTP version is in `releases/<OTP release>/OTP_VERSION` under the Erlang root (a `**` at the end means it was patched in place); the `ssl` version is what `application:get_key(ssl, vsn)` returns, or `Application.spec(:ssl, :vsn)` in Elixir. A release (for example one built with `mix release`) usually has no OTP_VERSION file, so check its `ssl` version.",
      "cite": [
        1,
        2,
        4,
        5,
        6,
        7,
        10,
        13,
        14
      ]
    },
    {
      "label": "Your client allows TLS/DTLS 1.2",
      "text": "Only TLS and DTLS clients are affected: code that connects to another server with Erlang's `ssl`, including from Elixir. A client is exposed when it allows TLS 1.2 or DTLS 1.2; the default `ssl:connect` options allow TLS 1.2, and what counts is whether your client allows it, not what the real server prefers. Not affected: clients restricted to TLS 1.3, cipher suites without a ServerKeyExchange (RSA key transport, ECDH_RSA, ECDH_ECDSA), and servers.",
      "cite": [
        1,
        2
      ]
    },
    {
      "label": "An attacker can intercept the traffic",
      "text": "The attacker has to be in a man-in-the-middle position between your app and the server it connects to. Erlang says the type of key in the real server's certificate doesn't matter, because the attacker picks the cipher suite. The public reproduction is a test server the client connects to on purpose; using it against a real connection would need that position. So whether you're exposed depends on your network path, not just your version, which is why we rate it Patch if, not Patch now.",
      "cite": [
        1,
        2,
        11
      ]
    }
  ],
  "do": [
    {
      "label": "Update Erlang/OTP",
      "text": "Move to 29.1.3, 28.5.0.9 or 27.3.4.20, the newest release on each supported line, which also fix the nine other bugs from 24 Nov. OTP 26 and older get no fixes: move to OTP 27 or newer. On distro packages, take your distro's update when it ships. A release built with `mix release` packages the runtime with your code, so rebuild and redeploy it on a fixed OTP.",
      "cite": [
        1,
        3,
        4,
        6,
        8,
        10
      ],
      "versions": [
        "erlang-otp"
      ]
    },
    {
      "label": "Can't update yet? Mind TLS 1.3",
      "text": "Erlang's workaround is to let clients use only TLS 1.3 (`{versions, ['tlsv1.3']}`). But Erlang's TLS 1.3 client had its own critical server-impersonation bug, CVE-2026-89422, fixed only in 29.1.1, 28.5.0.7 and 27.3.4.18, and its workaround is the opposite: TLS 1.2 only. So among releases this bug still affects, TLS 1.3 only avoids both server-impersonation bugs just on 28.5.0.7 and 28.5.0.8; everywhere else, update. On 28.5.0.7, also leave `session_tickets` off (the default) or manual: with `{session_tickets, auto}`, a malicious TLS 1.3 server can crash TLS across the whole node (CVE-2026-94200, fixed in 28.5.0.8). Erlang doesn't recommend its last resort, offering only static RSA suites: it gives up forward secrecy and the handshake may fail.",
      "cite": [
        1,
        12,
        15
      ]
    }
  ],
  "fixed_in": {
    "erlang-otp": {
      "29": "29.0.3",
      "28": "28.5.0.9",
      "27": "27.3.4.14"
    }
  },
  "sources": [
    {
      "title": "GitHub: Erlang/OTP advisory GHSA-7mff-v332-665j, affected and fixed versions, impact, workarounds, credit",
      "url": "https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j",
      "date": "24 Nov"
    },
    {
      "title": "CVE record (EEF): CVE-2026-124286, how it works, TLS 1.2 and DTLS clients, affected ranges",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-124286",
      "date": "24 Nov"
    },
    {
      "title": "GitHub: Erlang/OTP releases, 29.0.3 and 27.3.4.14 (2 Jul), 29.1.3, 28.5.0.9 and 27.3.4.20 (24 Nov)",
      "url": "https://github.com/erlang/otp/releases",
      "date": "24 Nov"
    },
    {
      "title": "GitHub: Erlang/OTP SECURITY.md, the last three OTP releases get security fixes",
      "url": "https://github.com/erlang/otp/blob/master/SECURITY.md"
    },
    {
      "title": "Erlang docs: OTP versions, where to read the installed OTP version",
      "url": "https://www.erlang.org/doc/system/versions.html"
    },
    {
      "title": "Debian security tracker: CVE-2026-124286, bookworm and trixie vulnerable",
      "url": "https://security-tracker.debian.org/tracker/CVE-2026-124286"
    },
    {
      "title": "Ubuntu: CVE-2026-124286, needs evaluation",
      "url": "https://ubuntu.com/security/CVE-2026-124286"
    },
    {
      "title": "GitHub: Erlang/OTP security advisories, nine more fixed on 24 Nov",
      "url": "https://github.com/erlang/otp/security/advisories",
      "date": "24 Nov"
    },
    {
      "title": "CISA KEV catalog: not listed",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog"
    },
    {
      "title": "Elixir docs: mix release packages your code and the runtime together",
      "url": "https://hexdocs.pm/mix/Mix.Tasks.Release.html"
    },
    {
      "title": "BoringSSL test runner: UnauthenticatedECDH, a test server that sends no certificate and an unsigned key exchange",
      "url": "https://github.com/google/boringssl/blob/main/ssl/test/runner/common.go"
    },
    {
      "title": "GitHub: Erlang/OTP advisory GHSA-rgxr-4g4w-j875 (CVE-2026-89422), TLS 1.3 client bug, fixed versions, TLS 1.2-only workaround",
      "url": "https://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875",
      "date": "22 Sep"
    },
    {
      "title": "Erlang docs: application:get_key/2, read an application's version (vsn)",
      "url": "https://www.erlang.org/doc/apps/kernel/application.html"
    },
    {
      "title": "Elixir docs: Application.spec/2, read an application's version (:vsn)",
      "url": "https://hexdocs.pm/elixir/Application.html#spec/2"
    },
    {
      "title": "GitHub: Erlang/OTP advisory GHSA-m5mh-q53w-67jq (CVE-2026-94200), TLS 1.3 ticket store crash with session_tickets auto, fixed in 28.5.0.8",
      "url": "https://github.com/erlang/otp/security/advisories/GHSA-m5mh-q53w-67jq",
      "date": "14 Oct"
    }
  ],
  "changes": [
    {
      "date": "2026-11-30",
      "text": "Published."
    }
  ],
  "safe_versions": [
    {
      "id": "erlang-otp",
      "name": "Erlang/OTP",
      "url": "https://tldrcve.com/versions/erlang-otp/",
      "json": "https://tldrcve.com/versions/erlang-otp.json",
      "checked": "2026-12-03",
      "lines": [
        {
          "line": "OTP 29",
          "latest": "29.1.3",
          "released": "2026-11-24"
        },
        {
          "line": "OTP 28",
          "latest": "28.5.0.9",
          "released": "2026-11-24"
        },
        {
          "line": "OTP 27",
          "latest": "27.3.4.20",
          "released": "2026-11-24"
        }
      ],
      "older": "Erlang/OTP supports the last three releases with security fixes. On OTP 26 or older, move to OTP 27 or newer."
    }
  ]
}
