Saturday 5 December 2026 · UTC
Global

Your region, kept on this device.

Vulnerability · Erlang Erlang/Otp

CVE-2026-59251

Allocation of resources without limits in Erlang/OTP public_key certificate path validation allows a remote unauthenticated attacker to cause denial of service by sending a crafted X.509 certificate chain during the TLS handshake. During RFC 5280 policy processing in public_key:pkix_path_validation/3, the certificate policy tree maintained by pubkey_policy_tree grows without an upper bound. When a certificate chain contains M policies per certificate and K certificates, the tree grows on the order of M^K nodes because pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2 extend the tree per policy per certificate. A modest chain with many policies per certificate is enough to pin BEAM schedulers and exhaust the node's memory, taking down the entire VM. The attacker only needs to be able to present a certificate chain to the victim, which is the normal precondition for a TLS handshake, so exploitation succeeds against any incoming or outgoing TLS connection that validates the peer's chain (the default for SSL/TLS clients and mutual-TLS servers). This is the same vulnerability class as OpenSSL's X509_verify_cert policy tree DoS. This vulnerability is associated with program files lib/public_key/src/pubkey_policy_tree.erl and program routines pubkey_policy_tree:add_leaves/2 and pubkey_policy_tree:add_leaf_siblings/2. This issue affects OTP from OTP 26.2 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to public_key from 1.15 before 1.17.1.5, 1.20.3.4, and 1.21.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.

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 26.2 before 27.3.4.15; from 28.0 before 28.5.0.4; from 29.0 before 29.0.4
Erlang Erlang/Public Key
Component identitycpe:2.3:a:erlang:erlang\/public_key
from 1.15 before 1.17.1.5; from 1.18 before 1.20.3.4; from 1.21 before 1.21.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": "26.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\\/public_key:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "1.17.1.5",
            "versionStartIncluding": "1.15"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/public_key:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "1.20.3.4",
            "versionStartIncluding": "1.18"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/public_key:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "versionEndExcluding": "1.21.4",
            "versionStartIncluding": "1.21"
          }
        ],
        "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:L/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:L/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 26.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/Public Key

from 1.15 before 1.17.1.5

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 1.18 before 1.20.3.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 1.21 before 1.21.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/Public Key from 1.21 before 1.21.4 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11178

    Reason recorded: affected rule changed

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

    Erlang Erlang/Public Key from 1.18 before 1.20.3.4 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11177

    Reason recorded: affected rule changed

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

    Erlang Erlang/Public Key from 1.15 before 1.17.1.5 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11176

    Reason recorded: affected rule changed

    {
      "fields": [
        {
          "kind": "value",
          "field": "configuration_state",
          "label": "Configuration prerequisites",
          "revised": "unconditional",
          "previous": "unsupported"
        }
      ],
      "rule": {
        "to": "1.17.1.5",
        "from": "1.15",
        "branch": null,
        "source": "NVD",
        "fixedIn": "1.17.1.5",
        "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 #11175

    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 #11174

    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 26.2 before 27.3.4.15 (NVD)

    • Configuration prerequisites: unsupported → unconditional
    Recorded entry #11173

    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": "26.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 #11172

    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.