CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir

CVE-2026-58227

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.7 · high

TLS/DTLS denial of service via unbounded recursion on cross-signed peer certificate chain

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.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.478% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.7 · published by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
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
Assessment source · checked 2026-11-19T12:41:35.955Z

CVSS 4.0 · 8.7 · published by EEF
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
Assessment source · checked 2026-11-19T12:58:55.497Z

CVSS 4.0 · 8.7 · published by Ubuntu Security
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
Assessment source · checked 2026-11-19T16:52:52.101Z

CVSS 3.1 · 7.5 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:41:35.955Z

CVSS 3.1 · 7.5 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T16:52:52.101Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T12:41:35.955ZNVD
epssverified2026-11-19T16:04:53.106ZFIRST EPSS
patchesverified2026-11-19T16:52:52.101ZUbuntu Security
affectedverified2026-11-19T12:58:55.497ZCVE Program
lifecycleverified2026-11-19T12:58:55.497ZCVE Program

Affected versions and configuration

Erlang OTP; modules: ssl_certificate; default status: unaffected: 23.2 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.15","status":"unaffected"},{"at":"28.5.0.4","status":"unaffected"},{"at":"29.0.4","status":"unaffected"}] Erlang OTP; modules: ssl_certificate; default status: unaffected: 10.2 to < * [affected; scheme: otp]; changes: [{"at":"11.2.12.11","status":"unaffected"},{"at":"11.6.0.4","status":"unaffected"},{"at":"11.7.4","status":"unaffected"}] Erlang OTP; modules: ssl_certificate; default status: unaffected: addc42df113f8f15fc20e9dff45490b3ce0d3d6b to < * [affected; scheme: git]; changes: [{"at":"7db64720177961e04545681480d691c4be81c54d","status":"unaffected"},{"at":"241d43703989fec4b6bf637beaeb366d92dcc4c2","status":"unaffected"},{"at":"0307bff2c72b685c6bd952daaac6bd661c247d62","status":"unaffected"}]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "erlang",
    "debian": "https://tracker.debian.org/pkg/erlang",
    "source": "https://ubuntu.com/security/cve?package=erlang",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=erlang",
    "statuses": [
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "bionic"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:29.0.6+dfsg-1",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "xenial"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:24.2.1+dfsg-1ubuntu0.7",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:25.3.2.8+dfsg-1ubuntu4.7",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:27.3.4.6+dfsg-1ubuntu0.1",
        "release_codename": "resolute"
      }
    ]
  }
]
Archived source JSON
CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "vendor": "Erlang",
      "modules": [
        "ssl_certificate"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "27.3.4.15",
              "status": "unaffected"
            },
            {
              "at": "28.5.0.4",
              "status": "unaffected"
            },
            {
              "at": "29.0.4",
              "status": "unaffected"
            }
          ],
          "version": "23.2",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:software-id/erlang.org/otp",
      "packageName": "otp",
      "programFiles": [
        "lib/ssl/src/ssl_certificate.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "ssl_certificate:handle_incomplete_chain/5"
        },
        {
          "name": "ssl_certificate:build_certificate_chain/5"
        },
        {
          "name": "ssl_certificate:do_certificate_chain/7"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "ssl_certificate"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "11.2.12.11",
              "status": "unaffected"
            },
            {
              "at": "11.6.0.4",
              "status": "unaffected"
            },
            {
              "at": "11.7.4",
              "status": "unaffected"
            }
          ],
          "version": "10.2",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
      "packageName": "ssl",
      "programFiles": [
        "src/ssl_certificate.erl"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "ssl_certificate:handle_incomplete_chain/5"
        },
        {
          "name": "ssl_certificate:build_certificate_chain/5"
        },
        {
          "name": "ssl_certificate:do_certificate_chain/7"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "ssl_certificate"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "7db64720177961e04545681480d691c4be81c54d",
              "status": "unaffected"
            },
            {
              "at": "241d43703989fec4b6bf637beaeb366d92dcc4c2",
              "status": "unaffected"
            },
            {
              "at": "0307bff2c72b685c6bd952daaac6bd661c247d62",
              "status": "unaffected"
            }
          ],
          "version": "addc42df113f8f15fc20e9dff45490b3ce0d3d6b",
          "lessThan": "*",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/erlang/otp",
      "packageName": "erlang/otp",
      "programFiles": [
        "lib/ssl/src/ssl_certificate.erl"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "ssl_certificate:handle_incomplete_chain/5"
        },
        {
          "name": "ssl_certificate:build_certificate_chain/5"
        },
        {
          "name": "ssl_certificate:do_certificate_chain/7"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-58227",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-07-27T17:25:16.012380Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-07-27T17:25:26.884Z"
      }
    }
  ]
}
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "CF06E49D-ED0A-4961-839E-15EB0E1EDC3B",
            "versionEndExcluding": "27.3.4.15",
            "versionStartIncluding": "23.2"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
            "versionEndExcluding": "28.5.0.4",
            "versionStartIncluding": "28.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
            "versionEndExcluding": "29.0.4",
            "versionStartIncluding": "29.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "A1C5B925-A63B-4C55-AE0D-868DC457E448",
            "versionEndExcluding": "11.2.12.11",
            "versionStartIncluding": "10.2"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "00A0557D-8DF6-4DD2-AE3A-6F732454D8B8",
            "versionEndExcluding": "11.6.0.4",
            "versionStartIncluding": "11.3"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "50DDEF08-5FC7-40C5-B9C5-4791B0EC7595",
            "versionEndExcluding": "11.7.4",
            "versionStartIncluding": "11.7"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-noteupstream / upstreamerlangNot a distribution channel1:29.0.6+dfsg-1Official record
distribution-packageUbuntu / jammyerlangsecurity1:24.2.1+dfsg-1ubuntu0.7Official record
distribution-packageUbuntu / nobleerlangsecurity1:25.3.2.8+dfsg-1ubuntu4.7Official record
distribution-packageUbuntu / resoluteerlangsecurity1:27.3.4.6+dfsg-1ubuntu0.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history