Saturday 5 December 2026 · UTC
Global

Your region, kept on this device.

Vulnerability · Erlang Erlang/Otp

CVE-2026-58227

The Erlang/OTP ssl application does not detect cycles when reconstructing an incomplete peer certificate chain during a TLS or DTLS handshake. In ssl_certificate:handle_incomplete_chain/5, the received chain is passed to ssl_certificate:build_certificate_chain/5, which walks issuer relationships via ssl_certificate:do_certificate_chain/7 with no cycle detection and no depth limit. When the peer supplies two mutually cross-signed certificates in unordered form (A issues B, B issues A), the issuer lookup alternates between the two certificates and the pair of functions recurses indefinitely, growing the call stack and chain accumulator without bound. An unauthenticated remote attacker can send a crafted certificate chain in a TLS or DTLS Certificate handshake message to exhaust available memory and crash the BEAM node. Only a TCP connection and a partial handshake are required; no authentication or completed handshake is needed, and both TLS/DTLS servers and clients are affected when processing peer certificate messages. This issue affects OTP from OTP 23.2 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to ssl from 10.2 before 11.2.12.11, 11.6.0.4, and 11.7.4.

CVSS score (v4.0)8.7High
Exploitation: unknown in current evidence
No KEV listing in this record

Am I affected?

Check a product version without an account, or sign in for saved inventory assessments.

Ask about this evidence

Timeline

  1. Published by NVD
  2. Last updated by NVD

Affected products

ProductVersions
Erlang Erlang/Otp
Component identitycpe:2.3:a:erlang:erlang\/otp
from 23.2 before 27.3.4.15; from 28.0 before 28.5.0.4; from 29.0 before 29.0.4
Erlang Erlang/Ssl
Component identitycpe:2.3:a:erlang:erlang\/ssl
from 10.2 before 11.2.12.11; from 11.3 before 11.6.0.4; from 11.7 before 11.7.4

Source evidence and freshness

Lifecycle: Modified. Technical severity: CVSS 4.0 · Provider: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db. Exploitation evidence and inventory applicability are separate assessments.

Source configuration conditions

Source expressions may include required platforms and alternatives. Unsupported expressions remain unresolved in the version checker.

[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "27.3.4.15",
            "versionStartIncluding": "23.2"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "28.5.0.4",
            "versionStartIncluding": "28.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "29.0.4",
            "versionStartIncluding": "29.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "11.2.12.11",
            "versionStartIncluding": "10.2"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "11.6.0.4",
            "versionStartIncluding": "11.3"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "11.7.4",
            "versionStartIncluding": "11.7"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]

CVSS:4.0/AV:N/AC:L/AT:N/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

Last retrieval: Last verified conclusion: not recordedLast material change:
Provider-specific scores
  • 6b3ad84c-e1a6-4bf7-a703-f496b71e49db · CVSS 4.0 · 8.7 High CVSS:4.0/AV:N/AC:L/AT:N/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
  • nvd@nist.gov · CVSS 3.1 · 7.5 High CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

NVD record · CVE record and primary references

Remediation by product and branch

Erlang Erlang/Otp

from 23.2 before 27.3.4.15

verification required

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

NVD advisory · Verified: not recorded

from 28.0 before 28.5.0.4

verification required

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

NVD advisory · Verified: not recorded

from 29.0 before 29.0.4

verification required

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

NVD advisory · Verified: not recorded

Erlang Erlang/Ssl

from 10.2 before 11.2.12.11

verification required

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

NVD advisory · Verified: not recorded

from 11.3 before 11.6.0.4

verification required

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

NVD advisory · Verified: not recorded

from 11.7 before 11.7.4

verification required

Confirm the release branch and deployment prerequisites, then verify the installed build and expected security behaviour after changing it.

NVD advisory · Verified: not recorded

FIRST EPSS forecast

No EPSS score has been imported for this vulnerability. This is unavailable data, not a zero forecast.

A model forecast of exploitation activity in the next 30 days. It does not establish applicability, observed attacks, impact or organisation-specific risk. FIRST methodology and limits

Change history

Changes to the source evidence for this vulnerability. Retrievals that changed nothing are not listed. Email already sent is not edited afterwards.

  1. Record changed ·

    Erlang Erlang/Ssl from 11.7 before 11.7.4 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11171

    Reason recorded: affected rule changed

    {
      "fields": [
        {
          "kind": "value",
          "field": "configuration_state",
          "label": "Configuration prerequisites",
          "revised": "unconditional",
          "previous": "unsupported"
        }
      ],
      "rule": {
        "to": "11.7.4",
        "from": "11.7",
        "branch": null,
        "source": "NVD",
        "fixedIn": "11.7.4",
        "toInclusive": false,
        "fixedVerified": false,
        "fromInclusive": true
      }
    }
  2. Record changed ·

    Erlang Erlang/Ssl from 11.3 before 11.6.0.4 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11170

    Reason recorded: affected rule changed

    {
      "fields": [
        {
          "kind": "value",
          "field": "configuration_state",
          "label": "Configuration prerequisites",
          "revised": "unconditional",
          "previous": "unsupported"
        }
      ],
      "rule": {
        "to": "11.6.0.4",
        "from": "11.3",
        "branch": null,
        "source": "NVD",
        "fixedIn": "11.6.0.4",
        "toInclusive": false,
        "fixedVerified": false,
        "fromInclusive": true
      }
    }
  3. Record changed ·

    Erlang Erlang/Ssl from 10.2 before 11.2.12.11 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11169

    Reason recorded: affected rule changed

    {
      "fields": [
        {
          "kind": "value",
          "field": "configuration_state",
          "label": "Configuration prerequisites",
          "revised": "unconditional",
          "previous": "unsupported"
        }
      ],
      "rule": {
        "to": "11.2.12.11",
        "from": "10.2",
        "branch": null,
        "source": "NVD",
        "fixedIn": "11.2.12.11",
        "toInclusive": false,
        "fixedVerified": false,
        "fromInclusive": true
      }
    }
  4. Record changed ·

    Erlang Erlang/Otp from 29.0 before 29.0.4 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11168

    Reason recorded: affected rule changed

    {
      "fields": [
        {
          "kind": "value",
          "field": "configuration_state",
          "label": "Configuration prerequisites",
          "revised": "unconditional",
          "previous": "unsupported"
        }
      ],
      "rule": {
        "to": "29.0.4",
        "from": "29.0",
        "branch": null,
        "source": "NVD",
        "fixedIn": "29.0.4",
        "toInclusive": false,
        "fixedVerified": false,
        "fromInclusive": true
      }
    }
  5. Record changed ·

    Erlang Erlang/Otp from 28.0 before 28.5.0.4 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11167

    Reason recorded: affected rule changed

    {
      "fields": [
        {
          "kind": "value",
          "field": "configuration_state",
          "label": "Configuration prerequisites",
          "revised": "unconditional",
          "previous": "unsupported"
        }
      ],
      "rule": {
        "to": "28.5.0.4",
        "from": "28.0",
        "branch": null,
        "source": "NVD",
        "fixedIn": "28.5.0.4",
        "toInclusive": false,
        "fixedVerified": false,
        "fromInclusive": true
      }
    }
  6. Record changed ·

    Erlang Erlang/Otp from 23.2 before 27.3.4.15 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11166

    Reason recorded: affected rule changed

    {
      "fields": [
        {
          "kind": "value",
          "field": "configuration_state",
          "label": "Configuration prerequisites",
          "revised": "unconditional",
          "previous": "unsupported"
        }
      ],
      "rule": {
        "to": "27.3.4.15",
        "from": "23.2",
        "branch": null,
        "source": "NVD",
        "fixedIn": "27.3.4.15",
        "toInclusive": false,
        "fixedVerified": false,
        "fromInclusive": true
      }
    }
  7. Provider-specific CVSS assessments, NVD affected-configuration data ·

    • Provider-specific CVSS assessments: updated
    • NVD affected-configuration data: updated NVD revised which product configurations it lists. Current data is in the affected products and source evidence above.
    Recorded entry #11165

    Reason recorded: source material change

    {
      "fields": [
        {
          "kind": "summary",
          "field": "assessments",
          "label": "Provider-specific CVSS assessments",
          "revised": null,
          "previous": null
        },
        {
          "kind": "summary",
          "field": "configuration_tree",
          "label": "NVD affected-configuration data",
          "revised": null,
          "previous": null
        }
      ]
    }

Sources: NVD and CISA known exploited vulnerabilities catalogue.