Search

Find a vulnerability

Search criteria

    236 vulnerabilities by erlang

    FKIE_CVE-2026-21619

    Vulnerability from fkie_nvd - Published: 2026-02-27 18:16 - Updated: 2026-12-02 13:17
    Summary
    Uncontrolled Resource Consumption, Deserialization of Untrusted Data vulnerability in hexpm hex_core (hex_api modules), hexpm hex (mix_hex_api modules), erlang rebar3 (r3_hex_api modules) allows Object Injection, Excessive Allocation. This vulnerability is associated with program files src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl and program routines hex_api:request/4, mix_hex_api:request/4, r3_hex_api:request/4. This issue affects rebar3: from 3.9.1 before 3.27.0; hex: from 2.3.0 before 2.3.2; hex_core: from 0.1.0 before 0.12.1.
    Impacted products
    Vendor Product Version
    erlang rebar3 *
    hex hex *
    hex hex_core *

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "r3_hex_api"
              ],
              "packageName": "rebar3",
              "packageURL": "pkg:otp/rebar3?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Frebar3\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Frebar3.git",
              "product": "rebar3",
              "programFiles": [
                "apps/rebar/src/vendored/r3_hex_api.erl"
              ],
              "programRoutines": [
                {
                  "name": "r3_hex_api:request/4"
                }
              ],
              "repo": "https://github.com/erlang/rebar3",
              "vendor": "erlang",
              "versions": [
                {
                  "lessThan": "3.27.0",
                  "status": "affected",
                  "version": "3.9.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "r3_hex_api"
              ],
              "packageName": "erlang/rebar3",
              "packageURL": "pkg:github/erlang/rebar3",
              "product": "rebar3",
              "programFiles": [
                "apps/rebar/src/vendored/r3_hex_api.erl"
              ],
              "programRoutines": [
                {
                  "name": "r3_hex_api:request/4"
                }
              ],
              "repo": "https://github.com/erlang/rebar3",
              "vendor": "erlang",
              "versions": [
                {
                  "lessThan": "1d4478f527e373de0b225951e53115450e0d9b9d",
                  "status": "affected",
                  "version": "209c02ec57c2cc3207ee0174c3af3675b8dc8f79",
                  "versionType": "git"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "mix_hex_api"
              ],
              "packageName": "hex",
              "packageURL": "pkg:otp/hex?repository_url=https:%2F%2Fgithub.com%2Fhexpm%2Fhex\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Fhexpm%2Fhex.git",
              "product": "hex",
              "programFiles": [
                "src/mix_hex_api.erl"
              ],
              "programRoutines": [
                {
                  "name": "mix_hex_api:request/4"
                }
              ],
              "repo": "https://github.com/hexpm/hex",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "2.3.2",
                  "status": "affected",
                  "version": "2.3.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "mix_hex_api"
              ],
              "packageName": "hexpm/hex",
              "packageURL": "pkg:github/hexpm/hex",
              "product": "hex",
              "programFiles": [
                "src/mix_hex_api.erl"
              ],
              "programRoutines": [
                {
                  "name": "mix_hex_api:request/4"
                }
              ],
              "repo": "https://github.com/hexpm/hex",
              "vendor": "hexpm",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "636739f3322514e9303ca335fb630696fcbb3c95",
                      "status": "unaffected"
                    },
                    {
                      "at": "a9999e425d9c0f9fc8c53e7823eee898156c4d1a",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "314546ac432229518714cc8e3336e916b9da6305",
                  "versionType": "git"
                }
              ]
            },
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "hex_api"
              ],
              "packageName": "hex_core",
              "packageURL": "pkg:hex/hex_core",
              "product": "hex_core",
              "programFiles": [
                "src/hex_api.erl"
              ],
              "programRoutines": [
                {
                  "name": "hex_api:request/4"
                }
              ],
              "repo": "https://github.com/hexpm/hex_core",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "0.12.1",
                  "status": "affected",
                  "version": "0.1.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "hex_api"
              ],
              "packageName": "hexpm/hex_core",
              "packageURL": "pkg:github/hexpm/hex_core",
              "product": "hex_core",
              "programFiles": [
                "src/hex_api.erl"
              ],
              "programRoutines": [
                {
                  "name": "hex_api:request/4"
                }
              ],
              "repo": "https://github.com/hexpm/hex_core",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "cdf726095bca85ad2549d146df1e831ae93c2b13",
                  "status": "affected",
                  "version": "eb327f8edfe45507351e38cc0805aa12fa647f0b",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C21AB09A-0A82-419D-9A2E-A2C3F771655D",
                  "versionEndExcluding": "3.27.0",
                  "versionStartIncluding": "3.9.1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:hex:hex:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "477DC32B-3F4B-4F45-BB4B-E0236656AB50",
                  "versionEndExcluding": "2.3.2",
                  "versionStartIncluding": "2.3.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:hex:hex_core:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "91F2E848-912E-48E6-9784-7781F04E3222",
                  "versionEndExcluding": "0.12.1",
                  "versionStartIncluding": "0.1.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Uncontrolled Resource Consumption, Deserialization of Untrusted Data vulnerability in hexpm hex_core (hex_api modules), hexpm hex (mix_hex_api modules), erlang rebar3 (r3_hex_api modules) allows Object Injection, Excessive Allocation.\n\nThis vulnerability is associated with program files src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl and program routines hex_api:request/4, mix_hex_api:request/4, r3_hex_api:request/4.\n\nThis issue affects rebar3: from 3.9.1 before 3.27.0; hex: from 2.3.0 before 2.3.2; hex_core: from 0.1.0 before 0.12.1."
        },
        {
          "lang": "es",
          "value": "Consumo de Recursos No Controlado, vulnerabilidad de Deserializaci\u00f3n de Datos No Confiables en hexpm hex_core (m\u00f3dulos hex_api), hexpm hex (m\u00f3dulos mix_hex_api), erlang rebar3 (m\u00f3dulos r3_hex_api) permite Inyecci\u00f3n de Objetos, Asignaci\u00f3n Excesiva. Esta vulnerabilidad est\u00e1 asociada con los archivos de programa src/hex_api.erl, src/mix_hex_api.erl, apps/rebar/src/vendored/r3_hex_api.erl y las rutinas de programa hex_core:request/4, mix_hex_api:request/4, r3_hex_api:request/4.\n\nEste problema afecta a hex_core: desde 0.1.0 antes de 0.12.1; hex: desde 2.3.0 antes de 2.3.2; rebar3: desde 3.9.1 antes de 3.27.0."
        }
      ],
      "id": "CVE-2026-21619",
      "lastModified": "2026-12-02T13:17:15.933",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "PRESENT",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 2.0,
              "baseSeverity": "LOW",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "LOW",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "ACTIVE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:L/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "LOW",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-21619",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-02-27T19:08:49.652728Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-02-27T18:16:11.373",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://cna.erlef.org/cves/CVE-2026-21619.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/rebar3/commit/1d4478f527e373de0b225951e53115450e0d9b9d"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/rebar3/commit/209c02ec57c2cc3207ee0174c3af3675b8dc8f79"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/hexpm/hex/commit/314546ac432229518714cc8e3336e916b9da6305"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/hexpm/hex/commit/636739f3322514e9303ca335fb630696fcbb3c95"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/hexpm/hex/commit/a9999e425d9c0f9fc8c53e7823eee898156c4d1a"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/hexpm/hex_core/commit/cdf726095bca85ad2549d146df1e831ae93c2b13"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/hexpm/hex_core/commit/eb327f8edfe45507351e38cc0805aa12fa647f0b"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Mitigation",
            "Vendor Advisory"
          ],
          "url": "https://github.com/hexpm/hex_core/security/advisories/GHSA-hx9w-f2w9-9g96"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-21619"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-400"
            },
            {
              "lang": "en",
              "value": "CWE-502"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-59251

    Vulnerability from fkie_nvd - Published: 2026-07-27 16:18 - Updated: 2026-11-20 06:17
    Summary
    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.

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "pubkey_policy_tree"
              ],
              "packageName": "public_key",
              "packageURL": "pkg:otp/public_key?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/pubkey_policy_tree.erl"
              ],
              "programRoutines": [
                {
                  "name": "pubkey_policy_tree:add_leaves/2"
                },
                {
                  "name": "pubkey_policy_tree:add_leaf_siblings/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "1.17.1.5",
                      "status": "unaffected"
                    },
                    {
                      "at": "1.20.3.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "1.21.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "1.15",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "pubkey_policy_tree"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/public_key/src/pubkey_policy_tree.erl"
              ],
              "programRoutines": [
                {
                  "name": "pubkey_policy_tree:add_leaves/2"
                },
                {
                  "name": "pubkey_policy_tree:add_leaf_siblings/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "26.2",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "pubkey_policy_tree"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/public_key/src/pubkey_policy_tree.erl"
              ],
              "programRoutines": [
                {
                  "name": "pubkey_policy_tree:add_leaves/2"
                },
                {
                  "name": "pubkey_policy_tree:add_leaf_siblings/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "f04c6bba38de1cf1b1836a7d9a9fbe239bd939e8",
                      "status": "unaffected"
                    },
                    {
                      "at": "f8580fc117098c08165f46c26fd0750c5cfb2a90",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "9d1dda7bad5a64b58c10a1554751689e94131a73",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "066FEFFE-0F09-4E14-8E12-91C77C8AF3EE",
                  "versionEndExcluding": "27.3.4.15",
                  "versionStartIncluding": "26.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
                  "versionEndExcluding": "28.5.0.4",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
                  "versionEndExcluding": "29.0.4",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/public_key:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4A7632CA-8513-4465-BAFE-FD18F16B0845",
                  "versionEndExcluding": "1.17.1.5",
                  "versionStartIncluding": "1.15",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/public_key:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "13F15795-8FBC-49F6-BFB7-D8E8971392AF",
                  "versionEndExcluding": "1.20.3.4",
                  "versionStartIncluding": "1.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/public_key:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "00074E99-F2EA-4695-A47B-DA8E76652508",
                  "versionEndExcluding": "1.21.4",
                  "versionStartIncluding": "1.21",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "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.\n\nDuring 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\u0027s 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\u0027s chain (the default for SSL/TLS clients and mutual-TLS servers).\n\nThis is the same vulnerability class as OpenSSL\u0027s X509_verify_cert policy tree DoS.\n\nThis 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.\n\nThis issue affects OTP from OTP\u00a026.2 before OTP\u00a027.3.4.15, OTP\u00a028.5.0.4, and OTP\u00a029.0.4, corresponding to public_key from 1.15 before 1.17.1.5, 1.20.3.4, and 1.21.4."
        },
        {
          "lang": "es",
          "value": "Asignaci\u00f3n de recursos sin l\u00edmites en la validaci\u00f3n de ruta de certificado public_key de Erlang/OTP permite a un atacante remoto no autenticado causar denegaci\u00f3n de servicio enviando una cadena de certificados X.509 manipulada durante el handshake TLS.\n\nDurante el procesamiento de pol\u00edticas RFC 5280 en public_key:pkix_path_validation/3, el \u00e1rbol de pol\u00edticas de certificado mantenido por pubkey_policy_tree crece sin un l\u00edmite superior. Cuando una cadena de certificados contiene M pol\u00edticas por certificado y K certificados, el \u00e1rbol crece en el orden de M^K nodos porque pubkey_policy_tree:add_leaves/2 y pubkey_policy_tree:add_leaf_siblings/2 extienden el \u00e1rbol por pol\u00edtica por certificado. Una cadena modesta con muchas pol\u00edticas por certificado es suficiente para fijar los planificadores BEAM y agotar la memoria del nodo, derribando toda la VM. El atacante solo necesita poder presentar una cadena de certificados a la v\u00edctima, lo cual es la condici\u00f3n previa normal para un handshake TLS, por lo que la explotaci\u00f3n tiene \u00e9xito contra cualquier conexi\u00f3n TLS entrante o saliente que valida la cadena del par (el valor predeterminado para clientes SSL/TLS y servidores mutual-TLS).\n\nEsta es la misma clase de vulnerabilidad que el DoS del \u00e1rbol de pol\u00edticas X509_verify_cert de OpenSSL.\n\nEsta vulnerabilidad est\u00e1 asociada con los archivos de programa lib/public_key/src/pubkey_policy_tree.erl y las rutinas de programa pubkey_policy_tree:add_leaves/2 y pubkey_policy_tree:add_leaf_siblings/2.\n\nEste problema afecta a OTP desde OTP 26.2 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15, correspondiente a public_key desde 1.15 antes de 1.21.4, 1.20.3.4 y 1.17.1.5."
        }
      ],
      "id": "CVE-2026-59251",
      "lastModified": "2026-11-20T06:17:34.063",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "NONE",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 8.7,
              "baseSeverity": "HIGH",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "LOW",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "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",
              "version": "4.0",
              "vulnAvailabilityImpact": "HIGH",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-59251",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "yes"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-27T18:31:50.981990Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-27T16:18:03.517",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-59251.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/9d1dda7bad5a64b58c10a1554751689e94131a73"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/f04c6bba38de1cf1b1836a7d9a9fbe239bd939e8"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/f8580fc117098c08165f46c26fd0750c5cfb2a90"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-622p-qfh6-c352"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-59251"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-770"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-58227

    Vulnerability from fkie_nvd - Published: 2026-07-27 16:17 - Updated: 2026-11-20 06:17
    Summary
    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.

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_certificate"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/ssl_certificate.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_certificate:handle_incomplete_chain/5"
                },
                {
                  "name": "ssl_certificate:build_certificate_chain/5"
                },
                {
                  "name": "ssl_certificate:do_certificate_chain/7"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.11",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "10.2",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_certificate"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_certificate.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_certificate:handle_incomplete_chain/5"
                },
                {
                  "name": "ssl_certificate:build_certificate_chain/5"
                },
                {
                  "name": "ssl_certificate:do_certificate_chain/7"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "23.2",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_certificate"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_certificate.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_certificate:handle_incomplete_chain/5"
                },
                {
                  "name": "ssl_certificate:build_certificate_chain/5"
                },
                {
                  "name": "ssl_certificate:do_certificate_chain/7"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "0307bff2c72b685c6bd952daaac6bd661c247d62",
                      "status": "unaffected"
                    },
                    {
                      "at": "241d43703989fec4b6bf637beaeb366d92dcc4c2",
                      "status": "unaffected"
                    },
                    {
                      "at": "7db64720177961e04545681480d691c4be81c54d",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "addc42df113f8f15fc20e9dff45490b3ce0d3d6b",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "CF06E49D-ED0A-4961-839E-15EB0E1EDC3B",
                  "versionEndExcluding": "27.3.4.15",
                  "versionStartIncluding": "23.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
                  "versionEndExcluding": "28.5.0.4",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
                  "versionEndExcluding": "29.0.4",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "A1C5B925-A63B-4C55-AE0D-868DC457E448",
                  "versionEndExcluding": "11.2.12.11",
                  "versionStartIncluding": "10.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "00A0557D-8DF6-4DD2-AE3A-6F732454D8B8",
                  "versionEndExcluding": "11.6.0.4",
                  "versionStartIncluding": "11.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "50DDEF08-5FC7-40C5-B9C5-4791B0EC7595",
                  "versionEndExcluding": "11.7.4",
                  "versionStartIncluding": "11.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "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.\n\nAn 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.\n\nThis issue affects OTP from OTP\u00a023.2 before OTP\u00a027.3.4.15, OTP\u00a028.5.0.4, and OTP\u00a029.0.4, corresponding to ssl from 10.2 before 11.2.12.11, 11.6.0.4, and 11.7.4."
        },
        {
          "lang": "es",
          "value": "La aplicaci\u00f3n ssl de Erlang/OTP no detecta ciclos al reconstruir una cadena de certificados de pares incompleta durante un handshake TLS o DTLS. En ssl_certificate:handle_incomplete_chain/5, la cadena recibida se pasa a ssl_certificate:build_certificate_chain/5, que recorre las relaciones de emisor a trav\u00e9s de ssl_certificate:do_certificate_chain/7 sin detecci\u00f3n de ciclos y sin l\u00edmite de profundidad. Cuando el par suministra dos certificados mutuamente firmados de forma cruzada en formato desordenado (A emite B, B emite A), la b\u00fasqueda del emisor alterna entre los dos certificados y el par de funciones recurre indefinidamente, haciendo crecer la pila de llamadas y el acumulador de la cadena sin l\u00edmite.\n\nUn atacante remoto no autenticado puede enviar una cadena de certificados manipulada en un mensaje de handshake de certificado TLS o DTLS para agotar la memoria disponible y bloquear el nodo BEAM. Solo se requiere una conexi\u00f3n TCP y un handshake parcial; no se necesita autenticaci\u00f3n ni un handshake completado, y tanto los servidores como los clientes TLS/DTLS se ven afectados al procesar mensajes de certificados de pares.\n\nEste problema afecta a OTP desde OTP 23.2 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15, lo que corresponde a ssl desde 10.2 antes de 11.7.4, 11.6.0.4 y 11.2.12.11."
        }
      ],
      "id": "CVE-2026-58227",
      "lastModified": "2026-11-20T06:17:33.317",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "NONE",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 8.7,
              "baseSeverity": "HIGH",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "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",
              "version": "4.0",
              "vulnAvailabilityImpact": "HIGH",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-58227",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "yes"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-27T17:25:16.012380Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-27T16:17:56.953",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-58227.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/0307bff2c72b685c6bd952daaac6bd661c247d62"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/241d43703989fec4b6bf637beaeb366d92dcc4c2"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/7db64720177961e04545681480d691c4be81c54d"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/addc42df113f8f15fc20e9dff45490b3ce0d3d6b"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-r5jr-mq46-vmhw"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-58227"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-674"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-55953

    Vulnerability from fkie_nvd - Published: 2026-07-27 16:17 - Updated: 2026-11-20 06:17
    Summary
    The Erlang/OTP ssl TLS 1.2 (and earlier) and DTLS client does not verify that the cipher suite selected by the server in ServerHello was among the suites offered by the client in ClientHello. The client-side tls_handshake:hello/5 handler validates the negotiated protocol version and the downgrade sentinel but hands the server-chosen suite directly to ssl_handshake:handle_server_hello_extensions/9, which installs it without a membership check. The TLS 1.3 client path performs this check (per RFC 8446), so it is not affected. An on-path attacker between the client and the intended server can respond with a ServerHello selecting an anonymous key exchange suite such as TLS_DH_anon_* or TLS_ECDH_anon_* that the client never offered. Anonymous suites do not require the server to present a certificate, so the entire verify_peer and cacerts configuration is bypassed: the attacker completes the handshake with its own ephemeral parameters, no certificate is validated, no hostname is checked, and ssl:connect returns {ok, Socket}. All subsequent application traffic is readable and modifiable by the attacker. This issue affects OTP from OTP 17.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to ssl from 5.3.4 before 11.2.12.11, 11.6.0.4, and 11.7.4. Whether OTP before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown.

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "tls_handshake",
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/tls_handshake.erl",
                "src/ssl_handshake.erl",
                "src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_handshake:hello/5"
                },
                {
                  "name": "ssl_handshake:handle_server_hello_extensions/9"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.11",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.3.4",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "tls_handshake",
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_handshake.erl",
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_handshake:hello/5"
                },
                {
                  "name": "ssl_handshake:handle_server_hello_extensions/9"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "tls_handshake",
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_handshake.erl",
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_handshake:hello/5"
                },
                {
                  "name": "ssl_handshake:handle_server_hello_extensions/9"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "064e236414614f9085cbbbd6eacf0e43c02d1b4b",
                      "status": "unaffected"
                    },
                    {
                      "at": "0a82596d425abe43dc2e0b3d74aa1557ef74051c",
                      "status": "unaffected"
                    },
                    {
                      "at": "e6ff938116b2872bccc478af7fefb56627285b77",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "064e236414614f9085cbbbd6eacf0e43c02d1b4b",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "0a82596d425abe43dc2e0b3d74aa1557ef74051c",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "e6ff938116b2872bccc478af7fefb56627285b77",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "028E6EFC-A548-4F28-B08E-8636A2470B97",
                  "versionEndExcluding": "27.3.4.15",
                  "versionStartIncluding": "17.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
                  "versionEndExcluding": "28.5.0.4",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
                  "versionEndExcluding": "29.0.4",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "07A34CB3-BA91-4CF3-BB1C-AFE7779A3DB1",
                  "versionEndExcluding": "11.2.12.11",
                  "versionStartIncluding": "5.3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "00A0557D-8DF6-4DD2-AE3A-6F732454D8B8",
                  "versionEndExcluding": "11.6.0.4",
                  "versionStartIncluding": "11.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "50DDEF08-5FC7-40C5-B9C5-4791B0EC7595",
                  "versionEndExcluding": "11.7.4",
                  "versionStartIncluding": "11.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "The Erlang/OTP ssl TLS 1.2 (and earlier) and DTLS client does not verify that the cipher suite selected by the server in ServerHello was among the suites offered by the client in ClientHello. The client-side tls_handshake:hello/5 handler validates the negotiated protocol version and the downgrade sentinel but hands the server-chosen suite directly to ssl_handshake:handle_server_hello_extensions/9, which installs it without a membership check. The TLS 1.3 client path performs this check (per RFC 8446), so it is not affected.\n\nAn on-path attacker between the client and the intended server can respond with a ServerHello selecting an anonymous key exchange suite such as TLS_DH_anon_* or TLS_ECDH_anon_* that the client never offered. Anonymous suites do not require the server to present a certificate, so the entire verify_peer and cacerts configuration is bypassed: the attacker completes the handshake with its own ephemeral parameters, no certificate is validated, no hostname is checked, and ssl:connect returns {ok, Socket}. All subsequent application traffic is readable and modifiable by the attacker.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.15, OTP\u00a028.5.0.4, and OTP\u00a029.0.4, corresponding to ssl from 5.3.4 before 11.2.12.11, 11.6.0.4, and 11.7.4. Whether OTP before OTP\u00a017.0, corresponding to ssl before 5.3.4, is affected is unknown."
        },
        {
          "lang": "es",
          "value": "El cliente Erlang/OTP ssl TLS 1.2 (y anteriores) y DTLS no verifica que el conjunto de cifrado seleccionado por el servidor en ServerHello estuviera entre los conjuntos ofrecidos por el cliente en ClientHello. El gestor tls_handshake:hello/5 del lado del cliente valida la versi\u00f3n del protocolo negociado y el centinela de degradaci\u00f3n, pero entrega el conjunto elegido por el servidor directamente a ssl_handshake:handle_server_hello_extensions/9, que lo instala sin una verificaci\u00f3n de pertenencia. La ruta del cliente TLS 1.3 realiza esta verificaci\u00f3n (seg\u00fan RFC 8446), por lo que no se ve afectada.\n\nUn atacante en la ruta entre el cliente y el servidor previsto puede responder con un ServerHello seleccionando un conjunto de intercambio de claves an\u00f3nimo como TLS_DH_anon_* o TLS_ECDH_anon_* que el cliente nunca ofreci\u00f3. Los conjuntos an\u00f3nimos no requieren que el servidor presente un certificado, por lo que se omite toda la configuraci\u00f3n de verify_peer y cacerts: el atacante completa el handshake con sus propios par\u00e1metros ef\u00edmeros, no se valida ning\u00fan certificado, no se verifica ning\u00fan nombre de host, y ssl:connect devuelve {ok, Socket}. Todo el tr\u00e1fico de aplicaci\u00f3n posterior es legible y modificable por el atacante.\n\nEste problema afecta a OTP desde OTP 17.0 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15, lo que corresponde a ssl desde 5.3.4 antes de 11.7.4, 11.6.0.4 y 11.2.12.11."
        }
      ],
      "id": "CVE-2026-55953",
      "lastModified": "2026-11-20T06:17:32.423",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 7.4,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 2.2,
            "impactScore": 5.2,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "PRESENT",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 9.1,
              "baseSeverity": "CRITICAL",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "NONE",
              "vulnConfidentialityImpact": "HIGH",
              "vulnIntegrityImpact": "HIGH",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-55953",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "total"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-27T18:33:59.966358Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-27T16:17:49.500",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-55953.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/064e236414614f9085cbbbd6eacf0e43c02d1b4b"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/0a82596d425abe43dc2e0b3d74aa1557ef74051c"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/e6ff938116b2872bccc478af7fefb56627285b77"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-c6cw-pr89-w882"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-55953"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-757"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-55952

    Vulnerability from fkie_nvd - Published: 2026-07-02 17:17 - Updated: 2026-11-20 06:17
    Summary
    The Erlang/OTP ssl application does not validate that the PSK identity list and binder list carried in a TLS 1.3 ClientHello pre-shared key extension have equal length before passing them to the session ticket handler. In tls_handshake_1_3:handle_pre_shared_key/3, an OfferedPreSharedKeys record with a mismatched number of identities and binders is forwarded directly to tls_server_session_ticket:use/4, which crashes the session ticket handler process. An unauthenticated remote attacker can send a single crafted ClientHello to a TLS 1.3 server with session tickets enabled (stateful or stateless mode) and permanently disrupt session ticket handling on that listener. New TLS 1.3 handshakes complete but subsequently crash when the server attempts to issue a session ticket, effectively making TLS 1.3 unusable on the affected listener until the ssl application is restarted. TLS 1.2 connections are not affected. This issue affects OTP from OTP 22.2 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 9.5 before 11.2.12.10, 11.6.0.3, and 11.7.3.

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "tls_handshake_1_3"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/tls_handshake_1_3.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_handshake_1_3:handle_pre_shared_key/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.10",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "9.5",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "tls_handshake_1_3"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_handshake_1_3.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_handshake_1_3:handle_pre_shared_key/3"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "22.2",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "tls_handshake_1_3"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_handshake_1_3.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_handshake_1_3:handle_pre_shared_key/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "095f744713c325acdbd18c23e397f04593c06275",
                      "status": "unaffected"
                    },
                    {
                      "at": "2c3e599797644310e5d4aa39c7193420e59dadff",
                      "status": "unaffected"
                    },
                    {
                      "at": "9b5437c72fa3403a75c1aba28e5c532bc191c662",
                      "status": "unaffected"
                    },
                    {
                      "at": "e77823e6d980b2ec0b4fe4ea3f2d098ca239e3ce",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "339a279f02ce38a7b23010e56000613e19abb21f",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B6121E70-2794-46A4-A282-817CC75FA8CE",
                  "versionEndExcluding": "27.3.4.14",
                  "versionStartIncluding": "22.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "230E3EE3-6A18-4848-8E3D-DB0FAA8EDFDC",
                  "versionEndExcluding": "28.5.0.3",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5D2D0C24-E302-48BF-9550-CCC7ABA24BED",
                  "versionEndExcluding": "29.0.3",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "04922CED-B13F-4CA5-A700-D96B6C589324",
                  "versionEndExcluding": "11.2.12.10",
                  "versionStartIncluding": "9.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "670E1622-32D4-45D0-A05E-9A3F76CC0F15",
                  "versionEndExcluding": "11.6.0.3",
                  "versionStartIncluding": "11.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "217D7CA5-49E9-4805-A2F6-32EC75F6EE91",
                  "versionEndExcluding": "11.7.3",
                  "versionStartIncluding": "11.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "The Erlang/OTP ssl application does not validate that the PSK identity list and binder list carried in a TLS 1.3 ClientHello pre-shared key extension have equal length before passing them to the session ticket handler. In tls_handshake_1_3:handle_pre_shared_key/3, an OfferedPreSharedKeys record with a mismatched number of identities and binders is forwarded directly to tls_server_session_ticket:use/4, which crashes the session ticket handler process.\n\nAn unauthenticated remote attacker can send a single crafted ClientHello to a TLS 1.3 server with session tickets enabled (stateful or stateless mode) and permanently disrupt session ticket handling on that listener. New TLS 1.3 handshakes complete but subsequently crash when the server attempts to issue a session ticket, effectively making TLS 1.3 unusable on the affected listener until the ssl application is restarted. TLS 1.2 connections are not affected.\n\nThis issue affects OTP from OTP\u00a022.2 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.3, and OTP\u00a029.0.3, corresponding to ssl from 9.5 before 11.2.12.10, 11.6.0.3, and 11.7.3."
        },
        {
          "lang": "es",
          "value": "La aplicaci\u00f3n ssl de Erlang/OTP no valida que la lista de identidades PSK y la lista de \u2019binders\u2019 transportadas en una extensi\u00f3n de clave precompartida de ClientHello de TLS 1.3 tengan la misma longitud antes de pasarlas al gestor de tickets de sesi\u00f3n. En tls_handshake_1_3:handle_pre_shared_key/3, un registro OfferedPreSharedKeys con un n\u00famero no coincidente de identidades y \u2019binders\u2019 se reenv\u00eda directamente a tls_server_session_ticket:use/4, lo que provoca la ca\u00edda del proceso del gestor de tickets de sesi\u00f3n.\n\nUn atacante remoto no autenticado puede enviar un \u00fanico ClientHello manipulado a un servidor TLS 1.3 con tickets de sesi\u00f3n habilitados (modo con estado o sin estado) y perturbar permanentemente el manejo de tickets de sesi\u00f3n en esa escucha. Los nuevos \u2019handshakes\u2019 de TLS 1.3 se completan pero posteriormente fallan cuando el servidor intenta emitir un ticket de sesi\u00f3n, haciendo que TLS 1.3 sea efectivamente inutilizable en la escucha afectada hasta que se reinicie la aplicaci\u00f3n ssl. Las conexiones TLS 1.2 no se ven afectadas.\n\nEste problema afecta a OTP desde 22.2 antes de 29.0.3, 28.5.0.3 y 27.3.4.14 correspondiente a ssl desde 9.5 antes de 11.7.3, 11.6.0.3 y 11.2.12.10."
        }
      ],
      "id": "CVE-2026-55952",
      "lastModified": "2026-11-20T06:17:32.220",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "PRESENT",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 8.2,
              "baseSeverity": "HIGH",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "HIGH",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-55952",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-02T17:28:09.569991Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-02T17:17:03.067",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Mitigation",
            "Vendor Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-55952.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/095f744713c325acdbd18c23e397f04593c06275"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/2c3e599797644310e5d4aa39c7193420e59dadff"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/339a279f02ce38a7b23010e56000613e19abb21f"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/9b5437c72fa3403a75c1aba28e5c532bc191c662"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/e77823e6d980b2ec0b4fe4ea3f2d098ca239e3ce"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-8c57-44c9-pc59"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Mitigation",
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-55952"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-1284"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-55950

    Vulnerability from fkie_nvd - Published: 2026-07-02 17:17 - Updated: 2026-11-20 06:17
    Summary
    Time-of-check Time-of-use (TOCTOU) race condition vulnerability in Erlang/OTP ssl (dtls_packet_demux module) allows an unauthenticated remote attacker to crash all active DTLS sessions on a listener. A DTLS server listener uses a single shared dtls_packet_demux gen_server process to route incoming UDP datagrams to the correct connection handler. When a DTLS client reconnects rapidly from the same source address and port (sending multiple ClientHello messages in quick succession), a race condition in the demux's internal gb_trees key-value store causes a {key_exists, {old, Client}} crash, terminating the demux process. Because the demux is shared across all DTLS associations on that listener, its crash immediately kills every active DTLS session, not just the attacker's. The attack is pre-authentication: the attacker only needs to send UDP datagrams containing valid ClientHello messages from the same source IP and port before the intermediate DOWN monitor message is processed by the gen_server. No credentials, no completed handshake, and no special configuration are required, and the crash can be repeated indefinitely to create a persistent denial of service for all clients of that listener. This vulnerability is associated with program file lib/ssl/src/dtls_packet_demux.erl. This issue affects OTP from OTP 25.3 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 10.9 before 11.2.12.10, 11.6.0.3, and 11.7.3.

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "dtls_packet_demux"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/dtls_packet_demux.erl"
              ],
              "programRoutines": [
                {
                  "name": "dtls_packet_demux:handle_call/3"
                },
                {
                  "name": "dtls_packet_demux:handle_info/2"
                },
                {
                  "name": "dtls_packet_demux:new_connection/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.10",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "10.9",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "dtls_packet_demux"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/dtls_packet_demux.erl"
              ],
              "programRoutines": [
                {
                  "name": "dtls_packet_demux:handle_call/3"
                },
                {
                  "name": "dtls_packet_demux:handle_info/2"
                },
                {
                  "name": "dtls_packet_demux:new_connection/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "25.3",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "dtls_packet_demux"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/dtls_packet_demux.erl"
              ],
              "programRoutines": [
                {
                  "name": "dtls_packet_demux:handle_call/3"
                },
                {
                  "name": "dtls_packet_demux:handle_info/2"
                },
                {
                  "name": "dtls_packet_demux:new_connection/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04",
                  "status": "affected",
                  "version": "44dcb4c3d900777493ce2a6129f451aa475811f9",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "6C582A53-04F6-4606-9FC5-191C948E4890",
                  "versionEndExcluding": "27.3.4.14",
                  "versionStartIncluding": "25.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "230E3EE3-6A18-4848-8E3D-DB0FAA8EDFDC",
                  "versionEndExcluding": "28.5.0.3",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5D2D0C24-E302-48BF-9550-CCC7ABA24BED",
                  "versionEndExcluding": "29.0.3",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B28E54A4-DCFD-4B62-A526-8A3EEE07B3F5",
                  "versionEndExcluding": "11.2.12.10",
                  "versionStartIncluding": "10.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "670E1622-32D4-45D0-A05E-9A3F76CC0F15",
                  "versionEndExcluding": "11.6.0.3",
                  "versionStartIncluding": "11.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "217D7CA5-49E9-4805-A2F6-32EC75F6EE91",
                  "versionEndExcluding": "11.7.3",
                  "versionStartIncluding": "11.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Time-of-check Time-of-use (TOCTOU) race condition vulnerability in Erlang/OTP ssl (dtls_packet_demux module) allows an unauthenticated remote attacker to crash all active DTLS sessions on a listener.\n\nA DTLS server listener uses a single shared dtls_packet_demux gen_server process to route incoming UDP datagrams to the correct connection handler. When a DTLS client reconnects rapidly from the same source address and port (sending multiple ClientHello messages in quick succession), a race condition in the demux\u0027s internal gb_trees key-value store causes a {key_exists, {old, Client}} crash, terminating the demux process. Because the demux is shared across all DTLS associations on that listener, its crash immediately kills every active DTLS session, not just the attacker\u0027s.\n\nThe attack is pre-authentication: the attacker only needs to send UDP datagrams containing valid ClientHello messages from the same source IP and port before the intermediate DOWN monitor message is processed by the gen_server. No credentials, no completed handshake, and no special configuration are required, and the crash can be repeated indefinitely to create a persistent denial of service for all clients of that listener.\n\nThis vulnerability is associated with program file lib/ssl/src/dtls_packet_demux.erl.\n\nThis issue affects OTP from OTP\u00a025.3 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.3, and OTP\u00a029.0.3, corresponding to ssl from 10.9 before 11.2.12.10, 11.6.0.3, and 11.7.3."
        },
        {
          "lang": "es",
          "value": "Vulnerabilidad de condici\u00f3n de carrera Time-of-check Time-of-use (TOCTOU) en Erlang/OTP ssl (m\u00f3dulo dtls_packet_demux) permite a un atacante remoto no autenticado colapsar todas las sesiones DTLS activas en un oyente.\n\nUn oyente de servidor DTLS utiliza un \u00fanico proceso gen_server dtls_packet_demux compartido para enrutar datagramas UDP entrantes al gestor de conexi\u00f3n correcto. Cuando un cliente DTLS se reconecta r\u00e1pidamente desde la misma direcci\u00f3n de origen y puerto (enviando m\u00faltiples mensajes ClientHello en r\u00e1pida sucesi\u00f3n), una condici\u00f3n de carrera en el almac\u00e9n clave-valor gb_trees interno del demux causa un colapso {key_exists, {old, Client}}, terminando el proceso demux. Debido a que el demux se comparte entre todas las asociaciones DTLS en ese oyente, su colapso mata inmediatamente cada sesi\u00f3n DTLS activa, no solo la del atacante.\n\nEl ataque es de pre-autenticaci\u00f3n: el atacante solo necesita enviar datagramas UDP que contengan mensajes ClientHello v\u00e1lidos desde la misma IP de origen y puerto antes de que el mensaje de monitor DOWN intermedio sea procesado por el gen_server. No se requieren credenciales, ni un handshake completado, ni una configuraci\u00f3n especial, y el colapso puede repetirse indefinidamente para crear una denegaci\u00f3n de servicio persistente para todos los clientes de ese oyente.\n\nEsta vulnerabilidad est\u00e1 asociada con el archivo de programa lib/ssl/src/dtls_packet_demux.erl.\n\nEste problema afecta a OTP desde OTP 25.3 antes de 29.0.3, 28.5.0.3 y 27.3.4.14 correspondiente a ssl desde 10.9 antes de 11.7.3, 11.6.0.3 y 11.2.12.10."
        }
      ],
      "id": "CVE-2026-55950",
      "lastModified": "2026-11-20T06:17:31.813",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 5.9,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 2.2,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "NONE",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 8.7,
              "baseSeverity": "HIGH",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "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",
              "version": "4.0",
              "vulnAvailabilityImpact": "HIGH",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-55950",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "yes"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-02T17:25:47.169172Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-02T17:17:02.910",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-55950.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/44dcb4c3d900777493ce2a6129f451aa475811f9"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/e44d2bf01c4473ef2ea7f09e3523cf96de6e4a04"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-hwfc-5hf4-gvr3"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-55950"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-367"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-55737

    Vulnerability from fkie_nvd - Published: 2026-07-27 16:17 - Updated: 2026-11-20 06:17
    Summary
    Signed to Unsigned Conversion Error and Out-of-bounds Write vulnerability in Erlang OTP erts allows an attacker who can supply a crafted Erlang external term format (ETF) binary to binary_to_term/1 to corrupt the BEAM heap pointer and crash the virtual machine. When decoding a LARGE_TUPLE_EXT term, the validation pass decoded_size() in erts/emulator/beam/external.c reads the 32-bit arity field as unsigned (get_uint32()), while the decode pass dec_term() reads the same field as a signed 32-bit integer (get_int32()) into an int. An arity wire value of 0x80000000 passes validation as 2147483648 but decodes as -2147483648, so the subsequent hp += n moves the heap allocation pointer backward. Neither pass enforces the runtime tuple-arity limit MAX_ARITYVAL. The result is an out-of-bounds heap write; in practice the VM detects an impossible heap size and aborts, denying service. The required padding is large when uncompressed but the compressed-ETF envelope shrinks it to a small payload on the wire. This issue affects OTP from OTP 25.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 13.0 before 15.2.7.11, 16.4.0.4, and 17.0.4.
    Impacted products

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erlang",
                "external"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/external.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "decoded_size"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.11",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "13.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erlang",
                "external"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "decoded_size"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "25.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erlang",
                "external"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "decoded_size"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "c5210b42a9d3d96f3d25601942ce8122be0f3761",
                  "status": "affected",
                  "version": "ebcbb97b4ec223464cac3d94375739a248ddef6e",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "DA31D517-2243-46BE-AD40-106BBD8997CF",
                  "versionEndExcluding": "27.3.4.15",
                  "versionStartIncluding": "25.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
                  "versionEndExcluding": "28.5.0.4",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
                  "versionEndExcluding": "29.0.4",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "921D6395-EE4B-4E7E-AED8-BD77752A0C9E",
                  "versionEndExcluding": "15.2.7.11",
                  "versionStartIncluding": "13.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "31D9076A-4078-4597-A518-12B6E55007B8",
                  "versionEndExcluding": "16.4.0.4",
                  "versionStartIncluding": "16.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "7EC53F68-5A92-4EF5-8789-1905C50D85BF",
                  "versionEndExcluding": "17.0.4",
                  "versionStartIncluding": "17.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Signed to Unsigned Conversion Error and Out-of-bounds Write vulnerability in Erlang OTP erts allows an attacker who can supply a crafted Erlang external term format (ETF) binary to binary_to_term/1 to corrupt the BEAM heap pointer and crash the virtual machine.\n\nWhen decoding a LARGE_TUPLE_EXT term, the validation pass decoded_size() in erts/emulator/beam/external.c reads the 32-bit arity field as unsigned (get_uint32()), while the decode pass dec_term() reads the same field as a signed 32-bit integer (get_int32()) into an int. An arity wire value of 0x80000000 passes validation as 2147483648 but decodes as -2147483648, so the subsequent hp += n moves the heap allocation pointer backward. Neither pass enforces the runtime tuple-arity limit MAX_ARITYVAL. The result is an out-of-bounds heap write; in practice the VM detects an impossible heap size and aborts, denying service. The required padding is large when uncompressed but the compressed-ETF envelope shrinks it to a small payload on the wire.\n\nThis issue affects OTP from OTP\u00a025.0 before OTP\u00a027.3.4.15, OTP\u00a028.5.0.4, and OTP\u00a029.0.4, corresponding to erts from 13.0 before 15.2.7.11, 16.4.0.4, and 17.0.4."
        },
        {
          "lang": "es",
          "value": "La vulnerabilidad de error de conversi\u00f3n de firmado a no firmado y escritura fuera de l\u00edmites en Erlang OTP erts permite a un atacante que puede proporcionar un binario de formato de t\u00e9rmino externo (ETF) de Erlang manipulado a binary_to_term/1 corromper el puntero del mont\u00f3n de BEAM y bloquear la m\u00e1quina virtual.\n\nAl decodificar un t\u00e9rmino LARGE_TUPLE_EXT, el paso de validaci\u00f3n decoded_size() en erts/emulator/beam/external.c lee el campo de aridad de 32 bits como no firmado (get_uint32()), mientras que el paso de decodificaci\u00f3n dec_term() lee el mismo campo como un entero firmado de 32 bits (get_int32()) en un int. Un valor de aridad en la red de 0x80000000 pasa la validaci\u00f3n como 2147483648 pero decodifica como -2147483648, por lo que el hp += n subsiguiente mueve el puntero de asignaci\u00f3n del mont\u00f3n hacia atr\u00e1s. Ninguno de los pasos aplica el l\u00edmite de aridad de tupla en tiempo de ejecuci\u00f3n MAX_ARITYVAL. El resultado es una escritura fuera de l\u00edmites en el mont\u00f3n; en la pr\u00e1ctica, la MV detecta un tama\u00f1o de mont\u00f3n imposible y aborta, denegando el servicio. El relleno requerido es grande cuando no est\u00e1 comprimido, pero la envoltura ETF comprimida lo reduce a una peque\u00f1a carga \u00fatil en la red.\n\nEste problema afecta a OTP desde OTP 25.0 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15, correspondiente a erts desde 13.0 antes de 17.0.4, 16.4.0.4 y 15.2.7.11."
        }
      ],
      "id": "CVE-2026-55737",
      "lastModified": "2026-11-20T06:17:31.620",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "NONE",
              "attackVector": "LOCAL",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 5.1,
              "baseSeverity": "MEDIUM",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "LOW",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-55737",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-27T18:34:45.698069Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-27T16:17:48.847",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-55737.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/c5210b42a9d3d96f3d25601942ce8122be0f3761"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/ebcbb97b4ec223464cac3d94375739a248ddef6e"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-446w-268v-9462"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-55737"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-195"
            },
            {
              "lang": "en",
              "value": "CWE-787"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-54891

    Vulnerability from fkie_nvd - Published: 2026-07-02 17:17 - Updated: 2026-11-20 06:17
    Summary
    Improper Enforcement of Message Integrity During Transmission in a Communication Channel vulnerability in Erlang/OTP ssl (tls_gen_connection module) allows a network-positioned attacker to inject unauthenticated plaintext that the TLS client application later treats as authenticated server data. The function tls_gen_connection:handle_protocol_record/3 rejects APPLICATION_DATA records that arrive in pre-handshake states when the TLS endpoint acts as a server, but does not apply the same check when the endpoint acts as a client. A network-positioned attacker can send plaintext APPLICATION_DATA records to the client during the handshake. The records are buffered and, once the handshake completes successfully, delivered to the application as if they were authenticated post-handshake data. The attacker cannot observe the client's response or steer the connection, so the impact is limited to blind injection of unauthenticated bytes. The injection window is wider for TLS versions prior to TLS 1.3 than for TLS 1.3. This vulnerability is associated with program file lib/ssl/src/tls_gen_connection.erl. TLS 1.3 is affected starting with OTP 22.0, when TLS 1.3 support was added. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.3, and 11.7.3. Whether OTP before OTP 17.0, corresponding to ssl before 5.3.4, is affected is unknown.

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "tls_gen_connection"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/tls_gen_connection.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_gen_connection:handle_protocol_record/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.10",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.3.4",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "tls_gen_connection"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_gen_connection.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_gen_connection:handle_protocol_record/3"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "tls_gen_connection"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_gen_connection.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_gen_connection:handle_protocol_record/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "07d2d0e93f6aaf7652a81e8df075fc1728da5e96",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "07d2d0e93f6aaf7652a81e8df075fc1728da5e96",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "863CA902-6EB1-46CB-BC52-22F3AC6B4A14",
                  "versionEndExcluding": "27.3.4.14",
                  "versionStartIncluding": "17.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "230E3EE3-6A18-4848-8E3D-DB0FAA8EDFDC",
                  "versionEndExcluding": "28.5.0.3",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5D2D0C24-E302-48BF-9550-CCC7ABA24BED",
                  "versionEndExcluding": "29.0.3",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "FF4A7DEF-7E28-4DDF-A40F-45AB902AB04F",
                  "versionEndExcluding": "11.2.12.10",
                  "versionStartIncluding": "5.3.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "670E1622-32D4-45D0-A05E-9A3F76CC0F15",
                  "versionEndExcluding": "11.6.0.3",
                  "versionStartIncluding": "11.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "217D7CA5-49E9-4805-A2F6-32EC75F6EE91",
                  "versionEndExcluding": "11.7.3",
                  "versionStartIncluding": "11.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Improper Enforcement of Message Integrity During Transmission in a Communication Channel vulnerability in Erlang/OTP ssl (tls_gen_connection module) allows a network-positioned attacker to inject unauthenticated plaintext that the TLS client application later treats as authenticated server data.\n\nThe function tls_gen_connection:handle_protocol_record/3 rejects APPLICATION_DATA records that arrive in pre-handshake states when the TLS endpoint acts as a server, but does not apply the same check when the endpoint acts as a client. A network-positioned attacker can send plaintext APPLICATION_DATA records to the client during the handshake. The records are buffered and, once the handshake completes successfully, delivered to the application as if they were authenticated post-handshake data. The attacker cannot observe the client\u0027s response or steer the connection, so the impact is limited to blind injection of unauthenticated bytes. The injection window is wider for TLS versions prior to TLS 1.3 than for TLS 1.3.\n\nThis vulnerability is associated with program file lib/ssl/src/tls_gen_connection.erl.\n\nTLS 1.3 is affected starting with OTP\u00a022.0, when TLS 1.3 support was added.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.3, and OTP\u00a029.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.3, and 11.7.3. Whether OTP before OTP\u00a017.0, corresponding to ssl before 5.3.4, is affected is unknown."
        },
        {
          "lang": "es",
          "value": "Vulnerabilidad de Aplicaci\u00f3n Incorrecta de la Integridad del Mensaje Durante la Transmisi\u00f3n en un Canal de Comunicaci\u00f3n en Erlang/OTP ssl (m\u00f3dulo tls_gen_connection) permite a un atacante posicionado en la red inyectar texto plano no autenticado que la aplicaci\u00f3n cliente TLS trata posteriormente como datos de servidor autenticados.\n\nLa funci\u00f3n tls_gen_connection:handle_protocol_record/3 rechaza los registros APPLICATION_DATA que llegan en estados de pre-handshake cuando el punto final TLS act\u00faa como un servidor, pero no aplica la misma verificaci\u00f3n cuando el punto final act\u00faa como un cliente. Un atacante posicionado en la red puede enviar registros APPLICATION_DATA de texto plano al cliente durante el handshake. Los registros se almacenan en b\u00fafer y, una vez que el handshake se completa con \u00e9xito, se entregan a la aplicaci\u00f3n como si fueran datos post-handshake autenticados. El atacante no puede observar la respuesta del cliente ni dirigir la conexi\u00f3n, por lo que el impacto se limita a la inyecci\u00f3n ciega de bytes no autenticados. La ventana de inyecci\u00f3n es m\u00e1s amplia para las versiones de TLS anteriores a TLS 1.3 que para TLS 1.3.\n\nEsta vulnerabilidad est\u00e1 asociada con el archivo de programa lib/ssl/src/tls_gen_connection.erl.\n\nEste problema afecta a OTP desde OTP 17.0 antes de 29.0.3, 28.5.0.3 y 27.3.4.14 correspondiente a ssl desde 5.3.4 antes de 11.7.3, 11.6.0.3 y 11.2.12.10. TLS 1.3 se ve afectado a partir de OTP 22.0, cuando se a\u00f1adi\u00f3 el soporte para TLS 1.3."
        }
      ],
      "id": "CVE-2026-54891",
      "lastModified": "2026-11-20T06:17:31.420",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 3.7,
              "baseSeverity": "LOW",
              "confidentialityImpact": "NONE",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 2.2,
            "impactScore": 1.4,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "HIGH",
              "attackRequirements": "PRESENT",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 6.3,
              "baseSeverity": "MEDIUM",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "NONE",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "LOW",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-54891",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-02T17:24:44.468465Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-02T17:17:02.747",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-54891.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/07d2d0e93f6aaf7652a81e8df075fc1728da5e96"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-gf6r-99xw-6qg6"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-54891"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-924"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-54890

    Vulnerability from fkie_nvd - Published: 2026-07-27 16:17 - Updated: 2026-11-20 06:17
    Summary
    Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts modules) allows Forced Integer Overflow, Excessive Allocation. This vulnerability is associated with program files erts/emulator/beam/external.c, emulator/beam/external.c. The BIT_BINARY_EXT tag (77) handler in the External Term Format (ETF) decoder accepts an encoding with both length and trailing-bits fields set to zero. The subsequent computation of the bitstring size underflows an unsigned integer, producing a value of roughly 2^64 that is then passed as a memory allocation size. The allocator aborts the entire node with a message such as Cannot allocate 2305843009213693951 bytes of memory (of type "binary"). The crash is a VM-level abort, not an Erlang-level exception. It cannot be intercepted by supervision trees, by try/catch, or by passing the [safe] option to binary_to_term/2 (which only restricts atom creation and does not perform structural validation of binary encodings). Any application that decodes ETF from untrusted sources via binary_to_term/1,2 or enif_binary_to_term() is exposed. The Erlang distribution protocol also decodes incoming terms through the same code path, but distribution is expected to run on trusted networks per the OTP Secure Coding Guidelines (DSG-011). This issue affects OTP from OTP 27.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 15.0 before 15.2.7.11, 16.4.0.4, and 17.0.4.
    Impacted products

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/external.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.11",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "15.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.4",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "27.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "dc1bf9344c0ce62717cf60866590cea0242780fd",
                  "status": "affected",
                  "version": "24ef4cbaeda9b9c26682cba75f2f15b0c58722aa",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E7740717-E30D-4D4B-8226-037788AA2440",
                  "versionEndExcluding": "27.3.4.15",
                  "versionStartIncluding": "27.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
                  "versionEndExcluding": "28.5.0.4",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
                  "versionEndExcluding": "29.0.4",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "11B1C890-908F-4DA6-BA70-903488089424",
                  "versionEndExcluding": "15.2.7.11",
                  "versionStartIncluding": "15.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "31D9076A-4078-4597-A518-12B6E55007B8",
                  "versionEndExcluding": "16.4.0.4",
                  "versionStartIncluding": "16.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "7EC53F68-5A92-4EF5-8789-1905C50D85BF",
                  "versionEndExcluding": "17.0.4",
                  "versionStartIncluding": "17.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts modules) allows Forced Integer Overflow, Excessive Allocation. This vulnerability is associated with program files erts/emulator/beam/external.c, emulator/beam/external.c.\n\nThe BIT_BINARY_EXT tag (77) handler in the External Term Format (ETF) decoder accepts an encoding with both length and trailing-bits fields set to zero. The subsequent computation of the bitstring size underflows an unsigned integer, producing a value of roughly 2^64 that is then passed as a memory allocation size. The allocator aborts the entire node with a message such as Cannot allocate 2305843009213693951 bytes of memory (of type \"binary\").\n\nThe crash is a VM-level abort, not an Erlang-level exception. It cannot be intercepted by supervision trees, by try/catch, or by passing the [safe] option to binary_to_term/2 (which only restricts atom creation and does not perform structural validation of binary encodings).\n\nAny application that decodes ETF from untrusted sources via binary_to_term/1,2 or enif_binary_to_term() is exposed. The Erlang distribution protocol also decodes incoming terms through the same code path, but distribution is expected to run on trusted networks per the OTP Secure Coding Guidelines (DSG-011).\n\nThis issue affects OTP from OTP\u00a027.0 before OTP\u00a027.3.4.15, OTP\u00a028.5.0.4, and OTP\u00a029.0.4, corresponding to erts from 15.0 before 15.2.7.11, 16.4.0.4, and 17.0.4."
        },
        {
          "lang": "es",
          "value": "Vulnerabilidad de desbordamiento negativo de entero (wrap o wraparound) en erlang otp erlang/otp (m\u00f3dulos erts), erlang otp erts (m\u00f3dulos erts) permite el desbordamiento de entero forzado, asignaci\u00f3n excesiva. Esta vulnerabilidad est\u00e1 asociada con los archivos de programa erts/emulator/beam/external.c, emulator/beam/external.c.\n\nEl gestor de la etiqueta BIT_BINARY_EXT (77) en el decodificador de Formato de T\u00e9rmino Externo (ETF) acepta una codificaci\u00f3n con los campos de longitud y bits finales (trailing-bits) establecidos a cero. El c\u00e1lculo subsiguiente del tama\u00f1o de la cadena de bits (bitstring) causa un desbordamiento negativo en un entero sin signo, produciendo un valor de aproximadamente 2^64 que luego se pasa como tama\u00f1o de asignaci\u00f3n de memoria. El asignador aborta el nodo completo con un mensaje como \u2019Cannot allocate 2305843009213693951 bytes of memory (of type binary)\u2019.\n\nEl fallo es una anulaci\u00f3n a nivel de VM, no una excepci\u00f3n a nivel de Erlang. No puede ser interceptado por \u00e1rboles de supervisi\u00f3n, por try/catch, o pasando la opci\u00f3n [safe] a binary_to_term/2 (que solo restringe la creaci\u00f3n de \u00e1tomos y no realiza la validaci\u00f3n estructural de las codificaciones binarias).\n\nCualquier aplicaci\u00f3n que decodifique ETF de fuentes no confiables a trav\u00e9s de binary_to_term/1,2 o enif_binary_to_term() est\u00e1 expuesta. El protocolo de distribuci\u00f3n de Erlang tambi\u00e9n decodifica los t\u00e9rminos entrantes a trav\u00e9s de la misma ruta de c\u00f3digo, pero se espera que la distribuci\u00f3n se ejecute en redes confiables seg\u00fan las Directrices de Codificaci\u00f3n Segura de OTP (DSG-011).\n\nEste problema afecta a OTP desde OTP 27.0 antes de OTP 29.0.4, OTP 28.5.0.4 y OTP 27.3.4.15, correspondiendo a erts desde 15.0 antes de 17.0.4, 16.4.0.4 y 15.2.7.11."
        }
      ],
      "id": "CVE-2026-54890",
      "lastModified": "2026-11-20T06:17:31.203",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 7.5,
              "baseSeverity": "HIGH",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 3.6,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "PRESENT",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 8.2,
              "baseSeverity": "HIGH",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "HIGH",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-54890",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-27T18:18:57.223218Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-27T16:17:41.437",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-54890.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/24ef4cbaeda9b9c26682cba75f2f15b0c58722aa"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/dc1bf9344c0ce62717cf60866590cea0242780fd"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-54pw-5645-jh86"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-54890"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-191"
            },
            {
              "lang": "en",
              "value": "CWE-789"
            },
            {
              "lang": "en",
              "value": "CWE-1284"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    FKIE_CVE-2026-54887

    Vulnerability from fkie_nvd - Published: 2026-07-02 17:17 - Updated: 2026-11-20 06:17
    Summary
    Use of Default Cryptographic Key vulnerability in Erlang/OTP ssl (DTLS server) allows predictable DTLS cookie computation during the startup window, enabling source address verification bypass. On DTLS server startup, dtls_server_connection:initial_hello/3 initializes previous_cookie_secret to the empty binary (<<>>) instead of a random value. Because HMAC with an empty key is deterministic, anyone who observes the plaintext ClientHello can compute dtls_handshake:cookie(<<>>, IP, Port, Hello) and forge a valid DTLS cookie before the first rotation of the cookie secret. The DTLS cookie (RFC 6347 §4.2.1) is a denial-of-service mitigation that prevents spoofed source IPs from forcing the server to allocate state and perform expensive cryptographic operations; it is not an authentication mechanism. During the window from server startup until the first secret rotation (0 to 15 seconds), an attacker who can observe the plaintext ClientHello can bypass the source address verification, enabling DTLS handshake amplification with spoofed source addresses. This vulnerability is associated with program file lib/ssl/src/dtls_server_connection.erl and program routine dtls_server_connection:initial_hello/3. This issue affects OTP from OTP 20.0 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 8.2 before 11.2.12.10, 11.6.0.3, and 11.7.3.

    {
      "affected": [
        {
          "affectedData": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "dtls_server_connection"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/dtls_server_connection.erl"
              ],
              "programRoutines": [
                {
                  "name": "dtls_server_connection:initial_hello/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.10",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "8.2",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "dtls_server_connection"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/dtls_server_connection.erl"
              ],
              "programRoutines": [
                {
                  "name": "dtls_server_connection:initial_hello/3"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "20.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "dtls_server_connection"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/dtls_server_connection.erl"
              ],
              "programRoutines": [
                {
                  "name": "dtls_server_connection:initial_hello/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "888e3bcd72d5406016b9e0de741026bc2a6f114d",
                  "status": "affected",
                  "version": "e594aad2f87aab39e99fccf9e021bc94e0bbf7d4",
                  "versionType": "git"
                }
              ]
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
        }
      ],
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "9518F36D-1DBF-4D55-8FF3-FB98F16B46F8",
                  "versionEndExcluding": "27.3.4.14",
                  "versionStartIncluding": "20.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "230E3EE3-6A18-4848-8E3D-DB0FAA8EDFDC",
                  "versionEndExcluding": "28.5.0.3",
                  "versionStartIncluding": "28.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "5D2D0C24-E302-48BF-9550-CCC7ABA24BED",
                  "versionEndExcluding": "29.0.3",
                  "versionStartIncluding": "29.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "8BC761D4-709A-4B2B-92E6-6B6E8B98E5B0",
                  "versionEndExcluding": "11.2.12.10",
                  "versionStartIncluding": "8.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "670E1622-32D4-45D0-A05E-9A3F76CC0F15",
                  "versionEndExcluding": "11.6.0.3",
                  "versionStartIncluding": "11.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:erlang:erlang\\/ssl:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "217D7CA5-49E9-4805-A2F6-32EC75F6EE91",
                  "versionEndExcluding": "11.7.3",
                  "versionStartIncluding": "11.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "cveTags": [],
      "descriptions": [
        {
          "lang": "en",
          "value": "Use of Default Cryptographic Key vulnerability in Erlang/OTP ssl (DTLS server) allows predictable DTLS cookie computation during the startup window, enabling source address verification bypass.\n\nOn DTLS server startup, dtls_server_connection:initial_hello/3 initializes previous_cookie_secret to the empty binary (\u003c\u003c\u003e\u003e) instead of a random value. Because HMAC with an empty key is deterministic, anyone who observes the plaintext ClientHello can compute dtls_handshake:cookie(\u003c\u003c\u003e\u003e, IP, Port, Hello) and forge a valid DTLS cookie before the first rotation of the cookie secret. The DTLS cookie (RFC 6347 \u00a74.2.1) is a denial-of-service mitigation that prevents spoofed source IPs from forcing the server to allocate state and perform expensive cryptographic operations; it is not an authentication mechanism. During the window from server startup until the first secret rotation (0 to 15 seconds), an attacker who can observe the plaintext ClientHello can bypass the source address verification, enabling DTLS handshake amplification with spoofed source addresses.\n\nThis vulnerability is associated with program file lib/ssl/src/dtls_server_connection.erl and program routine dtls_server_connection:initial_hello/3.\n\nThis issue affects OTP from OTP\u00a020.0 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.3, and OTP\u00a029.0.3, corresponding to ssl from 8.2 before 11.2.12.10, 11.6.0.3, and 11.7.3."
        },
        {
          "lang": "es",
          "value": "La vulnerabilidad de uso de clave criptogr\u00e1fica predeterminada en Erlang/OTP ssl (servidor DTLS) permite el c\u00e1lculo predecible de la cookie DTLS durante la ventana de inicio, lo que permite el bypass de la verificaci\u00f3n de direcci\u00f3n de origen.\n\nAl inicio del servidor DTLS, dtls_server_connection:initial_hello/3 inicializa previous_cookie_secret al binario vac\u00edo (\u003c\u003c\u003e\u003e) en lugar de un valor aleatorio. Debido a que HMAC con una clave vac\u00eda es determinista, cualquiera que observe el ClientHello en texto plano puede calcular dtls_handshake:cookie(\u003c\u003c\u003e\u003e, IP, Puerto, Hello) y forjar una cookie DTLS v\u00e1lida antes de la primera rotaci\u00f3n del secreto de la cookie. La cookie DTLS (RFC 6347 \u00a74.2.1) es una mitigaci\u00f3n de denegaci\u00f3n de servicio que evita que las IP de origen falsificadas fuercen al servidor a asignar estado y a realizar operaciones criptogr\u00e1ficas costosas; no es un mecanismo de autenticaci\u00f3n. Durante la ventana desde el inicio del servidor hasta la primera rotaci\u00f3n del secreto (0 a 15 segundos), un atacante que puede observar el ClientHello en texto plano puede bypassar la verificaci\u00f3n de direcci\u00f3n de origen, lo que permite la amplificaci\u00f3n del handshake DTLS con direcciones de origen falsificadas.\n\nEsta vulnerabilidad est\u00e1 asociada con el archivo de programa lib/ssl/src/dtls_server_connection.erl y la rutina de programa dtls_server_connection:initial_hello/3.\n\nEste problema afecta a OTP desde OTP 20.0 antes de 29.0.3, 28.5.0.3 y 27.3.4.14 correspondiente a ssl desde 8.2 antes de 11.7.3, 11.6.0.3 y 11.2.12.10."
        }
      ],
      "id": "CVE-2026-54887",
      "lastModified": "2026-11-20T06:17:31.003",
      "metrics": {
        "cvssMetricV31": [
          {
            "cvssData": {
              "attackComplexity": "HIGH",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 4.8,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
              "version": "3.1"
            },
            "exploitabilityScore": 2.2,
            "impactScore": 2.5,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ],
        "cvssMetricV40": [
          {
            "cvssData": {
              "Automatable": "NOT_DEFINED",
              "Recovery": "NOT_DEFINED",
              "Safety": "NOT_DEFINED",
              "attackComplexity": "LOW",
              "attackRequirements": "PRESENT",
              "attackVector": "NETWORK",
              "availabilityRequirement": "NOT_DEFINED",
              "baseScore": 6.3,
              "baseSeverity": "MEDIUM",
              "confidentialityRequirement": "NOT_DEFINED",
              "exploitMaturity": "NOT_DEFINED",
              "integrityRequirement": "NOT_DEFINED",
              "modifiedAttackComplexity": "NOT_DEFINED",
              "modifiedAttackRequirements": "NOT_DEFINED",
              "modifiedAttackVector": "NOT_DEFINED",
              "modifiedPrivilegesRequired": "NOT_DEFINED",
              "modifiedSubAvailabilityImpact": "NOT_DEFINED",
              "modifiedSubConfidentialityImpact": "NOT_DEFINED",
              "modifiedSubIntegrityImpact": "NOT_DEFINED",
              "modifiedUserInteraction": "NOT_DEFINED",
              "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
              "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
              "modifiedVulnIntegrityImpact": "NOT_DEFINED",
              "privilegesRequired": "NONE",
              "providerUrgency": "NOT_DEFINED",
              "subAvailabilityImpact": "NONE",
              "subConfidentialityImpact": "NONE",
              "subIntegrityImpact": "NONE",
              "userInteraction": "NONE",
              "valueDensity": "NOT_DEFINED",
              "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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",
              "version": "4.0",
              "vulnAvailabilityImpact": "LOW",
              "vulnConfidentialityImpact": "NONE",
              "vulnIntegrityImpact": "NONE",
              "vulnerabilityResponseEffort": "NOT_DEFINED"
            },
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ],
        "ssvcV203": [
          {
            "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
            "ssvcData": {
              "id": "CVE-2026-54887",
              "options": [
                {
                  "exploitation": "none"
                },
                {
                  "automatable": "no"
                },
                {
                  "technicalImpact": "partial"
                }
              ],
              "role": "CISA Coordinator",
              "timestamp": "2026-07-02T17:28:36.936306Z",
              "version": "2.0.3"
            }
          }
        ]
      },
      "published": "2026-07-02T17:17:02.570",
      "references": [
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-54887.html"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Patch"
          ],
          "url": "https://github.com/erlang/otp/commit/888e3bcd72d5406016b9e0de741026bc2a6f114d"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "url": "https://github.com/erlang/otp/commit/e594aad2f87aab39e99fccf9e021bc94e0bbf7d4"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Vendor Advisory"
          ],
          "url": "https://github.com/erlang/otp/security/advisories/GHSA-p2m2-3c2w-8jp8"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Third Party Advisory"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-54887"
        },
        {
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "tags": [
            "Release Notes"
          ],
          "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
        }
      ],
      "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-1394"
            }
          ],
          "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "type": "Secondary"
        }
      ]
    }

    CVE-2026-125658 (GCVE-0-2026-125658)

    Vulnerability from nvd – Published: 2026-11-24 15:28 – Updated: 2026-11-24 16:28
    VLAI
    Title
    Use after free in erts file name normalization on macOS
    Summary
    Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS. On macOS, the VM decodes file names with do_utf8_to_list_normalize in erts/emulator/beam/erl_unicode.c. When a name starts with a combining mark, such as U+0301, cleanup_norm builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 and filelib:wildcard/1 on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. file:read_link/1 on a symbolic link with such a target aborts the VM with size_object: bad tag. Only loss of availability was demonstrated. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-24 16:28 UTC
    CWE
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 9622ab2132e2501ee5769357a914dcc6635e515c , < 322b04488d9445c7258abce3e7f3bc79aa7c45d8 (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:28
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-125658",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-24T16:28:46.739978Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-24T16:28:56.749Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://cna.erlef.org/cves/CVE-2026-125658.html"
              },
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://osv.dev/vulnerability/EEF-CVE-2026-125658"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "prim_file"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/erl_unicode.c",
                "preloaded/src/prim_file.erl"
              ],
              "programRoutines": [
                {
                  "name": "cleanup_norm"
                },
                {
                  "name": "do_utf8_to_list_normalize"
                },
                {
                  "name": "prim_file_internal_native2name_1"
                },
                {
                  "name": "prim_file:internal_native2name/1"
                },
                {
                  "name": "prim_file:list_dir/1"
                },
                {
                  "name": "prim_file:list_dir_all/1"
                },
                {
                  "name": "prim_file:read_link/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "prim_file"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/erl_unicode.c",
                "erts/preloaded/src/prim_file.erl"
              ],
              "programRoutines": [
                {
                  "name": "cleanup_norm"
                },
                {
                  "name": "do_utf8_to_list_normalize"
                },
                {
                  "name": "prim_file_internal_native2name_1"
                },
                {
                  "name": "prim_file:internal_native2name/1"
                },
                {
                  "name": "prim_file:list_dir/1"
                },
                {
                  "name": "prim_file:list_dir_all/1"
                },
                {
                  "name": "prim_file:read_link/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "prim_file"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/erl_unicode.c",
                "erts/preloaded/src/prim_file.erl"
              ],
              "programRoutines": [
                {
                  "name": "cleanup_norm"
                },
                {
                  "name": "do_utf8_to_list_normalize"
                },
                {
                  "name": "prim_file_internal_native2name_1"
                },
                {
                  "name": "prim_file:internal_native2name/1"
                },
                {
                  "name": "prim_file:list_dir/1"
                },
                {
                  "name": "prim_file:list_dir_all/1"
                },
                {
                  "name": "prim_file:read_link/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "322b04488d9445c7258abce3e7f3bc79aa7c45d8",
                  "status": "affected",
                  "version": "9622ab2132e2501ee5769357a914dcc6635e515c",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe node runs on macOS with the default \u003ccode\u003eutf8\u003c/code\u003e file name encoding, and reads a directory listing or a symbolic link target that contains a name an attacker chose. Linux and other platforms do not normalize file names and are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The node runs on macOS with the default `utf8` file name encoding, and reads a directory listing or a symbolic link target that contains a name an attacker chose. Linux and other platforms do not normalize file names and are not affected."
                }
              ],
              "value": "The node runs on macOS with the default utf8 file name encoding, and reads a directory listing or a symbolic link target that contains a name an attacker chose. Linux and other platforms do not normalize file names and are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "versionStartIncluding": "17.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Sam Baud"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Sam Baud"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-11-17T03:12:33.000Z",
          "datePublic": "2026-11-24T15:28:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUse After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.\u003c/p\u003e\n\u003cp\u003eOn macOS, the VM decodes file names with \u003ccode\u003edo_utf8_to_list_normalize\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/erl_unicode.c\u003c/code\u003e. When a name starts with a combining mark, such as U+0301, \u003ccode\u003ecleanup_norm\u003c/code\u003e builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. \u003ccode\u003efile:list_dir/1\u003c/code\u003e, \u003ccode\u003efile:list_dir_all/1\u003c/code\u003e, \u003ccode\u003efile:del_dir_r/1\u003c/code\u003e and \u003ccode\u003efilelib:wildcard/1\u003c/code\u003e on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. \u003ccode\u003efile:read_link/1\u003c/code\u003e on a symbolic link with such a target aborts the VM with \u003ccode\u003esize_object: bad tag\u003c/code\u003e. Only loss of availability was demonstrated.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.\n\nOn macOS, the VM decodes file names with `do_utf8_to_list_normalize` in `erts/emulator/beam/erl_unicode.c`. When a name starts with a combining mark, such as U+0301, `cleanup_norm` builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. `file:list_dir/1`, `file:list_dir_all/1`, `file:del_dir_r/1` and `filelib:wildcard/1` on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. `file:read_link/1` on a symbolic link with such a target aborts the VM with `size_object: bad tag`. Only loss of availability was demonstrated.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
                }
              ],
              "value": "Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.\n\nOn macOS, the VM decodes file names with do_utf8_to_list_normalize in erts/emulator/beam/erl_unicode.c. When a name starts with a combining mark, such as U+0301, cleanup_norm builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 and filelib:wildcard/1 on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. file:read_link/1 on a symbolic link with such a target aborts the VM with size_object: bad tag. Only loss of availability was demonstrated.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-153",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can create a file, directory or symbolic link target with a chosen name in a location that an Erlang node on macOS reads can make the VM hang or abort. The hung VM does not stop on SIGTERM.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can create a file, directory or symbolic link target with a chosen name in a location that an Erlang node on macOS reads can make the VM hang or abort. The hung VM does not stop on SIGTERM."
                    }
                  ],
                  "value": "An attacker who can create a file, directory or symbolic link target with a chosen name in a location that an Erlang node on macOS reads can make the VM hang or abort. The hung VM does not stop on SIGTERM."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 5.7,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:28:21.735Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "Use-after-free in do_utf8_to_list_normalize: a macOS file name starting with a combining mark hangs file:list_dir/1 and the VM",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-2pqq-qr2r-wgcc"
            },
            {
              "name": "EEF CNA record for CVE-2026-125658",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-125658.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-125658",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-125658"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 9622ab2 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/9622ab2132e2501ee5769357a914dcc6635e515c"
            },
            {
              "name": "Fix commit 322b044 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/322b04488d9445c7258abce3e7f3bc79aa7c45d8"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Use after free in erts file name normalization on macOS",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eStart the VM with the \u003ccode\u003e+fnl\u003c/code\u003e flag, for example through \u003ccode\u003eERL_FLAGS\u003c/code\u003e. The VM then does not decode or normalize file names. This changes the result of file name functions for names outside ASCII: the VM returns each byte of the name as one Latin-1 character.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Start the VM with the `+fnl` flag, for example through `ERL_FLAGS`. The VM then does not decode or normalize file names. This changes the result of file name functions for names outside ASCII: the VM returns each byte of the name as one Latin-1 character."
                }
              ],
              "value": "Start the VM with the +fnl flag, for example through ERL_FLAGS. The VM then does not decode or normalize file names. This changes the result of file name functions for names outside ASCII: the VM returns each byte of the name as one Latin-1 character."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eOn macOS, create a directory with one file whose name starts with U+0301: \u003ccode\u003emkdir d \u0026amp;\u0026amp; printf x \u0026gt; \"d/$(printf \u0027\\314\\201b\u0027)\"\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eRun \u003ccode\u003eerl -noshell -eval \u0027io:format(\"~w~n\", [file:list_dir(\"d\")]), halt().\u0027\u003c/code\u003e. The command prints nothing and does not return. The VM does not stop on SIGTERM. The expected output is \u003ccode\u003e{ok,[[769,98]]}\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eRun \u003ccode\u003eerl -noshell -eval \u0027erlang:display(prim_file:internal_native2name(\u0026lt;\u0026lt;204,129,$b\u0026gt;\u0026gt;)), halt().\u0027\u003c/code\u003e. The output starts with \u003ccode\u003e[\u0026lt;cp/header:0x00000000000000c0\u0026gt;\u003c/code\u003e. The expected output is \u003ccode\u003e[769,98]\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eCreate a symbolic link with the same name as its target (\u003ccode\u003eln -s \"$(printf \u0027\\314\\201b\u0027)\" link\u003c/code\u003e) and call \u003ccode\u003efile:read_link(\"link\")\u003c/code\u003e. The VM aborts with \u003ccode\u003esize_object: bad tag for 0x80\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. On macOS, create a directory with one file whose name starts with U+0301: `mkdir d \u0026\u0026 printf x \u003e \"d/$(printf \u0027\\314\\201b\u0027)\"`.\n2. Run `erl -noshell -eval \u0027io:format(\"~w~n\", [file:list_dir(\"d\")]), halt().\u0027`. The command prints nothing and does not return. The VM does not stop on SIGTERM. The expected output is `{ok,[[769,98]]}`.\n3. Run `erl -noshell -eval \u0027erlang:display(prim_file:internal_native2name(\u003c\u003c204,129,$b\u003e\u003e)), halt().\u0027`. The output starts with `[\u003ccp/header:0x00000000000000c0\u003e`. The expected output is `[769,98]`.\n4. Create a symbolic link with the same name as its target (`ln -s \"$(printf \u0027\\314\\201b\u0027)\" link`) and call `file:read_link(\"link\")`. The VM aborts with `size_object: bad tag for 0x80`."
                }
              ],
              "value": "* On macOS, create a directory with one file whose name starts with U+0301: mkdir d \u0026\u0026 printf x \u003e \"d/$(printf \u0027\\314\\201b\u0027)\".\n* Run erl -noshell -eval \u0027io:format(\"~w~n\", [file:list_dir(\"d\")]), halt().\u0027. The command prints nothing and does not return. The VM does not stop on SIGTERM. The expected output is {ok,[[769,98]]}.\n* Run erl -noshell -eval \u0027erlang:display(prim_file:internal_native2name(\u003c\u003c204,129,$b\u003e\u003e)), halt().\u0027. The output starts with [\u003ccp/header:0x00000000000000c0\u003e. The expected output is [769,98].\n* Create a symbolic link with the same name as its target (ln -s \"$(printf \u0027\\314\\201b\u0027)\" link) and call file:read_link(\"link\"). The VM aborts with size_object: bad tag for 0x80."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Decoder entry\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eprim_file:list_dir/1\u003c/code\u003e and \u003ccode\u003eprim_file:read_link/1\u003c/code\u003e decode each native name with \u003ccode\u003eprim_file:internal_native2name/1\u003c/code\u003e. Its implementation, \u003ccode\u003eprim_file_internal_native2name_1\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/erl_unicode.c\u003c/code\u003e, calls \u003ccode\u003edo_utf8_to_list_normalize\u003c/code\u003e when the file name encoding is \u003ccode\u003eERL_FILENAME_UTF8_MAC\u003c/code\u003e. \u003ccode\u003eerts_init_sys_common_misc\u003c/code\u003e selects that encoding only on macOS.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Missing heap pointer write-back\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003edo_utf8_to_list_normalize\u003c/code\u003e reserves \u003ccode\u003e2 * num\u003c/code\u003e heap words with \u003ccode\u003eHAlloc\u003c/code\u003e, reads the name from its end, and keeps code points that can compose (U+0300 and above) in \u003ccode\u003esavepoints\u003c/code\u003e. If saved points remain when it reaches the start of the name, it calls \u003ccode\u003ecleanup_norm(\u0026amp;hp, savepoints, numpoints, \u0026amp;ret)\u003c/code\u003e and then \u003ccode\u003eHRelease(p, hp_end, hp)\u003c/code\u003e. \u003ccode\u003ecleanup_norm\u003c/code\u003e copies \u003ccode\u003e*hpp\u003c/code\u003e to a local \u003ccode\u003ehp\u003c/code\u003e, builds one cons cell per saved point, and writes back only \u003ccode\u003e*retp\u003c/code\u003e. The caller\u0027s \u003ccode\u003ehp\u003c/code\u003e still points below the new cells, so \u003ccode\u003eHRelease\u003c/code\u003e returns them to the process heap. \u003ccode\u003ehandle_potential_norm\u003c/code\u003e has the same structure and does write \u003ccode\u003e*hpp = hp\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Effect\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe returned list starts in released heap memory. The next allocation of the process overwrites the cells. \u003ccode\u003eerlang:display/1\u003c/code\u003e shows a header word in place of the first code point. When the term is copied, for example in the reply of the file server, \u003ccode\u003esize_object_x\u003c/code\u003e either loops without end on a cyclic term or aborts the VM with \u003ccode\u003esize_object: bad tag\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Decoder entry**\n\n`prim_file:list_dir/1` and `prim_file:read_link/1` decode each native name with `prim_file:internal_native2name/1`. Its implementation, `prim_file_internal_native2name_1` in `erts/emulator/beam/erl_unicode.c`, calls `do_utf8_to_list_normalize` when the file name encoding is `ERL_FILENAME_UTF8_MAC`. `erts_init_sys_common_misc` selects that encoding only on macOS.\n\n**2. Missing heap pointer write-back**\n\n`do_utf8_to_list_normalize` reserves `2 * num` heap words with `HAlloc`, reads the name from its end, and keeps code points that can compose (U+0300 and above) in `savepoints`. If saved points remain when it reaches the start of the name, it calls `cleanup_norm(\u0026hp, savepoints, numpoints, \u0026ret)` and then `HRelease(p, hp_end, hp)`. `cleanup_norm` copies `*hpp` to a local `hp`, builds one cons cell per saved point, and writes back only `*retp`. The caller\u0027s `hp` still points below the new cells, so `HRelease` returns them to the process heap. `handle_potential_norm` has the same structure and does write `*hpp = hp`.\n\n**3. Effect**\n\nThe returned list starts in released heap memory. The next allocation of the process overwrites the cells. `erlang:display/1` shows a header word in place of the first code point. When the term is copied, for example in the reply of the file server, `size_object_x` either loops without end on a cyclic term or aborts the VM with `size_object: bad tag`."
                }
              ],
              "value": "1. Decoder entry\n\nprim_file:list_dir/1 and prim_file:read_link/1 decode each native name with prim_file:internal_native2name/1. Its implementation, prim_file_internal_native2name_1 in erts/emulator/beam/erl_unicode.c, calls do_utf8_to_list_normalize when the file name encoding is ERL_FILENAME_UTF8_MAC. erts_init_sys_common_misc selects that encoding only on macOS.\n\n2. Missing heap pointer write-back\n\ndo_utf8_to_list_normalize reserves 2 * num heap words with HAlloc, reads the name from its end, and keeps code points that can compose (U+0300 and above) in savepoints. If saved points remain when it reaches the start of the name, it calls cleanup_norm(\u0026hp, savepoints, numpoints, \u0026ret) and then HRelease(p, hp_end, hp). cleanup_norm copies *hpp to a local hp, builds one cons cell per saved point, and writes back only *retp. The caller\u0027s hp still points below the new cells, so HRelease returns them to the process heap. handle_potential_norm has the same structure and does write *hpp = hp.\n\n3. Effect\n\nThe returned list starts in released heap memory. The next allocation of the process overwrites the cells. erlang:display/1 shows a header word in place of the first code point. When the term is copied, for example in the reply of the file server, size_object_x either loops without end on a cyclic term or aborts the VM with size_object: bad tag."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-125658",
        "datePublished": "2026-11-24T15:28:21.735Z",
        "dateReserved": "2026-11-12T20:11:47.627Z",
        "dateUpdated": "2026-11-24T16:28:56.749Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-115747 (GCVE-0-2026-115747)

    Vulnerability from nvd – Published: 2026-11-24 15:29 – Updated: 2026-11-24 16:26
    VLAI
    Title
    AArch64 JIT register-cache bug allows VM denial of service via XML
    Summary
    Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by xmerl_sax_parser. In erts/emulator/beam/jit/arm/instr_common.cpp, BeamModuleAssembler::emit_is_ge_lt wraps its generated code in preserve_cache and marks only TMP1 as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment is_ge_lt_shared, which also overwrites ARG1 and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as &#576460752303423488; takes this path in the ?is_char guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code. This issue affects OTP from OTP 27.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-24 16:26 UTC
    CWE
    • CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 15.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 27.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 06d402a75078150963b75518ce271582bbb94897 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:29
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-115747",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-24T16:26:45.780726Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-24T16:26:57.801Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://cna.erlef.org/cves/CVE-2026-115747.html"
              },
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://osv.dev/vulnerability/EEF-CVE-2026-115747"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/jit/arm/instr_common.cpp"
              ],
              "programRoutines": [
                {
                  "name": "BeamModuleAssembler::emit_is_ge_lt"
                },
                {
                  "name": "BeamGlobalAssembler::emit_is_ge_lt_shared"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "15.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/jit/arm/instr_common.cpp"
              ],
              "programRoutines": [
                {
                  "name": "BeamModuleAssembler::emit_is_ge_lt"
                },
                {
                  "name": "BeamGlobalAssembler::emit_is_ge_lt_shared"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "27.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/jit/arm/instr_common.cpp"
              ],
              "programRoutines": [
                {
                  "name": "BeamModuleAssembler::emit_is_ge_lt"
                },
                {
                  "name": "BeamGlobalAssembler::emit_is_ge_lt_shared"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "043d119950d8de1975a8a507e424d87cf765fbab",
                      "status": "unaffected"
                    },
                    {
                      "at": "62c26d132760569a2ac098ce144de2aed4daa548",
                      "status": "unaffected"
                    },
                    {
                      "at": "841017c3c85cba30181e7e344e5b16dc0bc25c3b",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "06d402a75078150963b75518ce271582bbb94897",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOnly AArch64 (ARM64) runtimes that execute the JIT are affected; \u003ccode\u003eerlang:system_info(emu_flavor)\u003c/code\u003e returns \u003ccode\u003ejit\u003c/code\u003e on such a node. The x86-64 JIT, interpreter builds (\u003ccode\u003eemu\u003c/code\u003e flavor) and 32-bit platforms do not run the affected code. The demonstrated path requires an application to pass attacker-controlled XML to \u003ccode\u003exmerl_sax_parser\u003c/code\u003e, but other Erlang code that compiles to the same chained range guard over a non-small integer can reach the same defect.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Only AArch64 (ARM64) runtimes that execute the JIT are affected; `erlang:system_info(emu_flavor)` returns `jit` on such a node. The x86-64 JIT, interpreter builds (`emu` flavor) and 32-bit platforms do not run the affected code. The demonstrated path requires an application to pass attacker-controlled XML to `xmerl_sax_parser`, but other Erlang code that compiles to the same chained range guard over a non-small integer can reach the same defect."
                }
              ],
              "value": "Only AArch64 (ARM64) runtimes that execute the JIT are affected; erlang:system_info(emu_flavor) returns jit on such a node. The x86-64 JIT, interpreter builds (emu flavor) and 32-bit platforms do not run the affected code. The demonstrated path requires an application to pass attacker-controlled XML to xmerl_sax_parser, but other Erlang code that compiles to the same chained range guard over a non-small integer can reach the same defect."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "versionStartIncluding": "27.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Felix Jankowski / Jankowski Engineering GmbH"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "IlYoung"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Felix Jankowski / Jankowski Engineering GmbH"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "IlYoung"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Felix Jankowski / Jankowski Engineering GmbH"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Josu\u00e9 Olmos"
            }
          ],
          "dateAssigned": "2026-10-26T17:14:29.000Z",
          "datePublic": "2026-11-24T15:29:05.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by \u003ccode\u003exmerl_sax_parser\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003eerts/emulator/beam/jit/arm/instr_common.cpp\u003c/code\u003e, \u003ccode\u003eBeamModuleAssembler::emit_is_ge_lt\u003c/code\u003e wraps its generated code in \u003ccode\u003epreserve_cache\u003c/code\u003e and marks only \u003ccode\u003eTMP1\u003c/code\u003e as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment \u003ccode\u003eis_ge_lt_shared\u003c/code\u003e, which also overwrites \u003ccode\u003eARG1\u003c/code\u003e and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as \u003ccode\u003e\u0026amp;#576460752303423488;\u003c/code\u003e takes this path in the \u003ccode\u003e?is_char\u003c/code\u003e guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;27.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by `xmerl_sax_parser`.\n\nIn `erts/emulator/beam/jit/arm/instr_common.cpp`, `BeamModuleAssembler::emit_is_ge_lt` wraps its generated code in `preserve_cache` and marks only `TMP1` as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment `is_ge_lt_shared`, which also overwrites `ARG1` and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as `\u0026#576460752303423488;` takes this path in the `?is_char` guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.\n\nThis issue affects OTP from OTP\u00a027.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
                }
              ],
              "value": "Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by xmerl_sax_parser.\n\nIn erts/emulator/beam/jit/arm/instr_common.cpp, BeamModuleAssembler::emit_is_ge_lt wraps its generated code in preserve_cache and marks only TMP1 as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment is_ge_lt_shared, which also overwrites ARG1 and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as \u0026#576460752303423488; takes this path in the ?is_char guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.\n\nThis issue affects OTP from OTP\u00a027.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-129",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can get an affected AArch64 node to parse crafted XML, or to run other code that compiles to the same comparison sequence over a non-small integer, terminates the whole BEAM VM, including every unrelated application on it. Supervision cannot contain a native crash. Code execution, information disclosure and data modification have not been demonstrated.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can get an affected AArch64 node to parse crafted XML, or to run other code that compiles to the same comparison sequence over a non-small integer, terminates the whole BEAM VM, including every unrelated application on it. Supervision cannot contain a native crash. Code execution, information disclosure and data modification have not been demonstrated."
                    }
                  ],
                  "value": "An attacker who can get an affected AArch64 node to parse crafted XML, or to run other code that compiles to the same comparison sequence over a non-small integer, terminates the whole BEAM VM, including every unrelated application on it. Supervision cannot contain a native crash. Code execution, information disclosure and data modification have not been demonstrated."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-119",
                  "description": "CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:29:06.928Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "AArch64 JIT register-cache bug allows VM denial of service via XML",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-x527-4ww5-wwr5"
            },
            {
              "name": "EEF CNA record for CVE-2026-115747",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-115747.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-115747",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-115747"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 06d402a in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/06d402a75078150963b75518ce271582bbb94897"
            },
            {
              "name": "Fix commit 043d119 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/043d119950d8de1975a8a507e424d87cf765fbab"
            },
            {
              "name": "Fix commit 62c26d1 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/62c26d132760569a2ac098ce144de2aed4daa548"
            },
            {
              "name": "Fix commit 841017c in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/841017c3c85cba30181e7e344e5b16dc0bc25c3b"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "AArch64 JIT register-cache bug allows VM denial of service via XML",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOn AArch64 hosts, run the emulator without the JIT: start it with \u003ccode\u003eerl -emu_flavor emu\u003c/code\u003e when the interpreter flavor is installed, or build OTP with \u003ccode\u003e--disable-jit\u003c/code\u003e. The interpreter does not execute the affected generated code.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "On AArch64 hosts, run the emulator without the JIT: start it with `erl -emu_flavor emu` when the interpreter flavor is installed, or build OTP with `--disable-jit`. The interpreter does not execute the affected generated code."
                }
              ],
              "value": "On AArch64 hosts, run the emulator without the JIT: start it with erl -emu_flavor emu when the interpreter flavor is installed, or build OTP with --disable-jit. The interpreter does not execute the affected generated code."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eRun an AArch64 build of OTP 27 or later with the JIT enabled; \u003ccode\u003eerlang:system_info(emu_flavor)\u003c/code\u003e returns \u003ccode\u003ejit\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eParse an XML document that contains a numeric character reference too large for a small integer, for example \u003ccode\u003e\u0026lt;a\u0026gt;\u0026amp;#576460752303423488;\u0026lt;/a\u0026gt;\u003c/code\u003e, with \u003ccode\u003exmerl_sax_parser:stream/2\u003c/code\u003e or \u003ccode\u003exmerl_sax_parser:file/2\u003c/code\u003e. No entity expansion or external resource is needed.\u003c/li\u003e\n\u003cli\u003eThe emulator exits with SIGSEGV (status 139) instead of returning \u003ccode\u003e{fatal_error, _, \"Not a legal character: #576460752303423488\", _, _}\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Run an AArch64 build of OTP 27 or later with the JIT enabled; `erlang:system_info(emu_flavor)` returns `jit`.\n2. Parse an XML document that contains a numeric character reference too large for a small integer, for example `\u003ca\u003e\u0026#576460752303423488;\u003c/a\u003e`, with `xmerl_sax_parser:stream/2` or `xmerl_sax_parser:file/2`. No entity expansion or external resource is needed.\n3. The emulator exits with SIGSEGV (status 139) instead of returning `{fatal_error, _, \"Not a legal character: #576460752303423488\", _, _}`."
                }
              ],
              "value": "* Run an AArch64 build of OTP 27 or later with the JIT enabled; erlang:system_info(emu_flavor) returns jit.\n* Parse an XML document that contains a numeric character reference too large for a small integer, for example \u003ca\u003e\u0026#576460752303423488;\u003c/a\u003e, with xmerl_sax_parser:stream/2 or xmerl_sax_parser:file/2. No entity expansion or external resource is needed.\n* The emulator exits with SIGSEGV (status 139) instead of returning {fatal_error, _, \"Not a legal character: #576460752303423488\", _, _}."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Code generation.\u003c/strong\u003e \u003ccode\u003eBeamModuleAssembler::emit_is_ge_lt\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/jit/arm/instr_common.cpp\u003c/code\u003e emits the \u003ccode\u003eis_ge_lt\u003c/code\u003e instruction, which the compiler produces for a chained guard of the form \u003ccode\u003eA =\u0026lt; X, X \u0026lt; B\u003c/code\u003e. The AArch64 emitter wraps the whole sequence in \u003ccode\u003epreserve_cache\u003c/code\u003e and declares \u003ccode\u003eTMP1\u003c/code\u003e as the only clobbered register, so the register cache keeps its entries across the instruction.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Generic path.\u003c/strong\u003e When the operand is not a small integer, the generated code loads it into \u003ccode\u003eARG1\u003c/code\u003e and calls the global fragment \u003ccode\u003eBeamGlobalAssembler::emit_is_ge_lt_shared\u003c/code\u003e. The fragment performs a generic term comparison and overwrites \u003ccode\u003eARG1\u003c/code\u003e and other caller-saved registers.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Stale cache.\u003c/strong\u003e The cache still records \u003ccode\u003eARG1\u003c/code\u003e as holding a copy of a BEAM Y register. A later instruction that needs that Y register reuses \u003ccode\u003eARG1\u003c/code\u003e instead of reloading it from the stack, and so operates on whatever the fragment left behind.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Crash.\u003c/strong\u003e The leftover value is treated as a tagged Erlang term. When it is dereferenced as a boxed term, the emulator reads an invalid address and dies with SIGSEGV. The whole node terminates without a crash dump.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e5. Trigger.\u003c/strong\u003e The \u003ccode\u003e?is_char\u003c/code\u003e guard in \u003ccode\u003elib/xmerl/src/xmerl_sax_parser_base.erlsrc\u003c/code\u003e compares a decoded numeric character reference against several ranges in sequence. A value that does not fit a small integer on a 64-bit runtime, for example \u003ccode\u003e\u0026amp;#576460752303423488;\u003c/code\u003e (2^59), takes the generic path. The expected outcome is a \u003ccode\u003efatal_error\u003c/code\u003e naming an illegal character.\u003c/p\u003e\n\u003cp\u003eThe fix removes the \u003ccode\u003epreserve_cache\u003c/code\u003e wrapper so the cache is invalidated after the instruction, matching \u003ccode\u003eemit_is_in_range\u003c/code\u003e. The x86-64 emitter never preserved the cache here.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Code generation.** `BeamModuleAssembler::emit_is_ge_lt` in `erts/emulator/beam/jit/arm/instr_common.cpp` emits the `is_ge_lt` instruction, which the compiler produces for a chained guard of the form `A =\u003c X, X \u003c B`. The AArch64 emitter wraps the whole sequence in `preserve_cache` and declares `TMP1` as the only clobbered register, so the register cache keeps its entries across the instruction.\n\n**2. Generic path.** When the operand is not a small integer, the generated code loads it into `ARG1` and calls the global fragment `BeamGlobalAssembler::emit_is_ge_lt_shared`. The fragment performs a generic term comparison and overwrites `ARG1` and other caller-saved registers.\n\n**3. Stale cache.** The cache still records `ARG1` as holding a copy of a BEAM Y register. A later instruction that needs that Y register reuses `ARG1` instead of reloading it from the stack, and so operates on whatever the fragment left behind.\n\n**4. Crash.** The leftover value is treated as a tagged Erlang term. When it is dereferenced as a boxed term, the emulator reads an invalid address and dies with SIGSEGV. The whole node terminates without a crash dump.\n\n**5. Trigger.** The `?is_char` guard in `lib/xmerl/src/xmerl_sax_parser_base.erlsrc` compares a decoded numeric character reference against several ranges in sequence. A value that does not fit a small integer on a 64-bit runtime, for example `\u0026#576460752303423488;` (2^59), takes the generic path. The expected outcome is a `fatal_error` naming an illegal character.\n\nThe fix removes the `preserve_cache` wrapper so the cache is invalidated after the instruction, matching `emit_is_in_range`. The x86-64 emitter never preserved the cache here."
                }
              ],
              "value": "1. Code generation. BeamModuleAssembler::emit_is_ge_lt in erts/emulator/beam/jit/arm/instr_common.cpp emits the is_ge_lt instruction, which the compiler produces for a chained guard of the form A =\u003c X, X \u003c B. The AArch64 emitter wraps the whole sequence in preserve_cache and declares TMP1 as the only clobbered register, so the register cache keeps its entries across the instruction.\n\n2. Generic path. When the operand is not a small integer, the generated code loads it into ARG1 and calls the global fragment BeamGlobalAssembler::emit_is_ge_lt_shared. The fragment performs a generic term comparison and overwrites ARG1 and other caller-saved registers.\n\n3. Stale cache. The cache still records ARG1 as holding a copy of a BEAM Y register. A later instruction that needs that Y register reuses ARG1 instead of reloading it from the stack, and so operates on whatever the fragment left behind.\n\n4. Crash. The leftover value is treated as a tagged Erlang term. When it is dereferenced as a boxed term, the emulator reads an invalid address and dies with SIGSEGV. The whole node terminates without a crash dump.\n\n5. Trigger. The ?is_char guard in lib/xmerl/src/xmerl_sax_parser_base.erlsrc compares a decoded numeric character reference against several ranges in sequence. A value that does not fit a small integer on a 64-bit runtime, for example \u0026#576460752303423488; (2^59), takes the generic path. The expected outcome is a fatal_error naming an illegal character.\n\nThe fix removes the preserve_cache wrapper so the cache is invalidated after the instruction, matching emit_is_in_range. The x86-64 emitter never preserved the cache here."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-115747",
        "datePublished": "2026-11-24T15:29:06.928Z",
        "dateReserved": "2026-10-26T10:45:02.618Z",
        "dateUpdated": "2026-11-24T16:26:57.801Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-124286 (GCVE-0-2026-124286)

    Vulnerability from nvd – Published: 2026-11-24 15:12 – Updated: 2026-12-01 16:47
    VLAI
    Title
    TLS 1.2 Client Completes Handshake Without a Server Certificate
    Summary
    Improper Verification of Cryptographic Signature vulnerability in Erlang OTP ssl (ssl_handshake module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client. When a server sends no Certificate message and a ServerKeyExchange without a signature, ssl_handshake:decode_server_key/3 reports the signature algorithm as anon, and ssl_handshake:verify_signature/5 returns true for anon without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges with a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and ssl:connect/3 returns {ok, Socket} with {verify, verify_peer} set. The TLS 1.3 client is not affected. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-347 - Improper Verification of Cryptographic Signature
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 5.3.4 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 938a5246a52d30897b4f47439352da4425ea6fc5 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-124286",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:11.695043Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:47:54.549Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/ssl_handshake.erl",
                "src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:verify_signature/5"
                },
                {
                  "name": "ssl_handshake:verify_server_key/5"
                },
                {
                  "name": "ssl_handshake:decode_server_key/3"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.10",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.3.4",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:verify_signature/5"
                },
                {
                  "name": "ssl_handshake:verify_server_key/5"
                },
                {
                  "name": "ssl_handshake:decode_server_key/3"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:verify_signature/5"
                },
                {
                  "name": "ssl_handshake:verify_server_key/5"
                },
                {
                  "name": "ssl_handshake:decode_server_key/3"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "74782afedd9090bad0ab1dede237a2389e94743f",
                      "status": "unaffected"
                    },
                    {
                      "at": "d9a931963d3d49c7f73ea509221c9c66737977c7",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "938a5246a52d30897b4f47439352da4425ea6fc5",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe vulnerability affects clients whose connection can use TLS 1.2 or DTLS 1.2. The default \u003ccode\u003essl:connect\u003c/code\u003e options allow TLS 1.2. Clients restricted to TLS 1.3 are not affected. Cipher suites that do not use a \u003ccode\u003eServerKeyExchange\u003c/code\u003e message (the \u003ccode\u003ersa\u003c/code\u003e, \u003ccode\u003eecdh_rsa\u003c/code\u003e and \u003ccode\u003eecdh_ecdsa\u003c/code\u003e key exchanges) are not affected. Servers are not affected. Exploitation requires an on-path (adversary-in-the-middle) attacker between the client and the intended server.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The vulnerability affects clients whose connection can use TLS 1.2 or DTLS 1.2. The default `ssl:connect` options allow TLS 1.2. Clients restricted to TLS 1.3 are not affected. Cipher suites that do not use a `ServerKeyExchange` message (the `rsa`, `ecdh_rsa` and `ecdh_ecdsa` key exchanges) are not affected. Servers are not affected. Exploitation requires an on-path (adversary-in-the-middle) attacker between the client and the intended server."
                }
              ],
              "value": "The vulnerability affects clients whose connection can use TLS 1.2 or DTLS 1.2. The default ssl:connect options allow TLS 1.2. Clients restricted to TLS 1.3 are not affected. Cipher suites that do not use a ServerKeyExchange message (the rsa, ecdh_rsa and ecdh_ecdsa key exchanges) are not affected. Servers are not affected. Exploitation requires an on-path (adversary-in-the-middle) attacker between the client and the intended server."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.14",
                      "versionStartIncluding": "17.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.0.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Phillip Calvin"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Phillip Calvin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Ingela Anderton Andin"
            }
          ],
          "dateAssigned": "2026-11-16T02:00:55.000Z",
          "datePublic": "2026-11-24T15:12:01.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Verification of Cryptographic Signature vulnerability in Erlang OTP \u003ccode\u003essl\u003c/code\u003e (\u003ccode\u003essl_handshake\u003c/code\u003e module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client.\u003c/p\u003e\n\u003cp\u003eWhen a server sends no \u003ccode\u003eCertificate\u003c/code\u003e message and a \u003ccode\u003eServerKeyExchange\u003c/code\u003e without a signature, \u003ccode\u003essl_handshake:decode_server_key/3\u003c/code\u003e reports the signature algorithm as \u003ccode\u003eanon\u003c/code\u003e, and \u003ccode\u003essl_handshake:verify_signature/5\u003c/code\u003e returns \u003ccode\u003etrue\u003c/code\u003e for \u003ccode\u003eanon\u003c/code\u003e without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the \u003ccode\u003eecdhe_rsa\u003c/code\u003e, \u003ccode\u003eecdhe_ecdsa\u003c/code\u003e, \u003ccode\u003edhe_rsa\u003c/code\u003e and \u003ccode\u003edhe_dss\u003c/code\u003e key exchanges with a cipher suite the client offered. Certificate path validation, \u003ccode\u003everify_fun\u003c/code\u003e and the hostname check do not run, and \u003ccode\u003essl:connect/3\u003c/code\u003e returns \u003ccode\u003e{ok, Socket}\u003c/code\u003e with \u003ccode\u003e{verify, verify_peer}\u003c/code\u003e set. The TLS 1.3 client is not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.14, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Verification of Cryptographic Signature vulnerability in Erlang OTP `ssl` (`ssl_handshake` module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client.\n\nWhen a server sends no `Certificate` message and a `ServerKeyExchange` without a signature, `ssl_handshake:decode_server_key/3` reports the signature algorithm as `anon`, and `ssl_handshake:verify_signature/5` returns `true` for `anon` without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the `ecdhe_rsa`, `ecdhe_ecdsa`, `dhe_rsa` and `dhe_dss` key exchanges with a cipher suite the client offered. Certificate path validation, `verify_fun` and the hostname check do not run, and `ssl:connect/3` returns `{ok, Socket}` with `{verify, verify_peer}` set. The TLS 1.3 client is not affected.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.9, and OTP\u00a029.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3."
                }
              ],
              "value": "Improper Verification of Cryptographic Signature vulnerability in Erlang OTP ssl (ssl_handshake module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client.\n\nWhen a server sends no Certificate message and a ServerKeyExchange without a signature, ssl_handshake:decode_server_key/3 reports the signature algorithm as anon, and ssl_handshake:verify_signature/5 returns true for anon without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges with a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and ssl:connect/3 returns {ok, Socket} with {verify, verify_peer} set. The TLS 1.3 client is not affected.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.9, and OTP\u00a029.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-475",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn on-path attacker can impersonate any server to an affected client, then read and modify all application data on the connection. Certificate path validation, \u003ccode\u003everify_fun\u003c/code\u003e and the hostname check do not run.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An on-path attacker can impersonate any server to an affected client, then read and modify all application data on the connection. Certificate path validation, `verify_fun` and the hostname check do not run."
                    }
                  ],
                  "value": "An on-path attacker can impersonate any server to an affected client, then read and modify all application data on the connection. Certificate path validation, verify_fun and the hostname check do not run."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-347",
                  "description": "CWE-347 Improper Verification of Cryptographic Signature",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:12:02.452Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "TLS 1.2 Client Completes Handshake Without a Server Certificate",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j"
            },
            {
              "name": "EEF CNA record for CVE-2026-124286",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-124286.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-124286",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-124286"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 938a524 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5"
            },
            {
              "name": "Fix commit 74782af in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f"
            },
            {
              "name": "Fix commit d9a9319 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "TLS 1.2 Client Completes Handshake Without a Server Certificate",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eRestrict TLS client connections to TLS 1.3 by setting \u003ccode\u003eversions\u003c/code\u003e to \u003ccode\u003e[\u0027tlsv1.3\u0027]\u003c/code\u003e in the client\u0027s \u003ccode\u003essl\u003c/code\u003e options.\u003c/p\u003e\n\u003cp\u003eIf a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no \u003ccode\u003eServerKeyExchange\u003c/code\u003e message. They provide no forward secrecy, and many servers do not accept them.\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-erlang\"\u003eRsaOnly = ssl:filter_cipher_suites(\n    ssl:cipher_suites(all, \u0027tlsv1.2\u0027),\n    [{key_exchange, fun(rsa) -\u0026gt; true; (_) -\u0026gt; false end}]\n),\nOpts = [\n    {verify, verify_peer},\n    {cacerts, public_key:cacerts_get()},\n    {versions, [\u0027tlsv1.2\u0027]},\n    {ciphers, RsaOnly},\n    {server_name_indication, \"www.example.com\"},\n    {customize_hostname_check, [\n        {match_fun, public_key:pkix_verify_hostname_match_fun(https)}\n    ]}\n].\n\u003c/code\u003e\u003c/pre\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Restrict TLS client connections to TLS 1.3 by setting `versions` to `[\u0027tlsv1.3\u0027]` in the client\u0027s `ssl` options.\n\nIf a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no `ServerKeyExchange` message. They provide no forward secrecy, and many servers do not accept them.\n\n```erlang\nRsaOnly = ssl:filter_cipher_suites(\n    ssl:cipher_suites(all, \u0027tlsv1.2\u0027),\n    [{key_exchange, fun(rsa) -\u003e true; (_) -\u003e false end}]\n),\nOpts = [\n    {verify, verify_peer},\n    {cacerts, public_key:cacerts_get()},\n    {versions, [\u0027tlsv1.2\u0027]},\n    {ciphers, RsaOnly},\n    {server_name_indication, \"www.example.com\"},\n    {customize_hostname_check, [\n        {match_fun, public_key:pkix_verify_hostname_match_fun(https)}\n    ]}\n].\n```"
                }
              ],
              "value": "Restrict TLS client connections to TLS 1.3 by setting versions to [\u0027tlsv1.3\u0027] in the client\u0027s ssl options.\n\nIf a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no ServerKeyExchange message. They provide no forward secrecy, and many servers do not accept them.\n\nRsaOnly = ssl:filter_cipher_suites(\n    ssl:cipher_suites(all, \u0027tlsv1.2\u0027),\n    [{key_exchange, fun(rsa) -\u003e true; (_) -\u003e false end}]\n),\nOpts = [\n    {verify, verify_peer},\n    {cacerts, public_key:cacerts_get()},\n    {versions, [\u0027tlsv1.2\u0027]},\n    {ciphers, RsaOnly},\n    {server_name_indication, \"www.example.com\"},\n    {customize_hostname_check, [\n        {match_fun, public_key:pkix_verify_hostname_match_fun(https)}\n    ]}\n]."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a TCP server that answers a TLS 1.2 \u003ccode\u003eClientHello\u003c/code\u003e with a \u003ccode\u003eServerHello\u003c/code\u003e that selects an offered \u003ccode\u003eECDHE_RSA\u003c/code\u003e suite (for example \u003ccode\u003eTLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\u003c/code\u003e), then a \u003ccode\u003eServerKeyExchange\u003c/code\u003e with x25519 parameters and no signature, then \u003ccode\u003eServerHelloDone\u003c/code\u003e. Send no \u003ccode\u003eCertificate\u003c/code\u003e message. The \u003ccode\u003eUnauthenticatedECDH\u003c/code\u003e test of the BoringSSL test runner (BoGo) provides such a server.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003essl:connect/3\u003c/code\u003e and the options \u003ccode\u003e{verify, verify_peer}\u003c/code\u003e, \u003ccode\u003e{cacerts, public_key:cacerts_get()}\u003c/code\u003e, \u003ccode\u003e{server_name_indication, \"www.example.com\"}\u003c/code\u003e and \u003ccode\u003e{customize_hostname_check, [{match_fun, public_key:pkix_verify_hostname_match_fun(https)}]}\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eOn the server, derive the session keys from its own ECDH key pair and the client\u0027s \u003ccode\u003eClientKeyExchange\u003c/code\u003e, then send \u003ccode\u003eChangeCipherSpec\u003c/code\u003e and \u003ccode\u003eFinished\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003essl:connect/3\u003c/code\u003e returns \u003ccode\u003e{ok, Socket}\u003c/code\u003e, and the server decrypts the application data that the client sends. A fixed client aborts with a fatal alert after step 1.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a TCP server that answers a TLS 1.2 `ClientHello` with a `ServerHello` that selects an offered `ECDHE_RSA` suite (for example `TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`), then a `ServerKeyExchange` with x25519 parameters and no signature, then `ServerHelloDone`. Send no `Certificate` message. The `UnauthenticatedECDH` test of the BoringSSL test runner (BoGo) provides such a server.\n2. Connect with `ssl:connect/3` and the options `{verify, verify_peer}`, `{cacerts, public_key:cacerts_get()}`, `{server_name_indication, \"www.example.com\"}` and `{customize_hostname_check, [{match_fun, public_key:pkix_verify_hostname_match_fun(https)}]}`.\n3. On the server, derive the session keys from its own ECDH key pair and the client\u0027s `ClientKeyExchange`, then send `ChangeCipherSpec` and `Finished`.\n4. `ssl:connect/3` returns `{ok, Socket}`, and the server decrypts the application data that the client sends. A fixed client aborts with a fatal alert after step 1."
                }
              ],
              "value": "* Start a TCP server that answers a TLS 1.2 ClientHello with a ServerHello that selects an offered ECDHE_RSA suite (for example TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256), then a ServerKeyExchange with x25519 parameters and no signature, then ServerHelloDone. Send no Certificate message. The UnauthenticatedECDH test of the BoringSSL test runner (BoGo) provides such a server.\n* Connect with ssl:connect/3 and the options {verify, verify_peer}, {cacerts, public_key:cacerts_get()}, {server_name_indication, \"www.example.com\"} and {customize_hostname_check, [{match_fun, public_key:pkix_verify_hostname_match_fun(https)}]}.\n* On the server, derive the session keys from its own ECDH key pair and the client\u0027s ClientKeyExchange, then send ChangeCipherSpec and Finished.\n* ssl:connect/3 returns {ok, Socket}, and the server decrypts the application data that the client sends. A fixed client aborts with a fatal alert after step 1."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Signature decoding.\u003c/strong\u003e \u003ccode\u003essl_handshake:decode_server_key/3\u003c/code\u003e splits the \u003ccode\u003eServerKeyExchange\u003c/code\u003e body into the key exchange parameters and a signature. The internal \u003ccode\u003edec_server_key_signature/3\u003c/code\u003e maps an empty remainder, a zero-length signature, and the TLS 1.2 \u003ccode\u003eanonymous\u003c/code\u003e signature algorithm with an empty signature to the signature algorithm \u003ccode\u003eanon\u003c/code\u003e. It does this for every key exchange algorithm, not only for the anonymous ones.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Signature verification.\u003c/strong\u003e In the \u003ccode\u003ecertify\u003c/code\u003e state the client calls \u003ccode\u003essl_handshake:verify_server_key/5\u003c/code\u003e for the non-anonymous key exchanges. No \u003ccode\u003eCertificate\u003c/code\u003e message arrived, so the stored public key is \u003ccode\u003eundefined\u003c/code\u003e. \u003ccode\u003essl_handshake:verify_signature/5\u003c/code\u003e has a clause that returns \u003ccode\u003etrue\u003c/code\u003e for the \u003ccode\u003eanon\u003c/code\u003e signature algorithm with any key, and that clause matches.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Handshake completion.\u003c/strong\u003e The client does not check that it received a certificate before it handles \u003ccode\u003eServerHelloDone\u003c/code\u003e. It derives the master secret from the unauthenticated (EC)DH parameters and sends \u003ccode\u003eClientKeyExchange\u003c/code\u003e, \u003ccode\u003eChangeCipherSpec\u003c/code\u003e and \u003ccode\u003eFinished\u003c/code\u003e. The attacker holds the (EC)DH private key and completes the handshake. \u003ccode\u003essl:connect/3\u003c/code\u003e returns \u003ccode\u003e{ok, Socket}\u003c/code\u003e, and \u003ccode\u003essl:peercert/1\u003c/code\u003e returns \u003ccode\u003e{error, no_peercert}\u003c/code\u003e on that socket.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Signature decoding.** `ssl_handshake:decode_server_key/3` splits the `ServerKeyExchange` body into the key exchange parameters and a signature. The internal `dec_server_key_signature/3` maps an empty remainder, a zero-length signature, and the TLS 1.2 `anonymous` signature algorithm with an empty signature to the signature algorithm `anon`. It does this for every key exchange algorithm, not only for the anonymous ones.\n\n**2. Signature verification.** In the `certify` state the client calls `ssl_handshake:verify_server_key/5` for the non-anonymous key exchanges. No `Certificate` message arrived, so the stored public key is `undefined`. `ssl_handshake:verify_signature/5` has a clause that returns `true` for the `anon` signature algorithm with any key, and that clause matches.\n\n**3. Handshake completion.** The client does not check that it received a certificate before it handles `ServerHelloDone`. It derives the master secret from the unauthenticated (EC)DH parameters and sends `ClientKeyExchange`, `ChangeCipherSpec` and `Finished`. The attacker holds the (EC)DH private key and completes the handshake. `ssl:connect/3` returns `{ok, Socket}`, and `ssl:peercert/1` returns `{error, no_peercert}` on that socket."
                }
              ],
              "value": "1. Signature decoding. ssl_handshake:decode_server_key/3 splits the ServerKeyExchange body into the key exchange parameters and a signature. The internal dec_server_key_signature/3 maps an empty remainder, a zero-length signature, and the TLS 1.2 anonymous signature algorithm with an empty signature to the signature algorithm anon. It does this for every key exchange algorithm, not only for the anonymous ones.\n\n2. Signature verification. In the certify state the client calls ssl_handshake:verify_server_key/5 for the non-anonymous key exchanges. No Certificate message arrived, so the stored public key is undefined. ssl_handshake:verify_signature/5 has a clause that returns true for the anon signature algorithm with any key, and that clause matches.\n\n3. Handshake completion. The client does not check that it received a certificate before it handles ServerHelloDone. It derives the master secret from the unauthenticated (EC)DH parameters and sends ClientKeyExchange, ChangeCipherSpec and Finished. The attacker holds the (EC)DH private key and completes the handshake. ssl:connect/3 returns {ok, Socket}, and ssl:peercert/1 returns {error, no_peercert} on that socket."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-124286",
        "datePublished": "2026-11-24T15:12:02.452Z",
        "dateReserved": "2026-11-12T20:33:15.864Z",
        "dateUpdated": "2026-12-01T16:47:54.549Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-120961 (GCVE-0-2026-120961)

    Vulnerability from nvd – Published: 2026-11-24 15:10 – Updated: 2026-12-01 16:48
    VLAI
    Title
    binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM
    Summary
    Out-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to read memory after the input, and to change one byte there, via a FLOAT_EXT term without a terminating zero byte. decoded_size in erts/emulator/beam/external.c checks only that the 31 bytes of the FLOAT_EXT field are present. dec_term then passes the field to sys_chars_to_double, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and strtod does not accept it, sys_chars_to_double overwrites that byte (a , becomes a .). The VM can fault if the scan reaches an unmapped page. The safe option does not prevent this. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < 4b954b8aa0f601a0d8d45f0953c77585afb6f853 (git)
    Unaffected: 4b954b8aa0f601a0d8d45f0953c77585afb6f853 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:10
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-120961",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:23.392606Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:09.527Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif",
                "sys_float"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/external.c",
                "emulator/beam/erl_nif.c",
                "emulator/sys/unix/sys_float.c",
                "emulator/sys/win32/sys_float.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                },
                {
                  "name": "sys_chars_to_double"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif",
                "sys_float"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c",
                "erts/emulator/sys/unix/sys_float.c",
                "erts/emulator/sys/win32/sys_float.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                },
                {
                  "name": "sys_chars_to_double"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif",
                "sys_float"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c",
                "erts/emulator/sys/unix/sys_float.c",
                "erts/emulator/sys/win32/sys_float.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                },
                {
                  "name": "sys_chars_to_double"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "4b954b8aa0f601a0d8d45f0953c77585afb6f853",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "4b954b8aa0f601a0d8d45f0953c77585afb6f853",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-11-11T12:24:29.000Z",
          "datePublic": "2026-11-24T15:10:39.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOut-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e to read memory after the input, and to change one byte there, via a \u003ccode\u003eFLOAT_EXT\u003c/code\u003e term without a terminating zero byte. \u003ccode\u003edecoded_size\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e checks only that the 31 bytes of the \u003ccode\u003eFLOAT_EXT\u003c/code\u003e field are present. \u003ccode\u003edec_term\u003c/code\u003e then passes the field to \u003ccode\u003esys_chars_to_double\u003c/code\u003e, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and \u003ccode\u003estrtod\u003c/code\u003e does not accept it, \u003ccode\u003esys_chars_to_double\u003c/code\u003e overwrites that byte (a \u003ccode\u003e,\u003c/code\u003e becomes a \u003ccode\u003e.\u003c/code\u003e). The VM can fault if the scan reaches an unmapped page.\u003c/p\u003e\n\u003cp\u003eThe \u003ccode\u003esafe\u003c/code\u003e option does not prevent this. \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to erts before 6.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Out-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to `binary_to_term/1,2` to read memory after the input, and to change one byte there, via a `FLOAT_EXT` term without a terminating zero byte. `decoded_size` in `erts/emulator/beam/external.c` checks only that the 31 bytes of the `FLOAT_EXT` field are present. `dec_term` then passes the field to `sys_chars_to_double`, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and `strtod` does not accept it, `sys_chars_to_double` overwrites that byte (a `,` becomes a `.`). The VM can fault if the scan reaches an unmapped page.\n\nThe `safe` option does not prevent this. `enif_binary_to_term()` and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
                }
              ],
              "value": "Out-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to read memory after the input, and to change one byte there, via a FLOAT_EXT term without a terminating zero byte. decoded_size in erts/emulator/beam/external.c checks only that the 31 bytes of the FLOAT_EXT field are present. dec_term then passes the field to sys_chars_to_double, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and strtod does not accept it, sys_chars_to_double overwrites that byte (a , becomes a .). The VM can fault if the scan reaches an unmapped page.\n\nThe safe option does not prevent this. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-540",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply bytes to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e or \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e can make the decoder read bytes after the input, which then change the decoded float, and can change one \u003ccode\u003e,\u003c/code\u003e byte after the input to \u003ccode\u003e.\u003c/code\u003e. The VM can abort if the read reaches unmapped memory.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply bytes to `binary_to_term/1,2` or `enif_binary_to_term()` can make the decoder read bytes after the input, which then change the decoded float, and can change one `,` byte after the input to `.`. The VM can abort if the read reaches unmapped memory."
                    }
                  ],
                  "value": "An attacker who can supply bytes to binary_to_term/1,2 or enif_binary_to_term() can make the decoder read bytes after the input, which then change the decoded float, and can change one , byte after the input to .. The VM can abort if the read reaches unmapped memory."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-125",
                  "description": "CWE-125 Out-of-bounds Read",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:10:40.813Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-r7pf-rpq8-5pf4"
            },
            {
              "name": "EEF CNA record for CVE-2026-120961",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-120961.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-120961",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-120961"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 4b954b8 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/4b954b8aa0f601a0d8d45f0953c77585afb6f853"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eDo not call \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\u003c/li\u003e\n\u003cli\u003eIf distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\u003c/li\u003e\n\u003cli\u003eUse alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the \u003ccode\u003e[safe]\u003c/code\u003e option to \u003ccode\u003ebinary_to_term/2\u003c/code\u003e does NOT protect against this issue. It only restricts atom creation, not structural validation of binary encodings.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* Do not call `binary_to_term/1,2` on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the `[safe]` option to `binary_to_term/2` does NOT protect against this issue. It only restricts atom creation, not structural validation of binary encodings."
                }
              ],
              "value": "* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this issue. It only restricts atom creation, not structural validation of binary encodings."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a \u003ccode\u003eFLOAT_EXT\u003c/code\u003e field without a NUL byte: tag 99 followed by the 31 bytes \u003ccode\u003e1.0e\u003c/code\u003e plus 26 times \u003ccode\u003e0\u003c/code\u003e plus \u003ccode\u003e1\u003c/code\u003e. This is the float 10.0.\u003c/li\u003e\n\u003cli\u003ePut the field at the end of an input, for example as the last element of a \u003ccode\u003eSMALL_TUPLE_EXT\u003c/code\u003e after the version byte 131.\u003c/li\u003e\n\u003cli\u003eBuild a larger binary that holds the input followed by the bytes \u003ccode\u003e7\u003c/code\u003e and NUL. Take the input as a sub-binary with \u003ccode\u003ebinary:part/3\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eCall \u003ccode\u003ebinary_to_term/2\u003c/code\u003e with \u003ccode\u003e[safe]\u003c/code\u003e on the sub-binary. The last element decodes as \u003ccode\u003e1.0e17\u003c/code\u003e and not \u003ccode\u003e10.0\u003c/code\u003e: the decoder read the \u003ccode\u003e7\u003c/code\u003e after the input.\u003c/li\u003e\n\u003cli\u003eFor the write, use the 31 digits \u003ccode\u003e1234567890123456789012345678901\u003c/code\u003e as the field and put \u003ccode\u003e,5\u003c/code\u003e and NUL after the input. After the call, the \u003ccode\u003e,\u003c/code\u003e byte in the parent binary is a \u003ccode\u003e.\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a `FLOAT_EXT` field without a NUL byte: tag 99 followed by the 31 bytes `1.0e` plus 26 times `0` plus `1`. This is the float 10.0.\n2. Put the field at the end of an input, for example as the last element of a `SMALL_TUPLE_EXT` after the version byte 131.\n3. Build a larger binary that holds the input followed by the bytes `7` and NUL. Take the input as a sub-binary with `binary:part/3`.\n4. Call `binary_to_term/2` with `[safe]` on the sub-binary. The last element decodes as `1.0e17` and not `10.0`: the decoder read the `7` after the input.\n5. For the write, use the 31 digits `1234567890123456789012345678901` as the field and put `,5` and NUL after the input. After the call, the `,` byte in the parent binary is a `.`."
                }
              ],
              "value": "* Build a FLOAT_EXT field without a NUL byte: tag 99 followed by the 31 bytes 1.0e plus 26 times 0 plus 1. This is the float 10.0.\n* Put the field at the end of an input, for example as the last element of a SMALL_TUPLE_EXT after the version byte 131.\n* Build a larger binary that holds the input followed by the bytes 7 and NUL. Take the input as a sub-binary with binary:part/3.\n* Call binary_to_term/2 with [safe] on the sub-binary. The last element decodes as 1.0e17 and not 10.0: the decoder read the 7 after the input.\n* For the write, use the 31 digits 1234567890123456789012345678901 as the field and put ,5 and NUL after the input. After the call, the , byte in the parent binary is a .."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Size pass.\u003c/strong\u003e \u003ccode\u003ebinary_to_term_int\u003c/code\u003e first calls \u003ccode\u003edecoded_size\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e. For \u003ccode\u003eFLOAT_EXT\u003c/code\u003e (tag 99), \u003ccode\u003edecoded_size\u003c/code\u003e skips 31 bytes and reserves heap for one float. It does not examine the content of the field.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Decode pass.\u003c/strong\u003e \u003ccode\u003edec_term\u003c/code\u003e passes the pointer to the field to \u003ccode\u003esys_chars_to_double\u003c/code\u003e and then advances by 31 bytes. The call carries no length. \u003ccode\u003esys_chars_to_double\u003c/code\u003e (in \u003ccode\u003eerts/emulator/sys/unix/sys_float.c\u003c/code\u003e and \u003ccode\u003eerts/emulator/sys/win32/sys_float.c\u003c/code\u003e) treats the field as a C string.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Out-of-bounds read.\u003c/strong\u003e \u003ccode\u003esys_chars_to_double\u003c/code\u003e checks the float syntax one character at a time and requires a NUL after the last digit. A valid encoder pads the field with NUL bytes. When all 31 bytes are part of a float, the scan and the subsequent \u003ccode\u003estrtod\u003c/code\u003e call continue into the bytes after the field. When the field is the last term of the input, these are bytes after the input. If they complete a valid float and a NUL follows, the decoded value contains them.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. One-byte write.\u003c/strong\u003e \u003ccode\u003esys_chars_to_double\u003c/code\u003e remembers the position of the radix character, which can be \u003ccode\u003e.\u003c/code\u003e or \u003ccode\u003e,\u003c/code\u003e. If \u003ccode\u003estrtod\u003c/code\u003e stops before the end of the scanned string, the function replaces the radix character with the other one in place and calls \u003ccode\u003estrtod\u003c/code\u003e again. When the field contains only digits, the radix character is a byte after the field. A \u003ccode\u003e,\u003c/code\u003e there is changed to \u003ccode\u003e.\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e5. Fault.\u003c/strong\u003e The scan has no upper limit. If only digits follow up to the end of the mapped memory, the read faults and the VM aborts.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Size pass.** `binary_to_term_int` first calls `decoded_size` in `erts/emulator/beam/external.c`. For `FLOAT_EXT` (tag 99), `decoded_size` skips 31 bytes and reserves heap for one float. It does not examine the content of the field.\n\n**2. Decode pass.** `dec_term` passes the pointer to the field to `sys_chars_to_double` and then advances by 31 bytes. The call carries no length. `sys_chars_to_double` (in `erts/emulator/sys/unix/sys_float.c` and `erts/emulator/sys/win32/sys_float.c`) treats the field as a C string.\n\n**3. Out-of-bounds read.** `sys_chars_to_double` checks the float syntax one character at a time and requires a NUL after the last digit. A valid encoder pads the field with NUL bytes. When all 31 bytes are part of a float, the scan and the subsequent `strtod` call continue into the bytes after the field. When the field is the last term of the input, these are bytes after the input. If they complete a valid float and a NUL follows, the decoded value contains them.\n\n**4. One-byte write.** `sys_chars_to_double` remembers the position of the radix character, which can be `.` or `,`. If `strtod` stops before the end of the scanned string, the function replaces the radix character with the other one in place and calls `strtod` again. When the field contains only digits, the radix character is a byte after the field. A `,` there is changed to `.`.\n\n**5. Fault.** The scan has no upper limit. If only digits follow up to the end of the mapped memory, the read faults and the VM aborts."
                }
              ],
              "value": "1. Size pass. binary_to_term_int first calls decoded_size in erts/emulator/beam/external.c. For FLOAT_EXT (tag 99), decoded_size skips 31 bytes and reserves heap for one float. It does not examine the content of the field.\n\n2. Decode pass. dec_term passes the pointer to the field to sys_chars_to_double and then advances by 31 bytes. The call carries no length. sys_chars_to_double (in erts/emulator/sys/unix/sys_float.c and erts/emulator/sys/win32/sys_float.c) treats the field as a C string.\n\n3. Out-of-bounds read. sys_chars_to_double checks the float syntax one character at a time and requires a NUL after the last digit. A valid encoder pads the field with NUL bytes. When all 31 bytes are part of a float, the scan and the subsequent strtod call continue into the bytes after the field. When the field is the last term of the input, these are bytes after the input. If they complete a valid float and a NUL follows, the decoded value contains them.\n\n4. One-byte write. sys_chars_to_double remembers the position of the radix character, which can be . or ,. If strtod stops before the end of the scanned string, the function replaces the radix character with the other one in place and calls strtod again. When the field contains only digits, the radix character is a byte after the field. A , there is changed to ..\n\n5. Fault. The scan has no upper limit. If only digits follow up to the end of the mapped memory, the read faults and the VM aborts."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-120961",
        "datePublished": "2026-11-24T15:10:40.813Z",
        "dateReserved": "2026-11-10T11:01:31.673Z",
        "dateUpdated": "2026-12-01T16:48:09.527Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-119443 (GCVE-0-2026-119443)

    Vulnerability from nvd – Published: 2026-11-24 15:02 – Updated: 2026-12-01 16:49
    VLAI
    Title
    XML Scan Untrusted DTD Which May Result in out of Memory Crash
    Summary
    Improper Restriction of XML External Entity Reference vulnerability in xmerl_scan in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD. With default options, xmerl_scan:string/1,2 and xmerl_scan:file/1,2 fetch and parse the external DTD named in a <!DOCTYPE root SYSTEM "..."> declaration. fetch_DTD/2 in lib/xmerl/src/xmerl_scan.erl passes every system identifier to the default fetch function, which maps file: and absolute URIs to local paths, and int_file_decl/3 then reads the whole file with file:read_file/1. This happens whether or not validation is enabled, and the allow_entities option, which is false by default since OTP 27, only governs <!ENTITY> declarations and does not stop the fetch. A document naming file:///dev/zero makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP 17.0, corresponding to xmerl before 1.3.7, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:38 UTC
    CWE
    • CWE-611 - Improper Restriction of XML External Entity Reference
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 1.3.7 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < * (git)
    Unaffected: 4d5dc15b3ba923ad9d939c560749239289ba41f3 , < * (git)
    Unaffected: 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:02
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-119443",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:38:03.289214Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:49:25.387Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "xmerl_scan"
              ],
              "packageName": "xmerl",
              "packageURL": "pkg:otp/xmerl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/xmerl_scan.erl"
              ],
              "programRoutines": [
                {
                  "name": "xmerl_scan:string/1"
                },
                {
                  "name": "xmerl_scan:string/2"
                },
                {
                  "name": "xmerl_scan:file/1"
                },
                {
                  "name": "xmerl_scan:file/2"
                },
                {
                  "name": "xmerl_scan:fetch_DTD/2"
                },
                {
                  "name": "xmerl_scan:fetch_and_parse/3"
                },
                {
                  "name": "xmerl_scan:fetch_URI/2"
                },
                {
                  "name": "xmerl_scan:int_file_decl/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "2.1.3.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "2.1.9.1",
                      "status": "unaffected"
                    },
                    {
                      "at": "2.2.1",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "1.3.7",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "xmerl_scan"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/xmerl/src/xmerl_scan.erl"
              ],
              "programRoutines": [
                {
                  "name": "xmerl_scan:string/1"
                },
                {
                  "name": "xmerl_scan:string/2"
                },
                {
                  "name": "xmerl_scan:file/1"
                },
                {
                  "name": "xmerl_scan:file/2"
                },
                {
                  "name": "xmerl_scan:fetch_DTD/2"
                },
                {
                  "name": "xmerl_scan:fetch_and_parse/3"
                },
                {
                  "name": "xmerl_scan:fetch_URI/2"
                },
                {
                  "name": "xmerl_scan:int_file_decl/3"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "xmerl_scan"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/xmerl/src/xmerl_scan.erl"
              ],
              "programRoutines": [
                {
                  "name": "xmerl_scan:string/1"
                },
                {
                  "name": "xmerl_scan:string/2"
                },
                {
                  "name": "xmerl_scan:file/1"
                },
                {
                  "name": "xmerl_scan:file/2"
                },
                {
                  "name": "xmerl_scan:fetch_DTD/2"
                },
                {
                  "name": "xmerl_scan:fetch_and_parse/3"
                },
                {
                  "name": "xmerl_scan:fetch_URI/2"
                },
                {
                  "name": "xmerl_scan:int_file_decl/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "4d5dc15b3ba923ad9d939c560749239289ba41f3",
                      "status": "unaffected"
                    },
                    {
                      "at": "6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "4d5dc15b3ba923ad9d939c560749239289ba41f3",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Neil Berkman / Xuku LLC"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Neil Berkman / Xuku LLC"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lars Thors\u00e9n"
            }
          ],
          "dateAssigned": "2026-11-05T14:26:31.000Z",
          "datePublic": "2026-11-24T15:02:08.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Restriction of XML External Entity Reference vulnerability in \u003ccode\u003exmerl_scan\u003c/code\u003e in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD.\u003c/p\u003e\n\u003cp\u003eWith default options, \u003ccode\u003exmerl_scan:string/1,2\u003c/code\u003e and \u003ccode\u003exmerl_scan:file/1,2\u003c/code\u003e fetch and parse the external DTD named in a \u003ccode\u003e\u0026lt;!DOCTYPE root SYSTEM \"...\"\u0026gt;\u003c/code\u003e declaration. \u003ccode\u003efetch_DTD/2\u003c/code\u003e in \u003ccode\u003elib/xmerl/src/xmerl_scan.erl\u003c/code\u003e passes every system identifier to the default fetch function, which maps \u003ccode\u003efile:\u003c/code\u003e and absolute URIs to local paths, and \u003ccode\u003eint_file_decl/3\u003c/code\u003e then reads the whole file with \u003ccode\u003efile:read_file/1\u003c/code\u003e. This happens whether or not validation is enabled, and the \u003ccode\u003eallow_entities\u003c/code\u003e option, which is \u003ccode\u003efalse\u003c/code\u003e by default since OTP 27, only governs \u003ccode\u003e\u0026lt;!ENTITY\u0026gt;\u003c/code\u003e declarations and does not stop the fetch. A document naming \u003ccode\u003efile:///dev/zero\u003c/code\u003e makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP\u0026nbsp;17.0, corresponding to xmerl before 1.3.7, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Restriction of XML External Entity Reference vulnerability in `xmerl_scan` in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD.\n\nWith default options, `xmerl_scan:string/1,2` and `xmerl_scan:file/1,2` fetch and parse the external DTD named in a `\u003c!DOCTYPE root SYSTEM \"...\"\u003e` declaration. `fetch_DTD/2` in `lib/xmerl/src/xmerl_scan.erl` passes every system identifier to the default fetch function, which maps `file:` and absolute URIs to local paths, and `int_file_decl/3` then reads the whole file with `file:read_file/1`. This happens whether or not validation is enabled, and the `allow_entities` option, which is `false` by default since OTP 27, only governs `\u003c!ENTITY\u003e` declarations and does not stop the fetch. A document naming `file:///dev/zero` makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP\u00a017.0, corresponding to xmerl before 1.3.7, is affected is unknown."
                }
              ],
              "value": "Improper Restriction of XML External Entity Reference vulnerability in xmerl_scan in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD.\n\nWith default options, xmerl_scan:string/1,2 and xmerl_scan:file/1,2 fetch and parse the external DTD named in a \u003c!DOCTYPE root SYSTEM \"...\"\u003e declaration. fetch_DTD/2 in lib/xmerl/src/xmerl_scan.erl passes every system identifier to the default fetch function, which maps file: and absolute URIs to local paths, and int_file_decl/3 then reads the whole file with file:read_file/1. This happens whether or not validation is enabled, and the allow_entities option, which is false by default since OTP 27, only governs \u003c!ENTITY\u003e declarations and does not stop the fetch. A document naming file:///dev/zero makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP\u00a017.0, corresponding to xmerl before 1.3.7, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-201",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply an XML document to an application that parses it with \u003ccode\u003exmerl_scan\u003c/code\u003e using default options makes the node read an unbounded local resource such as \u003ccode\u003e/dev/zero\u003c/code\u003e. The read exhausts memory and takes the node down for every user of the application.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply an XML document to an application that parses it with `xmerl_scan` using default options makes the node read an unbounded local resource such as `/dev/zero`. The read exhausts memory and takes the node down for every user of the application."
                    }
                  ],
                  "value": "An attacker who can supply an XML document to an application that parses it with xmerl_scan using default options makes the node read an unbounded local resource such as /dev/zero. The read exhausts memory and takes the node down for every user of the application."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-611",
                  "description": "CWE-611 Improper Restriction of XML External Entity Reference",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:02:12.313Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "XML Scan Untrusted DTD Which May Result in out of Memory Crash",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-j6vp-frc3-9g33"
            },
            {
              "name": "EEF CNA record for CVE-2026-119443",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-119443.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-119443",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-119443"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 4d5dc15 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/4d5dc15b3ba923ad9d939c560749239289ba41f3"
            },
            {
              "name": "Fix commit 6723ad3 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "XML Scan Untrusted DTD Which May Result in out of Memory Crash",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003ePass a \u003ccode\u003efetch_fun\u003c/code\u003e that refuses external resources in the option list of \u003ccode\u003exmerl_scan:string/2\u003c/code\u003e or \u003ccode\u003exmerl_scan:file/2\u003c/code\u003e, for example \u003ccode\u003e{fetch_fun, fun(_ExtSpec, State) -\u0026gt; {ok, not_fetched, State} end}\u003c/code\u003e. The scanner then continues without reading or parsing the external DTD.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Pass a `fetch_fun` that refuses external resources in the option list of `xmerl_scan:string/2` or `xmerl_scan:file/2`, for example `{fetch_fun, fun(_ExtSpec, State) -\u003e {ok, not_fetched, State} end}`. The scanner then continues without reading or parsing the external DTD."
                }
              ],
              "value": "Pass a fetch_fun that refuses external resources in the option list of xmerl_scan:string/2 or xmerl_scan:file/2, for example {fetch_fun, fun(_ExtSpec, State) -\u003e {ok, not_fetched, State} end}. The scanner then continues without reading or parsing the external DTD."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild an XML document whose DOCTYPE names an unbounded local resource, for example \u003ccode\u003e\u0026lt;?xml version=\"1.0\"?\u0026gt;\u0026lt;!DOCTYPE root SYSTEM \"file:///dev/zero\"\u0026gt;\u0026lt;root/\u0026gt;\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eParse it with \u003ccode\u003exmerl_scan:string/1\u003c/code\u003e with default options on a Unix host.\u003c/li\u003e\n\u003cli\u003eThe call never returns. The reporter observed binary memory reaching 8, 16, 32 and 64 GB within five seconds on OTP 29.1.2, after which the node was killed for lack of memory.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build an XML document whose DOCTYPE names an unbounded local resource, for example `\u003c?xml version=\"1.0\"?\u003e\u003c!DOCTYPE root SYSTEM \"file:///dev/zero\"\u003e\u003croot/\u003e`.\n2. Parse it with `xmerl_scan:string/1` with default options on a Unix host.\n3. The call never returns. The reporter observed binary memory reaching 8, 16, 32 and 64 GB within five seconds on OTP 29.1.2, after which the node was killed for lack of memory."
                }
              ],
              "value": "* Build an XML document whose DOCTYPE names an unbounded local resource, for example \u003c?xml version=\"1.0\"?\u003e\u003c!DOCTYPE root SYSTEM \"file:///dev/zero\"\u003e\u003croot/\u003e.\n* Parse it with xmerl_scan:string/1 with default options on a Unix host.\n* The call never returns. The reporter observed binary memory reaching 8, 16, 32 and 64 GB within five seconds on OTP 29.1.2, after which the node was killed for lack of memory."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. DOCTYPE handling.\u003c/strong\u003e \u003ccode\u003escan_doctype2/3\u003c/code\u003e and \u003ccode\u003escan_doctype3/3\u003c/code\u003e in \u003ccode\u003elib/xmerl/src/xmerl_scan.erl\u003c/code\u003e call \u003ccode\u003efetch_DTD/2\u003c/code\u003e once the \u003ccode\u003e\u0026lt;!DOCTYPE\u0026gt;\u003c/code\u003e declaration ends. \u003ccode\u003efetch_DTD/2\u003c/code\u003e has no clause that skips the fetch when validation is off (that clause is commented out), so every system identifier reaches \u003ccode\u003efetch_and_parse/3\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Default fetch.\u003c/strong\u003e \u003ccode\u003efetch_and_parse/3\u003c/code\u003e calls the scanner\u0027s \u003ccode\u003efetch_fun\u003c/code\u003e, which defaults to \u003ccode\u003efetch/2\u003c/code\u003e. Its helper \u003ccode\u003efetch_URI/2\u003c/code\u003e treats the identifier as a filename: a \u003ccode\u003efile:\u003c/code\u003e URI or an absolute path resolves to that local path, and a relative name resolves against \u003ccode\u003exmlbase\u003c/code\u003e. Only \u003ccode\u003ehttp:\u003c/code\u003e identifiers are left unread.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Unbounded read.\u003c/strong\u003e The returned \u003ccode\u003e{file, Path}\u003c/code\u003e goes to \u003ccode\u003eint_file_decl/3\u003c/code\u003e, which calls \u003ccode\u003efile:read_file/1\u003c/code\u003e on the path and converts the result to a list. \u003ccode\u003efile:read_file/1\u003c/code\u003e reads until end of file, so a device such as \u003ccode\u003e/dev/zero\u003c/code\u003e never returns and the binary heap grows until the operating system kills the VM. The \u003ccode\u003eallow_entities\u003c/code\u003e default of \u003ccode\u003efalse\u003c/code\u003e does not help: it only rejects \u003ccode\u003e\u0026lt;!ENTITY\u0026gt;\u003c/code\u003e declarations in \u003ccode\u003escan_markup_decl/2\u003c/code\u003e, which runs after the file has been read.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. DOCTYPE handling.** `scan_doctype2/3` and `scan_doctype3/3` in `lib/xmerl/src/xmerl_scan.erl` call `fetch_DTD/2` once the `\u003c!DOCTYPE\u003e` declaration ends. `fetch_DTD/2` has no clause that skips the fetch when validation is off (that clause is commented out), so every system identifier reaches `fetch_and_parse/3`.\n\n**2. Default fetch.** `fetch_and_parse/3` calls the scanner\u0027s `fetch_fun`, which defaults to `fetch/2`. Its helper `fetch_URI/2` treats the identifier as a filename: a `file:` URI or an absolute path resolves to that local path, and a relative name resolves against `xmlbase`. Only `http:` identifiers are left unread.\n\n**3. Unbounded read.** The returned `{file, Path}` goes to `int_file_decl/3`, which calls `file:read_file/1` on the path and converts the result to a list. `file:read_file/1` reads until end of file, so a device such as `/dev/zero` never returns and the binary heap grows until the operating system kills the VM. The `allow_entities` default of `false` does not help: it only rejects `\u003c!ENTITY\u003e` declarations in `scan_markup_decl/2`, which runs after the file has been read."
                }
              ],
              "value": "1. DOCTYPE handling. scan_doctype2/3 and scan_doctype3/3 in lib/xmerl/src/xmerl_scan.erl call fetch_DTD/2 once the \u003c!DOCTYPE\u003e declaration ends. fetch_DTD/2 has no clause that skips the fetch when validation is off (that clause is commented out), so every system identifier reaches fetch_and_parse/3.\n\n2. Default fetch. fetch_and_parse/3 calls the scanner\u0027s fetch_fun, which defaults to fetch/2. Its helper fetch_URI/2 treats the identifier as a filename: a file: URI or an absolute path resolves to that local path, and a relative name resolves against xmlbase. Only http: identifiers are left unread.\n\n3. Unbounded read. The returned {file, Path} goes to int_file_decl/3, which calls file:read_file/1 on the path and converts the result to a list. file:read_file/1 reads until end of file, so a device such as /dev/zero never returns and the binary heap grows until the operating system kills the VM. The allow_entities default of false does not help: it only rejects \u003c!ENTITY\u003e declarations in scan_markup_decl/2, which runs after the file has been read."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-119443",
        "datePublished": "2026-11-24T15:02:12.313Z",
        "dateReserved": "2026-10-30T09:45:01.835Z",
        "dateUpdated": "2026-12-01T16:49:25.387Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-117642 (GCVE-0-2026-117642)

    Vulnerability from nvd – Published: 2026-11-24 15:09 – Updated: 2026-12-01 16:48
    VLAI
    Title
    binary_to_term Stack Exhaustion via Nested Funs in NEW_FUN_EXT and EXPORT_EXT Aborts the VM
    Summary
    Uncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a fun term with funs nested in its integer fields. dec_term in erts/emulator/beam/external.c decodes terms iteratively, except for the OldIndex and OldUniq fields of NEW_FUN_EXT and the Arity field of EXPORT_EXT. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth. The abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < 30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076 (git)
    Unaffected: 30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:09
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-117642",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:30.954431Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:24.461Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/external.c",
                "emulator/beam/erl_nif.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Anderton Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Sverker Eriksson"
            }
          ],
          "dateAssigned": "2026-11-09T22:47:56.000Z",
          "datePublic": "2026-11-24T15:09:35.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e to abort the Erlang VM via a fun term with funs nested in its integer fields. \u003ccode\u003edec_term\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e decodes terms iteratively, except for the \u003ccode\u003eOldIndex\u003c/code\u003e and \u003ccode\u003eOldUniq\u003c/code\u003e fields of \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e and the \u003ccode\u003eArity\u003c/code\u003e field of \u003ccode\u003eEXPORT_EXT\u003c/code\u003e. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth.\u003c/p\u003e\n\u003cp\u003eThe abort takes down every process on the node. Supervision, \u003ccode\u003etry\u003c/code\u003e/\u003ccode\u003ecatch\u003c/code\u003e and the \u003ccode\u003esafe\u003c/code\u003e option do not prevent it. \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to erts before 6.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Uncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to `binary_to_term/1,2` to abort the Erlang VM via a fun term with funs nested in its integer fields. `dec_term` in `erts/emulator/beam/external.c` decodes terms iteratively, except for the `OldIndex` and `OldUniq` fields of `NEW_FUN_EXT` and the `Arity` field of `EXPORT_EXT`. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth.\n\nThe abort takes down every process on the node. Supervision, `try`/`catch` and the `safe` option do not prevent it. `enif_binary_to_term()` and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
                }
              ],
              "value": "Uncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a fun term with funs nested in its integer fields. dec_term in erts/emulator/beam/external.c decodes terms iteratively, except for the OldIndex and OldUniq fields of NEW_FUN_EXT and the Arity field of EXPORT_EXT. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth.\n\nThe abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-230",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply bytes to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e or \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e can abort the Erlang VM and stop every application on the node.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply bytes to `binary_to_term/1,2` or `enif_binary_to_term()` can abort the Erlang VM and stop every application on the node."
                    }
                  ],
                  "value": "An attacker who can supply bytes to binary_to_term/1,2 or enif_binary_to_term() can abort the Erlang VM and stop every application on the node."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-674",
                  "description": "CWE-674 Uncontrolled Recursion",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:09:37.711Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "binary_to_term of Incorrectly Encoded Funs Could Exhausts the VM Stack",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-8575-6vgw-5v3c"
            },
            {
              "name": "EEF CNA record for CVE-2026-117642",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-117642.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-117642",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-117642"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 30269e6 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "binary_to_term Stack Exhaustion via Nested Funs in NEW_FUN_EXT and EXPORT_EXT Aborts the VM",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eDo not call \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\u003c/li\u003e\n\u003cli\u003eIf distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\u003c/li\u003e\n\u003cli\u003eUse alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the \u003ccode\u003e[safe]\u003c/code\u003e option to \u003ccode\u003ebinary_to_term/2\u003c/code\u003e does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* Do not call `binary_to_term/1,2` on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the `[safe]` option to `binary_to_term/2` does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
                }
              ],
              "value": "* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e (tag 112) term with a valid module atom and zero free variables.\u003c/li\u003e\n\u003cli\u003eIn place of the \u003ccode\u003eOldIndex\u003c/code\u003e field, which must be a small integer, encode another \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e term. Repeat this nesting until the chain is deep enough to exhaust the stack of a scheduler thread. The \u003ccode\u003eOldUniq\u003c/code\u003e field, or the \u003ccode\u003eArity\u003c/code\u003e field of an \u003ccode\u003eEXPORT_EXT\u003c/code\u003e (tag 113), can carry the nested fun instead.\u003c/li\u003e\n\u003cli\u003ePrefix the result with the version byte 131 and call \u003ccode\u003ebinary_to_term/1\u003c/code\u003e, or \u003ccode\u003ebinary_to_term/2\u003c/code\u003e with \u003ccode\u003e[safe]\u003c/code\u003e, on it.\u003c/li\u003e\n\u003cli\u003eThe VM aborts from stack exhaustion instead of raising \u003ccode\u003ebadarg\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a `NEW_FUN_EXT` (tag 112) term with a valid module atom and zero free variables.\n2. In place of the `OldIndex` field, which must be a small integer, encode another `NEW_FUN_EXT` term. Repeat this nesting until the chain is deep enough to exhaust the stack of a scheduler thread. The `OldUniq` field, or the `Arity` field of an `EXPORT_EXT` (tag 113), can carry the nested fun instead.\n3. Prefix the result with the version byte 131 and call `binary_to_term/1`, or `binary_to_term/2` with `[safe]`, on it.\n4. The VM aborts from stack exhaustion instead of raising `badarg`."
                }
              ],
              "value": "* Build a NEW_FUN_EXT (tag 112) term with a valid module atom and zero free variables.\n* In place of the OldIndex field, which must be a small integer, encode another NEW_FUN_EXT term. Repeat this nesting until the chain is deep enough to exhaust the stack of a scheduler thread. The OldUniq field, or the Arity field of an EXPORT_EXT (tag 113), can carry the nested fun instead.\n* Prefix the result with the version byte 131 and call binary_to_term/1, or binary_to_term/2 with [safe], on it.\n* The VM aborts from stack exhaustion instead of raising badarg."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Iterative decoder.\u003c/strong\u003e \u003ccode\u003edec_term\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e walks the external term format with an explicit work list, so nested tuples, lists and maps do not grow the C stack. \u003ccode\u003edecoded_size\u003c/code\u003e runs first and sizes the input the same way.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Recursive integer fields.\u003c/strong\u003e Two tags break that pattern. For \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e (112), \u003ccode\u003edec_term\u003c/code\u003e reads the \u003ccode\u003eOldIndex\u003c/code\u003e and \u003ccode\u003eOldUniq\u003c/code\u003e fields by calling itself and checks \u003ccode\u003eis_small\u003c/code\u003e on the result afterwards. For \u003ccode\u003eEXPORT_EXT\u003c/code\u003e (113), it reads the \u003ccode\u003eArity\u003c/code\u003e field the same way. On current release lines the discarded creator pid of \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e is also read by a recursive call. The recursive call accepts any term, so a fun placed in one of these fields is decoded as a fun, and its own integer fields recurse again.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Stack exhaustion.\u003c/strong\u003e Each nesting level costs one \u003ccode\u003edec_term\u003c/code\u003e frame on the scheduler thread\u0027s stack. \u003ccode\u003edecoded_size\u003c/code\u003e accepts the input because it only counts terms and heap words. An input nested deeply enough overflows the stack before any \u003ccode\u003eis_small\u003c/code\u003e check fails, and the VM aborts. The depth needed depends on the stack size of the thread, so the input must be correspondingly large.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Fix.\u003c/strong\u003e The fix decodes these fields with a dedicated \u003ccode\u003edec_int32\u003c/code\u003e that accepts only \u003ccode\u003eSMALL_INTEGER_EXT\u003c/code\u003e and \u003ccode\u003eINTEGER_EXT\u003c/code\u003e, and decodes the creator pid through \u003ccode\u003edec_pid\u003c/code\u003e, leaving no recursive call to \u003ccode\u003edec_term\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Iterative decoder.** `dec_term` in `erts/emulator/beam/external.c` walks the external term format with an explicit work list, so nested tuples, lists and maps do not grow the C stack. `decoded_size` runs first and sizes the input the same way.\n\n**2. Recursive integer fields.** Two tags break that pattern. For `NEW_FUN_EXT` (112), `dec_term` reads the `OldIndex` and `OldUniq` fields by calling itself and checks `is_small` on the result afterwards. For `EXPORT_EXT` (113), it reads the `Arity` field the same way. On current release lines the discarded creator pid of `NEW_FUN_EXT` is also read by a recursive call. The recursive call accepts any term, so a fun placed in one of these fields is decoded as a fun, and its own integer fields recurse again.\n\n**3. Stack exhaustion.** Each nesting level costs one `dec_term` frame on the scheduler thread\u0027s stack. `decoded_size` accepts the input because it only counts terms and heap words. An input nested deeply enough overflows the stack before any `is_small` check fails, and the VM aborts. The depth needed depends on the stack size of the thread, so the input must be correspondingly large.\n\n**4. Fix.** The fix decodes these fields with a dedicated `dec_int32` that accepts only `SMALL_INTEGER_EXT` and `INTEGER_EXT`, and decodes the creator pid through `dec_pid`, leaving no recursive call to `dec_term`."
                }
              ],
              "value": "1. Iterative decoder. dec_term in erts/emulator/beam/external.c walks the external term format with an explicit work list, so nested tuples, lists and maps do not grow the C stack. decoded_size runs first and sizes the input the same way.\n\n2. Recursive integer fields. Two tags break that pattern. For NEW_FUN_EXT (112), dec_term reads the OldIndex and OldUniq fields by calling itself and checks is_small on the result afterwards. For EXPORT_EXT (113), it reads the Arity field the same way. On current release lines the discarded creator pid of NEW_FUN_EXT is also read by a recursive call. The recursive call accepts any term, so a fun placed in one of these fields is decoded as a fun, and its own integer fields recurse again.\n\n3. Stack exhaustion. Each nesting level costs one dec_term frame on the scheduler thread\u0027s stack. decoded_size accepts the input because it only counts terms and heap words. An input nested deeply enough overflows the stack before any is_small check fails, and the VM aborts. The depth needed depends on the stack size of the thread, so the input must be correspondingly large.\n\n4. Fix. The fix decodes these fields with a dedicated dec_int32 that accepts only SMALL_INTEGER_EXT and INTEGER_EXT, and decodes the creator pid through dec_pid, leaving no recursive call to dec_term."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-117642",
        "datePublished": "2026-11-24T15:09:37.711Z",
        "dateReserved": "2026-11-09T22:45:23.138Z",
        "dateUpdated": "2026-12-01T16:48:24.461Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116382 (GCVE-0-2026-116382)

    Vulnerability from nvd – Published: 2026-11-24 15:05 – Updated: 2026-12-01 16:48
    VLAI
    Title
    Attacker-controlled ESI headers cause persistent atom-table growth in `inets`
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (httpd_script_env module) allows an unauthenticated remote attacker to exhaust the atom table of an httpd server that serves ESI scripts. When mod_esi builds the environment for an ESI callback, httpd_script_env:http_env_element/3 checks that a request header name already exists as an atom, then creates the atom http_<header-name> with list_to_atom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates http_node, a header named http_node creates http_http_node, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (+t), and then the whole Erlang VM aborts, together with every application on the node. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 5.10 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < 5c5c8c038ae7044368bc7bc1eedea09d77a3047a (git)
    Unaffected: 5c5c8c038ae7044368bc7bc1eedea09d77a3047a , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:05
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116382",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:42.518927Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:54.343Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "httpd_script_env",
                "mod_esi"
              ],
              "packageName": "inets",
              "packageURL": "pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/http_server/httpd_script_env.erl",
                "src/http_server/mod_esi.erl"
              ],
              "programRoutines": [
                {
                  "name": "httpd_script_env:http_env_element/3"
                },
                {
                  "name": "httpd_script_env:create_env/3"
                },
                {
                  "name": "mod_esi:do/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "9.3.2.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.6.2.5",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.8.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.10",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "httpd_script_env",
                "mod_esi"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_server/httpd_script_env.erl",
                "lib/inets/src/http_server/mod_esi.erl"
              ],
              "programRoutines": [
                {
                  "name": "httpd_script_env:http_env_element/3"
                },
                {
                  "name": "httpd_script_env:create_env/3"
                },
                {
                  "name": "mod_esi:do/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "httpd_script_env",
                "mod_esi"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_server/httpd_script_env.erl",
                "lib/inets/src/http_server/mod_esi.erl"
              ],
              "programRoutines": [
                {
                  "name": "httpd_script_env:http_env_element/3"
                },
                {
                  "name": "httpd_script_env:create_env/3"
                },
                {
                  "name": "mod_esi:do/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "5c5c8c038ae7044368bc7bc1eedea09d77a3047a",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "5c5c8c038ae7044368bc7bc1eedea09d77a3047a",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOnly \u003ccode\u003ehttpd\u003c/code\u003e servers with at least one \u003ccode\u003eerl_script_alias\u003c/code\u003e configured are affected, and only for clients that can reach an ESI URL prefix. Where \u003ccode\u003emod_auth\u003c/code\u003e or \u003ccode\u003emod_security\u003c/code\u003e directory protection sits in front of \u003ccode\u003emod_esi\u003c/code\u003e, only authenticated clients can trigger the issue. CGI scripts served by \u003ccode\u003emod_cgi\u003c/code\u003e and the \u003ccode\u003ehttpc\u003c/code\u003e client are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Only `httpd` servers with at least one `erl_script_alias` configured are affected, and only for clients that can reach an ESI URL prefix. Where `mod_auth` or `mod_security` directory protection sits in front of `mod_esi`, only authenticated clients can trigger the issue. CGI scripts served by `mod_cgi` and the `httpc` client are not affected."
                }
              ],
              "value": "Only httpd servers with at least one erl_script_alias configured are affected, and only for clients that can reach an ESI URL prefix. Where mod_auth or mod_security directory protection sits in front of mod_esi, only authenticated clients can trigger the issue. CGI scripts served by mod_cgi and the httpc client are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "John Downey"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "John Downey"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-10-29T16:00:29.000Z",
          "datePublic": "2026-11-24T15:05:51.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (\u003ccode\u003ehttpd_script_env\u003c/code\u003e module) allows an unauthenticated remote attacker to exhaust the atom table of an \u003ccode\u003ehttpd\u003c/code\u003e server that serves ESI scripts.\u003c/p\u003e\n\u003cp\u003eWhen \u003ccode\u003emod_esi\u003c/code\u003e builds the environment for an ESI callback, \u003ccode\u003ehttpd_script_env:http_env_element/3\u003c/code\u003e checks that a request header name already exists as an atom, then creates the atom \u003ccode\u003ehttp_\u0026lt;header-name\u0026gt;\u003c/code\u003e with \u003ccode\u003elist_to_atom/1\u003c/code\u003e. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named \u003ccode\u003enode\u003c/code\u003e creates \u003ccode\u003ehttp_node\u003c/code\u003e, a header named \u003ccode\u003ehttp_node\u003c/code\u003e creates \u003ccode\u003ehttp_http_node\u003c/code\u003e, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (\u003ccode\u003e+t\u003c/code\u003e), and then the whole Erlang VM aborts, together with every application on the node.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (`httpd_script_env` module) allows an unauthenticated remote attacker to exhaust the atom table of an `httpd` server that serves ESI scripts.\n\nWhen `mod_esi` builds the environment for an ESI callback, `httpd_script_env:http_env_element/3` checks that a request header name already exists as an atom, then creates the atom `http_\u003cheader-name\u003e` with `list_to_atom/1`. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named `node` creates `http_node`, a header named `http_node` creates `http_http_node`, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (`+t`), and then the whole Erlang VM aborts, together with every application on the node.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (httpd_script_env module) allows an unauthenticated remote attacker to exhaust the atom table of an httpd server that serves ESI scripts.\n\nWhen mod_esi builds the environment for an ESI callback, httpd_script_env:http_env_element/3 checks that a request header name already exists as an atom, then creates the atom http_\u003cheader-name\u003e with list_to_atom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates http_node, a header named http_node creates http_http_node, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (+t), and then the whole Erlang VM aborts, together with every application on the node.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn unauthenticated remote client can permanently grow the atom table of the node with ordinary HTTP requests. When the table reaches its limit, the Erlang VM aborts and takes down every application on the node, not only \u003ccode\u003ehttpd\u003c/code\u003e.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An unauthenticated remote client can permanently grow the atom table of the node with ordinary HTTP requests. When the table reaches its limit, the Erlang VM aborts and takes down every application on the node, not only `httpd`."
                    }
                  ],
                  "value": "An unauthenticated remote client can permanently grow the atom table of the node with ordinary HTTP requests. When the table reaches its limit, the Erlang VM aborts and takes down every application on the node, not only httpd."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:05:52.681Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "Attacker-controlled ESI headers cause persistent atom-table growth in `inets`",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-7fjc-wcvc-vp96"
            },
            {
              "name": "EEF CNA record for CVE-2026-116382",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116382.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116382",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116382"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 5c5c8c0 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/5c5c8c038ae7044368bc7bc1eedea09d77a3047a"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Attacker-controlled ESI headers cause persistent atom-table growth in `inets`",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eIf you do not need ESI, remove \u003ccode\u003eerl_script_alias\u003c/code\u003e from the \u003ccode\u003ehttpd\u003c/code\u003e configuration.\u003c/li\u003e\n\u003cli\u003eRestrict the ESI URL prefixes to trusted clients, for example with \u003ccode\u003emod_auth\u003c/code\u003e directory protection. Authenticated clients can still trigger the issue.\u003c/li\u003e\n\u003cli\u003ePut \u003ccode\u003ehttpd\u003c/code\u003e behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set \u003ccode\u003eproxy_pass_request_headers off\u003c/code\u003e and add one \u003ccode\u003eproxy_set_header\u003c/code\u003e for each allowed header.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* If you do not need ESI, remove `erl_script_alias` from the `httpd` configuration.\n* Restrict the ESI URL prefixes to trusted clients, for example with `mod_auth` directory protection. Authenticated clients can still trigger the issue.\n* Put `httpd` behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set `proxy_pass_request_headers off` and add one `proxy_set_header` for each allowed header."
                }
              ],
              "value": "* If you do not need ESI, remove erl_script_alias from the httpd configuration.\n* Restrict the ESI URL prefixes to trusted clients, for example with mod_auth directory protection. Authenticated clients can still trigger the issue.\n* Put httpd behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set proxy_pass_request_headers off and add one proxy_set_header for each allowed header."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart \u003ccode\u003ehttpd\u003c/code\u003e with \u003ccode\u003e{erl_script_alias, {\"/esi\", [Mod]}}\u003c/code\u003e, where \u003ccode\u003eMod\u003c/code\u003e exports any ESI callback \u003ccode\u003efun/3\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eSend \u003ccode\u003eGET /esi/Mod:fun\u003c/code\u003e with a request header named \u003ccode\u003enode\u003c/code\u003e. The node now holds the atom \u003ccode\u003ehttp_node\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eSend the same request with a header named \u003ccode\u003ehttp_node\u003c/code\u003e. The node now holds \u003ccode\u003ehttp_http_node\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eRepeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start `httpd` with `{erl_script_alias, {\"/esi\", [Mod]}}`, where `Mod` exports any ESI callback `fun/3`.\n2. Send `GET /esi/Mod:fun` with a request header named `node`. The node now holds the atom `http_node`.\n3. Send the same request with a header named `http_node`. The node now holds `http_http_node`.\n4. Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM."
                }
              ],
              "value": "* Start httpd with {erl_script_alias, {\"/esi\", [Mod]}}, where Mod exports any ESI callback fun/3.\n* Send GET /esi/Mod:fun with a request header named node. The node now holds the atom http_node.\n* Send the same request with a header named http_node. The node now holds http_http_node.\n* Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116382",
        "datePublished": "2026-11-24T15:05:52.681Z",
        "dateReserved": "2026-10-28T13:15:01.637Z",
        "dateUpdated": "2026-12-01T16:48:54.343Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116295 (GCVE-0-2026-116295)

    Vulnerability from nvd – Published: 2026-11-24 15:05 – Updated: 2026-12-01 16:49
    VLAI
    Title
    CRLF injection in httpc request headers
    Summary
    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in Erlang OTP inets (httpc module) allows HTTP Request Splitting. httpc writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path http_request:mk_key_value_str/2, and with the headers_as_is option httpc_request:http_headers/2, build each header line by plain concatenation of the name, ": ", the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to httpc:request/4,5 can add or override request headers, or append a second request on the same connection. Applications that pass only constant or validated header names and values are not affected. The request line is not affected, because uri_string rejects URLs that contain raw CR/LF. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 5.10 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < a3197fab19232e370d940cb187fa3201b2c9bd48 (git)
    Unaffected: a3197fab19232e370d940cb187fa3201b2c9bd48 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:05
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116295",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:55.376511Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:49:09.920Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "http_request",
                "httpc_request",
                "httpc"
              ],
              "packageName": "inets",
              "packageURL": "pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/http_lib/http_request.erl",
                "src/http_client/httpc_request.erl",
                "src/http_client/httpc.erl"
              ],
              "programRoutines": [
                {
                  "name": "http_request:http_headers/1"
                },
                {
                  "name": "http_request:mk_key_value_str/2"
                },
                {
                  "name": "httpc_request:http_headers/2"
                },
                {
                  "name": "httpc:request/4"
                },
                {
                  "name": "httpc:request/5"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "9.3.2.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.6.2.5",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.8.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.10",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "http_request",
                "httpc_request",
                "httpc"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_lib/http_request.erl",
                "lib/inets/src/http_client/httpc_request.erl",
                "lib/inets/src/http_client/httpc.erl"
              ],
              "programRoutines": [
                {
                  "name": "http_request:http_headers/1"
                },
                {
                  "name": "http_request:mk_key_value_str/2"
                },
                {
                  "name": "httpc_request:http_headers/2"
                },
                {
                  "name": "httpc:request/4"
                },
                {
                  "name": "httpc:request/5"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "http_request",
                "httpc_request",
                "httpc"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_lib/http_request.erl",
                "lib/inets/src/http_client/httpc_request.erl",
                "lib/inets/src/http_client/httpc.erl"
              ],
              "programRoutines": [
                {
                  "name": "http_request:http_headers/1"
                },
                {
                  "name": "http_request:mk_key_value_str/2"
                },
                {
                  "name": "httpc_request:http_headers/2"
                },
                {
                  "name": "httpc:request/4"
                },
                {
                  "name": "httpc:request/5"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "a3197fab19232e370d940cb187fa3201b2c9bd48",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "a3197fab19232e370d940cb187fa3201b2c9bd48",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "ts-klassen"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "ts-klassen"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-10-29T15:51:17.000Z",
          "datePublic": "2026-11-24T15:05:04.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in Erlang OTP inets (\u003ccode\u003ehttpc\u003c/code\u003e module) allows HTTP Request Splitting.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ehttpc\u003c/code\u003e writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path \u003ccode\u003ehttp_request:mk_key_value_str/2\u003c/code\u003e, and with the \u003ccode\u003eheaders_as_is\u003c/code\u003e option \u003ccode\u003ehttpc_request:http_headers/2\u003c/code\u003e, build each header line by plain concatenation of the name, \u003ccode\u003e\": \"\u003c/code\u003e, the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to \u003ccode\u003ehttpc:request/4,5\u003c/code\u003e can add or override request headers, or append a second request on the same connection.\u003c/p\u003e\n\u003cp\u003eApplications that pass only constant or validated header names and values are not affected. The request line is not affected, because \u003ccode\u003euri_string\u003c/code\u003e rejects URLs that contain raw CR/LF.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in Erlang OTP inets (`httpc` module) allows HTTP Request Splitting.\n\n`httpc` writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path `http_request:mk_key_value_str/2`, and with the `headers_as_is` option `httpc_request:http_headers/2`, build each header line by plain concatenation of the name, `\": \"`, the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to `httpc:request/4,5` can add or override request headers, or append a second request on the same connection.\n\nApplications that pass only constant or validated header names and values are not affected. The request line is not affected, because `uri_string` rejects URLs that contain raw CR/LF.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in Erlang OTP inets (httpc module) allows HTTP Request Splitting.\n\nhttpc writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path http_request:mk_key_value_str/2, and with the headers_as_is option httpc_request:http_headers/2, build each header line by plain concatenation of the name, \": \", the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to httpc:request/4,5 can add or override request headers, or append a second request on the same connection.\n\nApplications that pass only constant or validated header names and values are not affected. The request line is not affected, because uri_string rejects URLs that contain raw CR/LF.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-105",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who controls data in a request header can add or override headers such as \u003ccode\u003eAuthorization\u003c/code\u003e, \u003ccode\u003eCookie\u003c/code\u003e, \u003ccode\u003eHost\u003c/code\u003e or \u003ccode\u003eX-Forwarded-For\u003c/code\u003e, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who controls data in a request header can add or override headers such as `Authorization`, `Cookie`, `Host` or `X-Forwarded-For`, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened."
                    }
                  ],
                  "value": "An attacker who controls data in a request header can add or override headers such as Authorization, Cookie, Host or X-Forwarded-For, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 2.1,
                "baseSeverity": "LOW",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-113",
                  "description": "CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:05:06.420Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "CRLF injection in httpc request headers",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-84cc-vh37-jqpf"
            },
            {
              "name": "EEF CNA record for CVE-2026-116295",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116295.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116295",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116295"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit a3197fa in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/a3197fab19232e370d940cb187fa3201b2c9bd48"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "CRLF injection in httpc request headers",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eValidate request header names and values before you pass them to \u003ccode\u003ehttpc:request/4,5\u003c/code\u003e. Reject or replace any name or value that contains CR (\u003ccode\u003e\\r\u003c/code\u003e), LF (\u003ccode\u003e\\n\u003c/code\u003e) or NUL (\u003ccode\u003e\\0\u003c/code\u003e), and accept only header names made of RFC 9110 \u003ccode\u003etoken\u003c/code\u003e characters. Where the application forwards headers from another source, use a fixed allowlist of header names.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Validate request header names and values before you pass them to `httpc:request/4,5`. Reject or replace any name or value that contains CR (`\\r`), LF (`\\n`) or NUL (`\\0`), and accept only header names made of RFC 9110 `token` characters. Where the application forwards headers from another source, use a fixed allowlist of header names."
                }
              ],
              "value": "Validate request header names and values before you pass them to httpc:request/4,5. Reject or replace any name or value that contains CR (\\r), LF (\\n) or NUL (\\0), and accept only header names made of RFC 9110 token characters. Where the application forwards headers from another source, use a fixed allowlist of header names."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a TCP listener that prints the bytes it receives, for example on \u003ccode\u003elocalhost:4444\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eCall \u003ccode\u003ehttpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], [])\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe listener receives three header lines (\u003ccode\u003ea: b\u003c/code\u003e, \u003ccode\u003ec: d\u003c/code\u003e, \u003ccode\u003ee: f\u003c/code\u003e) instead of one.\u003c/li\u003e\n\u003cli\u003eRepeat with \u003ccode\u003e[{headers_as_is, true}]\u003c/code\u003e as the fourth argument and an explicit \u003ccode\u003ehost\u003c/code\u003e header. The same three lines arrive.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a TCP listener that prints the bytes it receives, for example on `localhost:4444`.\n2. Call `httpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], [])`.\n3. The listener receives three header lines (`a: b`, `c: d`, `e: f`) instead of one.\n4. Repeat with `[{headers_as_is, true}]` as the fourth argument and an explicit `host` header. The same three lines arrive."
                }
              ],
              "value": "* Start a TCP listener that prints the bytes it receives, for example on localhost:4444.\n* Call httpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], []).\n* The listener receives three header lines (a: b, c: d, e: f) instead of one.\n* Repeat with [{headers_as_is, true}] as the fourth argument and an explicit host header. The same three lines arrive."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116295",
        "datePublished": "2026-11-24T15:05:06.420Z",
        "dateReserved": "2026-10-26T17:15:01.940Z",
        "dateUpdated": "2026-12-01T16:49:09.920Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116293 (GCVE-0-2026-116293)

    Vulnerability from nvd – Published: 2026-11-24 15:08 – Updated: 2026-12-01 16:48
    VLAI
    Title
    binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM
    Summary
    Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a NEWER_REFERENCE_EXT term with a zero-length ID. decoded_size in erts/emulator/beam/external.c accepts a reference whose 16-bit Len field is zero, but dec_term always reads one ID word. dec_term then runs 4 bytes ahead of the position that decoded_size validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap. The abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. NEW_REFERENCE_EXT also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-787 - Out-of-bounds Write
    • CWE-125 - Out-of-bounds Read
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < e5a9d3d141b8b5609803c3b78c8b420cd294ca82 (git)
    Unaffected: e5a9d3d141b8b5609803c3b78c8b420cd294ca82 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:08
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116293",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:38.265984Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:39.377Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "e5a9d3d141b8b5609803c3b78c8b420cd294ca82",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "e5a9d3d141b8b5609803c3b78c8b420cd294ca82",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Sungho Park"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Sungho Park"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Anderton Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Sverker Eriksson"
            }
          ],
          "dateAssigned": "2026-10-28T15:30:45.000Z",
          "datePublic": "2026-11-24T15:08:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOut-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e to abort the Erlang VM via a \u003ccode\u003eNEWER_REFERENCE_EXT\u003c/code\u003e term with a zero-length ID. \u003ccode\u003edecoded_size\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e accepts a reference whose 16-bit \u003ccode\u003eLen\u003c/code\u003e field is zero, but \u003ccode\u003edec_term\u003c/code\u003e always reads one ID word. \u003ccode\u003edec_term\u003c/code\u003e then runs 4 bytes ahead of the position that \u003ccode\u003edecoded_size\u003c/code\u003e validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.\u003c/p\u003e\n\u003cp\u003eThe abort takes down every process on the node. Supervision, \u003ccode\u003etry\u003c/code\u003e/\u003ccode\u003ecatch\u003c/code\u003e and the \u003ccode\u003esafe\u003c/code\u003e option do not prevent it. \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. \u003ccode\u003eNEW_REFERENCE_EXT\u003c/code\u003e also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to erts before 6.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to `binary_to_term/1,2` to abort the Erlang VM via a `NEWER_REFERENCE_EXT` term with a zero-length ID. `decoded_size` in `erts/emulator/beam/external.c` accepts a reference whose 16-bit `Len` field is zero, but `dec_term` always reads one ID word. `dec_term` then runs 4 bytes ahead of the position that `decoded_size` validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.\n\nThe abort takes down every process on the node. Supervision, `try`/`catch` and the `safe` option do not prevent it. `enif_binary_to_term()` and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. `NEW_REFERENCE_EXT` also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
                }
              ],
              "value": "Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a NEWER_REFERENCE_EXT term with a zero-length ID. decoded_size in erts/emulator/beam/external.c accepts a reference whose 16-bit Len field is zero, but dec_term always reads one ID word. dec_term then runs 4 bytes ahead of the position that decoded_size validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.\n\nThe abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. NEW_REFERENCE_EXT also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-100",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply bytes to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e or \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e can abort the Erlang VM and stop every application on the node.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply bytes to `binary_to_term/1,2` or `enif_binary_to_term()` can abort the Erlang VM and stop every application on the node."
                    }
                  ],
                  "value": "An attacker who can supply bytes to binary_to_term/1,2 or enif_binary_to_term() can abort the Erlang VM and stop every application on the node."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-1284",
                  "description": "CWE-1284 Improper Validation of Specified Quantity in Input",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-787",
                  "description": "CWE-787 Out-of-bounds Write",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-125",
                  "description": "CWE-125 Out-of-bounds Read",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:08:20.708Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-6qhv-446c-985v"
            },
            {
              "name": "EEF CNA record for CVE-2026-116293",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116293.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116293",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116293"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit e5a9d3d in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/e5a9d3d141b8b5609803c3b78c8b420cd294ca82"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eDo not call \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\u003c/li\u003e\n\u003cli\u003eIf distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\u003c/li\u003e\n\u003cli\u003eUse alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the \u003ccode\u003e[safe]\u003c/code\u003e option to \u003ccode\u003ebinary_to_term/2\u003c/code\u003e does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* Do not call `binary_to_term/1,2` on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the `[safe]` option to `binary_to_term/2` does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
                }
              ],
              "value": "* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a \u003ccode\u003eNEWER_REFERENCE_EXT\u003c/code\u003e (tag 90) with \u003ccode\u003eLen\u003c/code\u003e 0, the node atom \u003ccode\u003enonode@nohost\u003c/code\u003e as \u003ccode\u003eSMALL_ATOM_UTF8_EXT\u003c/code\u003e, and a 4-byte creation for another node, for example 1.\u003c/li\u003e\n\u003cli\u003eBuild a \u003ccode\u003eBINARY_EXT\u003c/code\u003e (tag 109) whose payload starts with a 32-bit arity N, followed by N \u003ccode\u003eSMALL_INTEGER_EXT\u003c/code\u003e elements. Pad the payload so that the low byte of the 32-bit binary length is 105 (\u003ccode\u003eLARGE_TUPLE_EXT\u003c/code\u003e).\u003c/li\u003e\n\u003cli\u003eWrap both in a two-element \u003ccode\u003eSMALL_TUPLE_EXT\u003c/code\u003e after the version byte 131. With N = 40 the input is 391 bytes.\u003c/li\u003e\n\u003cli\u003eCall \u003ccode\u003ebinary_to_term/1\u003c/code\u003e, or \u003ccode\u003ebinary_to_term/2\u003c/code\u003e with \u003ccode\u003e[safe]\u003c/code\u003e, on the input. The VM aborts with \u003ccode\u003eheap overrun by 33 words(s)\u003c/code\u003e instead of raising \u003ccode\u003ebadarg\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a `NEWER_REFERENCE_EXT` (tag 90) with `Len` 0, the node atom `nonode@nohost` as `SMALL_ATOM_UTF8_EXT`, and a 4-byte creation for another node, for example 1.\n2. Build a `BINARY_EXT` (tag 109) whose payload starts with a 32-bit arity N, followed by N `SMALL_INTEGER_EXT` elements. Pad the payload so that the low byte of the 32-bit binary length is 105 (`LARGE_TUPLE_EXT`).\n3. Wrap both in a two-element `SMALL_TUPLE_EXT` after the version byte 131. With N = 40 the input is 391 bytes.\n4. Call `binary_to_term/1`, or `binary_to_term/2` with `[safe]`, on the input. The VM aborts with `heap overrun by 33 words(s)` instead of raising `badarg`."
                }
              ],
              "value": "* Build a NEWER_REFERENCE_EXT (tag 90) with Len 0, the node atom nonode@nohost as SMALL_ATOM_UTF8_EXT, and a 4-byte creation for another node, for example 1.\n* Build a BINARY_EXT (tag 109) whose payload starts with a 32-bit arity N, followed by N SMALL_INTEGER_EXT elements. Pad the payload so that the low byte of the 32-bit binary length is 105 (LARGE_TUPLE_EXT).\n* Wrap both in a two-element SMALL_TUPLE_EXT after the version byte 131. With N = 40 the input is 391 bytes.\n* Call binary_to_term/1, or binary_to_term/2 with [safe], on the input. The VM aborts with heap overrun by 33 words(s) instead of raising badarg."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Size pass.\u003c/strong\u003e \u003ccode\u003ebinary_to_term_int\u003c/code\u003e first calls \u003ccode\u003edecoded_size\u003c/code\u003e to reserve the process heap. For \u003ccode\u003eNEWER_REFERENCE_EXT\u003c/code\u003e, \u003ccode\u003edecoded_size\u003c/code\u003e rejects an ID-word count above \u003ccode\u003eERTS_MAX_REF_NUMBERS\u003c/code\u003e but not a count of zero. With \u003ccode\u003eLen\u003c/code\u003e 0 it skips the tag, the length, the node atom and the 4-byte creation, and no ID bytes.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Decode pass.\u003c/strong\u003e \u003ccode\u003edec_term\u003c/code\u003e reads \u003ccode\u003eLen\u003c/code\u003e, the node atom and the creation, then reads the first ID word \u003ccode\u003er0\u003c/code\u003e without checking \u003ccode\u003eLen\u003c/code\u003e. From here \u003ccode\u003edec_term\u003c/code\u003e is 4 bytes ahead of the position \u003ccode\u003edecoded_size\u003c/code\u003e validated.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Heap overrun.\u003c/strong\u003e In the reported input, the reference is followed by a \u003ccode\u003eBINARY_EXT\u003c/code\u003e. \u003ccode\u003edecoded_size\u003c/code\u003e treats the binary payload as opaque bytes. The shifted \u003ccode\u003edec_term\u003c/code\u003e consumes the binary tag and the top three length bytes as \u003ccode\u003er0\u003c/code\u003e, reads the low length byte (105, \u003ccode\u003eLARGE_TUPLE_EXT\u003c/code\u003e) as the next tag, and builds a tuple from the payload. The tuple-build loop stores past the heap that was reserved for a reference and a binary.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Abort.\u003c/strong\u003e After \u003ccode\u003edec_term\u003c/code\u003e returns, \u003ccode\u003ebinary_to_term_int\u003c/code\u003e compares the heap pointer with the reserved end and calls \u003ccode\u003eerts_exit\u003c/code\u003e with \u003ccode\u003eheap overrun\u003c/code\u003e. That check runs after the out-of-bounds stores. Larger inputs can fault with SIGSEGV first.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ccode\u003eNEW_REFERENCE_EXT\u003c/code\u003e.\u003c/strong\u003e Tag 114 also accepts \u003ccode\u003eLen\u003c/code\u003e 0, but \u003ccode\u003edec_term\u003c/code\u003e rejects \u003ccode\u003er0 \u0026gt;= MAX_REFERENCE\u003c/code\u003e for that tag. A shifted \u003ccode\u003er0\u003c/code\u003e begins with a term tag byte, so the input fails with \u003ccode\u003ebadarg\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Size pass.** `binary_to_term_int` first calls `decoded_size` to reserve the process heap. For `NEWER_REFERENCE_EXT`, `decoded_size` rejects an ID-word count above `ERTS_MAX_REF_NUMBERS` but not a count of zero. With `Len` 0 it skips the tag, the length, the node atom and the 4-byte creation, and no ID bytes.\n\n**2. Decode pass.** `dec_term` reads `Len`, the node atom and the creation, then reads the first ID word `r0` without checking `Len`. From here `dec_term` is 4 bytes ahead of the position `decoded_size` validated.\n\n**3. Heap overrun.** In the reported input, the reference is followed by a `BINARY_EXT`. `decoded_size` treats the binary payload as opaque bytes. The shifted `dec_term` consumes the binary tag and the top three length bytes as `r0`, reads the low length byte (105, `LARGE_TUPLE_EXT`) as the next tag, and builds a tuple from the payload. The tuple-build loop stores past the heap that was reserved for a reference and a binary.\n\n**4. Abort.** After `dec_term` returns, `binary_to_term_int` compares the heap pointer with the reserved end and calls `erts_exit` with `heap overrun`. That check runs after the out-of-bounds stores. Larger inputs can fault with SIGSEGV first.\n\n**`NEW_REFERENCE_EXT`.** Tag 114 also accepts `Len` 0, but `dec_term` rejects `r0 \u003e= MAX_REFERENCE` for that tag. A shifted `r0` begins with a term tag byte, so the input fails with `badarg`."
                }
              ],
              "value": "1. Size pass. binary_to_term_int first calls decoded_size to reserve the process heap. For NEWER_REFERENCE_EXT, decoded_size rejects an ID-word count above ERTS_MAX_REF_NUMBERS but not a count of zero. With Len 0 it skips the tag, the length, the node atom and the 4-byte creation, and no ID bytes.\n\n2. Decode pass. dec_term reads Len, the node atom and the creation, then reads the first ID word r0 without checking Len. From here dec_term is 4 bytes ahead of the position decoded_size validated.\n\n3. Heap overrun. In the reported input, the reference is followed by a BINARY_EXT. decoded_size treats the binary payload as opaque bytes. The shifted dec_term consumes the binary tag and the top three length bytes as r0, reads the low length byte (105, LARGE_TUPLE_EXT) as the next tag, and builds a tuple from the payload. The tuple-build loop stores past the heap that was reserved for a reference and a binary.\n\n4. Abort. After dec_term returns, binary_to_term_int compares the heap pointer with the reserved end and calls erts_exit with heap overrun. That check runs after the out-of-bounds stores. Larger inputs can fault with SIGSEGV first.\n\nNEW_REFERENCE_EXT. Tag 114 also accepts Len 0, but dec_term rejects r0 \u003e= MAX_REFERENCE for that tag. A shifted r0 begins with a term tag byte, so the input fails with badarg."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116293",
        "datePublished": "2026-11-24T15:08:20.708Z",
        "dateReserved": "2026-10-26T09:45:01.452Z",
        "dateUpdated": "2026-12-01T16:48:39.377Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116225 (GCVE-0-2026-116225)

    Vulnerability from nvd – Published: 2026-11-24 15:07 – Updated: 2026-12-01 17:53
    VLAI
    Title
    Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding
    Summary
    Improper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier. snmp_pdus:dec_oid_element/3 does not limit the number of base-128 octets in a sub-identifier, and snmp_pdus:dec_oid_elements/3 does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (snmpa_net_if or snmpm_net_if). That process does not read the next datagram until decoding completes. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP 17.0, corresponding to snmp before 4.25.1, is affected is unknown.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 17:52 UTC
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 4.25.1 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < * (git)
    Unaffected: 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca , < * (git)
    Unaffected: 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f , < * (git)
    Unaffected: a1bfce6a034b5cbb17f85b3eea2f601c7a691805 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:07
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116225",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T17:52:44.344178Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T17:53:31.622Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "snmp_pdus"
              ],
              "packageName": "snmp",
              "packageURL": "pkg:otp/snmp?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/misc/snmp_pdus.erl"
              ],
              "programRoutines": [
                {
                  "name": "snmp_pdus:dec_oid_element/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_elements/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_notag/1"
                },
                {
                  "name": "snmp_pdus:dec_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_scoped_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_message/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "5.18.2.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.20.2.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.20.7",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "4.25.1",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "snmp_pdus"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/snmp/src/misc/snmp_pdus.erl"
              ],
              "programRoutines": [
                {
                  "name": "snmp_pdus:dec_oid_element/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_elements/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_notag/1"
                },
                {
                  "name": "snmp_pdus:dec_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_scoped_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_message/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "snmp_pdus"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/snmp/src/misc/snmp_pdus.erl"
              ],
              "programRoutines": [
                {
                  "name": "snmp_pdus:dec_oid_element/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_elements/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_notag/1"
                },
                {
                  "name": "snmp_pdus:dec_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_scoped_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_message/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "6f8c1044d17bfaa9112bf3cd471cec0d61e146ca",
                      "status": "unaffected"
                    },
                    {
                      "at": "8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f",
                      "status": "unaffected"
                    },
                    {
                      "at": "a1bfce6a034b5cbb17f85b3eea2f601c7a691805",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "6f8c1044d17bfaa9112bf3cd471cec0d61e146ca",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "a1bfce6a034b5cbb17f85b3eea2f601c7a691805",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Konrad Pietrzak"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Anderton Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Konrad Pietrzak"
            }
          ],
          "dateAssigned": "2026-10-28T15:16:56.000Z",
          "datePublic": "2026-11-24T15:07:27.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003esnmp_pdus:dec_oid_element/3\u003c/code\u003e does not limit the number of base-128 octets in a sub-identifier, and \u003ccode\u003esnmp_pdus:dec_oid_elements/3\u003c/code\u003e does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (\u003ccode\u003esnmpa_net_if\u003c/code\u003e or \u003ccode\u003esnmpm_net_if\u003c/code\u003e). That process does not read the next datagram until decoding completes.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP\u0026nbsp;17.0, corresponding to snmp before 4.25.1, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier.\n\n`snmp_pdus:dec_oid_element/3` does not limit the number of base-128 octets in a sub-identifier, and `snmp_pdus:dec_oid_elements/3` does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (`snmpa_net_if` or `snmpm_net_if`). That process does not read the next datagram until decoding completes.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP\u00a017.0, corresponding to snmp before 4.25.1, is affected is unknown."
                }
              ],
              "value": "Improper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier.\n\nsnmp_pdus:dec_oid_element/3 does not limit the number of base-128 octets in a sub-identifier, and snmp_pdus:dec_oid_elements/3 does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (snmpa_net_if or snmpm_net_if). That process does not read the next datagram until decoding completes.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP\u00a017.0, corresponding to snmp before 4.25.1, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-231",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn unauthenticated remote attacker who can send UDP datagrams to an SNMP agent or manager can keep its network interface process busy with a low rate of crafted messages. The agent or manager then stops processing legitimate SNMP traffic while the attack continues.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An unauthenticated remote attacker who can send UDP datagrams to an SNMP agent or manager can keep its network interface process busy with a low rate of crafted messages. The agent or manager then stops processing legitimate SNMP traffic while the attack continues."
                    }
                  ],
                  "value": "An unauthenticated remote attacker who can send UDP datagrams to an SNMP agent or manager can keep its network interface process busy with a low rate of crafted messages. The agent or manager then stops processing legitimate SNMP traffic while the attack continues."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-1284",
                  "description": "CWE-1284 Improper Validation of Specified Quantity in Input",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:07:29.123Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-9p2q-5p4x-rhpq"
            },
            {
              "name": "EEF CNA record for CVE-2026-116225",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116225.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116225",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116225"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 6f8c104 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/6f8c1044d17bfaa9112bf3cd471cec0d61e146ca"
            },
            {
              "name": "Fix commit 8c5cd9b in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f"
            },
            {
              "name": "Fix commit a1bfce6 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/a1bfce6a034b5cbb17f85b3eea2f601c7a691805"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eRestrict network access to the SNMP agent and manager UDP ports to trusted management hosts only, using firewall rules or by binding the agent to a dedicated management interface. Disable SNMPv1 and SNMPv2c in the agent if they are not needed. This\nreduces, but does not eliminate, the exposure, since SNMPv3 discovery messages are still decoded before authentication.\u003c/p\u003e\n\u003cp\u003eNote that community strings and SNMPv3 credentials do not mitigate this issue, since decoding happens before they are checked.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Restrict network access to the SNMP agent and manager UDP ports to trusted management hosts only, using firewall rules or by binding the agent to a dedicated management interface. Disable SNMPv1 and SNMPv2c in the agent if they are not needed. This\nreduces, but does not eliminate, the exposure, since SNMPv3 discovery messages are still decoded before authentication.\n\nNote that community strings and SNMPv3 credentials do not mitigate this issue, since decoding happens before they are checked."
                }
              ],
              "value": "Restrict network access to the SNMP agent and manager UDP ports to trusted management hosts only, using firewall rules or by binding the agent to a dedicated management interface. Disable SNMPv1 and SNMPv2c in the agent if they are not needed. This reduces, but does not eliminate, the exposure, since SNMPv3 discovery messages are still decoded before authentication.\n\nNote that community strings and SNMPv3 credentials do not mitigate this issue, since decoding happens before they are checked."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116225",
        "datePublished": "2026-11-24T15:07:29.123Z",
        "dateReserved": "2026-10-25T17:30:02.219Z",
        "dateUpdated": "2026-12-01T17:53:31.622Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-115747 (GCVE-0-2026-115747)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:29 – Updated: 2026-11-24 16:26
    VLAI
    Title
    AArch64 JIT register-cache bug allows VM denial of service via XML
    Summary
    Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by xmerl_sax_parser. In erts/emulator/beam/jit/arm/instr_common.cpp, BeamModuleAssembler::emit_is_ge_lt wraps its generated code in preserve_cache and marks only TMP1 as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment is_ge_lt_shared, which also overwrites ARG1 and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as &#576460752303423488; takes this path in the ?is_char guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code. This issue affects OTP from OTP 27.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-24 16:26 UTC
    CWE
    • CWE-119 - Improper Restriction of Operations within the Bounds of a Memory Buffer
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 15.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 27.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 06d402a75078150963b75518ce271582bbb94897 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:29
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-115747",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-24T16:26:45.780726Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-24T16:26:57.801Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://cna.erlef.org/cves/CVE-2026-115747.html"
              },
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://osv.dev/vulnerability/EEF-CVE-2026-115747"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/jit/arm/instr_common.cpp"
              ],
              "programRoutines": [
                {
                  "name": "BeamModuleAssembler::emit_is_ge_lt"
                },
                {
                  "name": "BeamGlobalAssembler::emit_is_ge_lt_shared"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "15.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/jit/arm/instr_common.cpp"
              ],
              "programRoutines": [
                {
                  "name": "BeamModuleAssembler::emit_is_ge_lt"
                },
                {
                  "name": "BeamGlobalAssembler::emit_is_ge_lt_shared"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "27.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erts"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/jit/arm/instr_common.cpp"
              ],
              "programRoutines": [
                {
                  "name": "BeamModuleAssembler::emit_is_ge_lt"
                },
                {
                  "name": "BeamGlobalAssembler::emit_is_ge_lt_shared"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "043d119950d8de1975a8a507e424d87cf765fbab",
                      "status": "unaffected"
                    },
                    {
                      "at": "62c26d132760569a2ac098ce144de2aed4daa548",
                      "status": "unaffected"
                    },
                    {
                      "at": "841017c3c85cba30181e7e344e5b16dc0bc25c3b",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "06d402a75078150963b75518ce271582bbb94897",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOnly AArch64 (ARM64) runtimes that execute the JIT are affected; \u003ccode\u003eerlang:system_info(emu_flavor)\u003c/code\u003e returns \u003ccode\u003ejit\u003c/code\u003e on such a node. The x86-64 JIT, interpreter builds (\u003ccode\u003eemu\u003c/code\u003e flavor) and 32-bit platforms do not run the affected code. The demonstrated path requires an application to pass attacker-controlled XML to \u003ccode\u003exmerl_sax_parser\u003c/code\u003e, but other Erlang code that compiles to the same chained range guard over a non-small integer can reach the same defect.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Only AArch64 (ARM64) runtimes that execute the JIT are affected; `erlang:system_info(emu_flavor)` returns `jit` on such a node. The x86-64 JIT, interpreter builds (`emu` flavor) and 32-bit platforms do not run the affected code. The demonstrated path requires an application to pass attacker-controlled XML to `xmerl_sax_parser`, but other Erlang code that compiles to the same chained range guard over a non-small integer can reach the same defect."
                }
              ],
              "value": "Only AArch64 (ARM64) runtimes that execute the JIT are affected; erlang:system_info(emu_flavor) returns jit on such a node. The x86-64 JIT, interpreter builds (emu flavor) and 32-bit platforms do not run the affected code. The demonstrated path requires an application to pass attacker-controlled XML to xmerl_sax_parser, but other Erlang code that compiles to the same chained range guard over a non-small integer can reach the same defect."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "versionStartIncluding": "27.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Felix Jankowski / Jankowski Engineering GmbH"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "IlYoung"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Felix Jankowski / Jankowski Engineering GmbH"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "IlYoung"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Felix Jankowski / Jankowski Engineering GmbH"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Josu\u00e9 Olmos"
            }
          ],
          "dateAssigned": "2026-10-26T17:14:29.000Z",
          "datePublic": "2026-11-24T15:29:05.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by \u003ccode\u003exmerl_sax_parser\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eIn \u003ccode\u003eerts/emulator/beam/jit/arm/instr_common.cpp\u003c/code\u003e, \u003ccode\u003eBeamModuleAssembler::emit_is_ge_lt\u003c/code\u003e wraps its generated code in \u003ccode\u003epreserve_cache\u003c/code\u003e and marks only \u003ccode\u003eTMP1\u003c/code\u003e as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment \u003ccode\u003eis_ge_lt_shared\u003c/code\u003e, which also overwrites \u003ccode\u003eARG1\u003c/code\u003e and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as \u003ccode\u003e\u0026amp;#576460752303423488;\u003c/code\u003e takes this path in the \u003ccode\u003e?is_char\u003c/code\u003e guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;27.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by `xmerl_sax_parser`.\n\nIn `erts/emulator/beam/jit/arm/instr_common.cpp`, `BeamModuleAssembler::emit_is_ge_lt` wraps its generated code in `preserve_cache` and marks only `TMP1` as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment `is_ge_lt_shared`, which also overwrites `ARG1` and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as `\u0026#576460752303423488;` takes this path in the `?is_char` guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.\n\nThis issue affects OTP from OTP\u00a027.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
                }
              ],
              "value": "Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in the AArch64 JIT in Erlang OTP erts allows an attacker to crash the BEAM virtual machine via input that reaches a chained integer range guard, such as an oversized numeric character reference parsed by xmerl_sax_parser.\n\nIn erts/emulator/beam/jit/arm/instr_common.cpp, BeamModuleAssembler::emit_is_ge_lt wraps its generated code in preserve_cache and marks only TMP1 as clobbered. When the compared value is not a small integer, the generated code calls the shared fragment is_ge_lt_shared, which also overwrites ARG1 and other caller-saved registers. The register cache keeps stale entries, so later instructions may use a clobbered register as an Erlang term and the emulator dies with a segmentation fault. A reference such as \u0026#576460752303423488; takes this path in the ?is_char guard of the SAX parser. Only AArch64 builds that run the JIT are affected. The x86-64 JIT and interpreter builds do not contain the faulty code.\n\nThis issue affects OTP from OTP\u00a027.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 15.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-129",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can get an affected AArch64 node to parse crafted XML, or to run other code that compiles to the same comparison sequence over a non-small integer, terminates the whole BEAM VM, including every unrelated application on it. Supervision cannot contain a native crash. Code execution, information disclosure and data modification have not been demonstrated.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can get an affected AArch64 node to parse crafted XML, or to run other code that compiles to the same comparison sequence over a non-small integer, terminates the whole BEAM VM, including every unrelated application on it. Supervision cannot contain a native crash. Code execution, information disclosure and data modification have not been demonstrated."
                    }
                  ],
                  "value": "An attacker who can get an affected AArch64 node to parse crafted XML, or to run other code that compiles to the same comparison sequence over a non-small integer, terminates the whole BEAM VM, including every unrelated application on it. Supervision cannot contain a native crash. Code execution, information disclosure and data modification have not been demonstrated."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 5.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-119",
                  "description": "CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:29:06.928Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "AArch64 JIT register-cache bug allows VM denial of service via XML",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-x527-4ww5-wwr5"
            },
            {
              "name": "EEF CNA record for CVE-2026-115747",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-115747.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-115747",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-115747"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 06d402a in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/06d402a75078150963b75518ce271582bbb94897"
            },
            {
              "name": "Fix commit 043d119 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/043d119950d8de1975a8a507e424d87cf765fbab"
            },
            {
              "name": "Fix commit 62c26d1 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/62c26d132760569a2ac098ce144de2aed4daa548"
            },
            {
              "name": "Fix commit 841017c in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/841017c3c85cba30181e7e344e5b16dc0bc25c3b"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "AArch64 JIT register-cache bug allows VM denial of service via XML",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOn AArch64 hosts, run the emulator without the JIT: start it with \u003ccode\u003eerl -emu_flavor emu\u003c/code\u003e when the interpreter flavor is installed, or build OTP with \u003ccode\u003e--disable-jit\u003c/code\u003e. The interpreter does not execute the affected generated code.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "On AArch64 hosts, run the emulator without the JIT: start it with `erl -emu_flavor emu` when the interpreter flavor is installed, or build OTP with `--disable-jit`. The interpreter does not execute the affected generated code."
                }
              ],
              "value": "On AArch64 hosts, run the emulator without the JIT: start it with erl -emu_flavor emu when the interpreter flavor is installed, or build OTP with --disable-jit. The interpreter does not execute the affected generated code."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eRun an AArch64 build of OTP 27 or later with the JIT enabled; \u003ccode\u003eerlang:system_info(emu_flavor)\u003c/code\u003e returns \u003ccode\u003ejit\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eParse an XML document that contains a numeric character reference too large for a small integer, for example \u003ccode\u003e\u0026lt;a\u0026gt;\u0026amp;#576460752303423488;\u0026lt;/a\u0026gt;\u003c/code\u003e, with \u003ccode\u003exmerl_sax_parser:stream/2\u003c/code\u003e or \u003ccode\u003exmerl_sax_parser:file/2\u003c/code\u003e. No entity expansion or external resource is needed.\u003c/li\u003e\n\u003cli\u003eThe emulator exits with SIGSEGV (status 139) instead of returning \u003ccode\u003e{fatal_error, _, \"Not a legal character: #576460752303423488\", _, _}\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Run an AArch64 build of OTP 27 or later with the JIT enabled; `erlang:system_info(emu_flavor)` returns `jit`.\n2. Parse an XML document that contains a numeric character reference too large for a small integer, for example `\u003ca\u003e\u0026#576460752303423488;\u003c/a\u003e`, with `xmerl_sax_parser:stream/2` or `xmerl_sax_parser:file/2`. No entity expansion or external resource is needed.\n3. The emulator exits with SIGSEGV (status 139) instead of returning `{fatal_error, _, \"Not a legal character: #576460752303423488\", _, _}`."
                }
              ],
              "value": "* Run an AArch64 build of OTP 27 or later with the JIT enabled; erlang:system_info(emu_flavor) returns jit.\n* Parse an XML document that contains a numeric character reference too large for a small integer, for example \u003ca\u003e\u0026#576460752303423488;\u003c/a\u003e, with xmerl_sax_parser:stream/2 or xmerl_sax_parser:file/2. No entity expansion or external resource is needed.\n* The emulator exits with SIGSEGV (status 139) instead of returning {fatal_error, _, \"Not a legal character: #576460752303423488\", _, _}."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Code generation.\u003c/strong\u003e \u003ccode\u003eBeamModuleAssembler::emit_is_ge_lt\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/jit/arm/instr_common.cpp\u003c/code\u003e emits the \u003ccode\u003eis_ge_lt\u003c/code\u003e instruction, which the compiler produces for a chained guard of the form \u003ccode\u003eA =\u0026lt; X, X \u0026lt; B\u003c/code\u003e. The AArch64 emitter wraps the whole sequence in \u003ccode\u003epreserve_cache\u003c/code\u003e and declares \u003ccode\u003eTMP1\u003c/code\u003e as the only clobbered register, so the register cache keeps its entries across the instruction.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Generic path.\u003c/strong\u003e When the operand is not a small integer, the generated code loads it into \u003ccode\u003eARG1\u003c/code\u003e and calls the global fragment \u003ccode\u003eBeamGlobalAssembler::emit_is_ge_lt_shared\u003c/code\u003e. The fragment performs a generic term comparison and overwrites \u003ccode\u003eARG1\u003c/code\u003e and other caller-saved registers.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Stale cache.\u003c/strong\u003e The cache still records \u003ccode\u003eARG1\u003c/code\u003e as holding a copy of a BEAM Y register. A later instruction that needs that Y register reuses \u003ccode\u003eARG1\u003c/code\u003e instead of reloading it from the stack, and so operates on whatever the fragment left behind.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Crash.\u003c/strong\u003e The leftover value is treated as a tagged Erlang term. When it is dereferenced as a boxed term, the emulator reads an invalid address and dies with SIGSEGV. The whole node terminates without a crash dump.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e5. Trigger.\u003c/strong\u003e The \u003ccode\u003e?is_char\u003c/code\u003e guard in \u003ccode\u003elib/xmerl/src/xmerl_sax_parser_base.erlsrc\u003c/code\u003e compares a decoded numeric character reference against several ranges in sequence. A value that does not fit a small integer on a 64-bit runtime, for example \u003ccode\u003e\u0026amp;#576460752303423488;\u003c/code\u003e (2^59), takes the generic path. The expected outcome is a \u003ccode\u003efatal_error\u003c/code\u003e naming an illegal character.\u003c/p\u003e\n\u003cp\u003eThe fix removes the \u003ccode\u003epreserve_cache\u003c/code\u003e wrapper so the cache is invalidated after the instruction, matching \u003ccode\u003eemit_is_in_range\u003c/code\u003e. The x86-64 emitter never preserved the cache here.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Code generation.** `BeamModuleAssembler::emit_is_ge_lt` in `erts/emulator/beam/jit/arm/instr_common.cpp` emits the `is_ge_lt` instruction, which the compiler produces for a chained guard of the form `A =\u003c X, X \u003c B`. The AArch64 emitter wraps the whole sequence in `preserve_cache` and declares `TMP1` as the only clobbered register, so the register cache keeps its entries across the instruction.\n\n**2. Generic path.** When the operand is not a small integer, the generated code loads it into `ARG1` and calls the global fragment `BeamGlobalAssembler::emit_is_ge_lt_shared`. The fragment performs a generic term comparison and overwrites `ARG1` and other caller-saved registers.\n\n**3. Stale cache.** The cache still records `ARG1` as holding a copy of a BEAM Y register. A later instruction that needs that Y register reuses `ARG1` instead of reloading it from the stack, and so operates on whatever the fragment left behind.\n\n**4. Crash.** The leftover value is treated as a tagged Erlang term. When it is dereferenced as a boxed term, the emulator reads an invalid address and dies with SIGSEGV. The whole node terminates without a crash dump.\n\n**5. Trigger.** The `?is_char` guard in `lib/xmerl/src/xmerl_sax_parser_base.erlsrc` compares a decoded numeric character reference against several ranges in sequence. A value that does not fit a small integer on a 64-bit runtime, for example `\u0026#576460752303423488;` (2^59), takes the generic path. The expected outcome is a `fatal_error` naming an illegal character.\n\nThe fix removes the `preserve_cache` wrapper so the cache is invalidated after the instruction, matching `emit_is_in_range`. The x86-64 emitter never preserved the cache here."
                }
              ],
              "value": "1. Code generation. BeamModuleAssembler::emit_is_ge_lt in erts/emulator/beam/jit/arm/instr_common.cpp emits the is_ge_lt instruction, which the compiler produces for a chained guard of the form A =\u003c X, X \u003c B. The AArch64 emitter wraps the whole sequence in preserve_cache and declares TMP1 as the only clobbered register, so the register cache keeps its entries across the instruction.\n\n2. Generic path. When the operand is not a small integer, the generated code loads it into ARG1 and calls the global fragment BeamGlobalAssembler::emit_is_ge_lt_shared. The fragment performs a generic term comparison and overwrites ARG1 and other caller-saved registers.\n\n3. Stale cache. The cache still records ARG1 as holding a copy of a BEAM Y register. A later instruction that needs that Y register reuses ARG1 instead of reloading it from the stack, and so operates on whatever the fragment left behind.\n\n4. Crash. The leftover value is treated as a tagged Erlang term. When it is dereferenced as a boxed term, the emulator reads an invalid address and dies with SIGSEGV. The whole node terminates without a crash dump.\n\n5. Trigger. The ?is_char guard in lib/xmerl/src/xmerl_sax_parser_base.erlsrc compares a decoded numeric character reference against several ranges in sequence. A value that does not fit a small integer on a 64-bit runtime, for example \u0026#576460752303423488; (2^59), takes the generic path. The expected outcome is a fatal_error naming an illegal character.\n\nThe fix removes the preserve_cache wrapper so the cache is invalidated after the instruction, matching emit_is_in_range. The x86-64 emitter never preserved the cache here."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-115747",
        "datePublished": "2026-11-24T15:29:06.928Z",
        "dateReserved": "2026-10-26T10:45:02.618Z",
        "dateUpdated": "2026-11-24T16:26:57.801Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-125658 (GCVE-0-2026-125658)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:28 – Updated: 2026-11-24 16:28
    VLAI
    Title
    Use after free in erts file name normalization on macOS
    Summary
    Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS. On macOS, the VM decodes file names with do_utf8_to_list_normalize in erts/emulator/beam/erl_unicode.c. When a name starts with a combining mark, such as U+0301, cleanup_norm builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 and filelib:wildcard/1 on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. file:read_link/1 on a symbolic link with such a target aborts the VM with size_object: bad tag. Only loss of availability was demonstrated. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.
    SSVC
    Exploitation: poc Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-11-24 16:28 UTC
    CWE
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 9622ab2132e2501ee5769357a914dcc6635e515c , < 322b04488d9445c7258abce3e7f3bc79aa7c45d8 (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:28
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-125658",
                    "options": [
                      {
                        "Exploitation": "poc"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-24T16:28:46.739978Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-24T16:28:56.749Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "references": [
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://cna.erlef.org/cves/CVE-2026-125658.html"
              },
              {
                "tags": [
                  "exploit"
                ],
                "url": "https://osv.dev/vulnerability/EEF-CVE-2026-125658"
              }
            ],
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "prim_file"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/erl_unicode.c",
                "preloaded/src/prim_file.erl"
              ],
              "programRoutines": [
                {
                  "name": "cleanup_norm"
                },
                {
                  "name": "do_utf8_to_list_normalize"
                },
                {
                  "name": "prim_file_internal_native2name_1"
                },
                {
                  "name": "prim_file:internal_native2name/1"
                },
                {
                  "name": "prim_file:list_dir/1"
                },
                {
                  "name": "prim_file:list_dir_all/1"
                },
                {
                  "name": "prim_file:read_link/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "prim_file"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/erl_unicode.c",
                "erts/preloaded/src/prim_file.erl"
              ],
              "programRoutines": [
                {
                  "name": "cleanup_norm"
                },
                {
                  "name": "do_utf8_to_list_normalize"
                },
                {
                  "name": "prim_file_internal_native2name_1"
                },
                {
                  "name": "prim_file:internal_native2name/1"
                },
                {
                  "name": "prim_file:list_dir/1"
                },
                {
                  "name": "prim_file:list_dir_all/1"
                },
                {
                  "name": "prim_file:read_link/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "prim_file"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/erl_unicode.c",
                "erts/preloaded/src/prim_file.erl"
              ],
              "programRoutines": [
                {
                  "name": "cleanup_norm"
                },
                {
                  "name": "do_utf8_to_list_normalize"
                },
                {
                  "name": "prim_file_internal_native2name_1"
                },
                {
                  "name": "prim_file:internal_native2name/1"
                },
                {
                  "name": "prim_file:list_dir/1"
                },
                {
                  "name": "prim_file:list_dir_all/1"
                },
                {
                  "name": "prim_file:read_link/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "322b04488d9445c7258abce3e7f3bc79aa7c45d8",
                  "status": "affected",
                  "version": "9622ab2132e2501ee5769357a914dcc6635e515c",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe node runs on macOS with the default \u003ccode\u003eutf8\u003c/code\u003e file name encoding, and reads a directory listing or a symbolic link target that contains a name an attacker chose. Linux and other platforms do not normalize file names and are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The node runs on macOS with the default `utf8` file name encoding, and reads a directory listing or a symbolic link target that contains a name an attacker chose. Linux and other platforms do not normalize file names and are not affected."
                }
              ],
              "value": "The node runs on macOS with the default utf8 file name encoding, and reads a directory listing or a symbolic link target that contains a name an attacker chose. Linux and other platforms do not normalize file names and are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "versionStartIncluding": "17.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Sam Baud"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Sam Baud"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-11-17T03:12:33.000Z",
          "datePublic": "2026-11-24T15:28:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUse After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.\u003c/p\u003e\n\u003cp\u003eOn macOS, the VM decodes file names with \u003ccode\u003edo_utf8_to_list_normalize\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/erl_unicode.c\u003c/code\u003e. When a name starts with a combining mark, such as U+0301, \u003ccode\u003ecleanup_norm\u003c/code\u003e builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. \u003ccode\u003efile:list_dir/1\u003c/code\u003e, \u003ccode\u003efile:list_dir_all/1\u003c/code\u003e, \u003ccode\u003efile:del_dir_r/1\u003c/code\u003e and \u003ccode\u003efilelib:wildcard/1\u003c/code\u003e on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. \u003ccode\u003efile:read_link/1\u003c/code\u003e on a symbolic link with such a target aborts the VM with \u003ccode\u003esize_object: bad tag\u003c/code\u003e. Only loss of availability was demonstrated.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.\n\nOn macOS, the VM decodes file names with `do_utf8_to_list_normalize` in `erts/emulator/beam/erl_unicode.c`. When a name starts with a combining mark, such as U+0301, `cleanup_norm` builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. `file:list_dir/1`, `file:list_dir_all/1`, `file:del_dir_r/1` and `filelib:wildcard/1` on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. `file:read_link/1` on a symbolic link with such a target aborts the VM with `size_object: bad tag`. Only loss of availability was demonstrated.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
                }
              ],
              "value": "Use After Free vulnerability in Erlang/OTP erts allows an attacker who can create a file system entry with a chosen name to hang or abort the Erlang VM on macOS.\n\nOn macOS, the VM decodes file names with do_utf8_to_list_normalize in erts/emulator/beam/erl_unicode.c. When a name starts with a combining mark, such as U+0301, cleanup_norm builds the first list cells but does not return its advanced heap pointer. The caller then releases the heap words that hold those cells, and the returned list refers to released process heap memory that the next allocation overwrites. file:list_dir/1, file:list_dir_all/1, file:del_dir_r/1 and filelib:wildcard/1 on a directory that contains such a name do not return, and the VM does not stop on SIGTERM. file:read_link/1 on a symbolic link with such a target aborts the VM with size_object: bad tag. Only loss of availability was demonstrated.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-153",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can create a file, directory or symbolic link target with a chosen name in a location that an Erlang node on macOS reads can make the VM hang or abort. The hung VM does not stop on SIGTERM.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can create a file, directory or symbolic link target with a chosen name in a location that an Erlang node on macOS reads can make the VM hang or abort. The hung VM does not stop on SIGTERM."
                    }
                  ],
                  "value": "An attacker who can create a file, directory or symbolic link target with a chosen name in a location that an Erlang node on macOS reads can make the VM hang or abort. The hung VM does not stop on SIGTERM."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 5.7,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-416",
                  "description": "CWE-416 Use After Free",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:28:21.735Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "Use-after-free in do_utf8_to_list_normalize: a macOS file name starting with a combining mark hangs file:list_dir/1 and the VM",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-2pqq-qr2r-wgcc"
            },
            {
              "name": "EEF CNA record for CVE-2026-125658",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-125658.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-125658",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-125658"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 9622ab2 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/9622ab2132e2501ee5769357a914dcc6635e515c"
            },
            {
              "name": "Fix commit 322b044 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/322b04488d9445c7258abce3e7f3bc79aa7c45d8"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Use after free in erts file name normalization on macOS",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eStart the VM with the \u003ccode\u003e+fnl\u003c/code\u003e flag, for example through \u003ccode\u003eERL_FLAGS\u003c/code\u003e. The VM then does not decode or normalize file names. This changes the result of file name functions for names outside ASCII: the VM returns each byte of the name as one Latin-1 character.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Start the VM with the `+fnl` flag, for example through `ERL_FLAGS`. The VM then does not decode or normalize file names. This changes the result of file name functions for names outside ASCII: the VM returns each byte of the name as one Latin-1 character."
                }
              ],
              "value": "Start the VM with the +fnl flag, for example through ERL_FLAGS. The VM then does not decode or normalize file names. This changes the result of file name functions for names outside ASCII: the VM returns each byte of the name as one Latin-1 character."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eOn macOS, create a directory with one file whose name starts with U+0301: \u003ccode\u003emkdir d \u0026amp;\u0026amp; printf x \u0026gt; \"d/$(printf \u0027\\314\\201b\u0027)\"\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eRun \u003ccode\u003eerl -noshell -eval \u0027io:format(\"~w~n\", [file:list_dir(\"d\")]), halt().\u0027\u003c/code\u003e. The command prints nothing and does not return. The VM does not stop on SIGTERM. The expected output is \u003ccode\u003e{ok,[[769,98]]}\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eRun \u003ccode\u003eerl -noshell -eval \u0027erlang:display(prim_file:internal_native2name(\u0026lt;\u0026lt;204,129,$b\u0026gt;\u0026gt;)), halt().\u0027\u003c/code\u003e. The output starts with \u003ccode\u003e[\u0026lt;cp/header:0x00000000000000c0\u0026gt;\u003c/code\u003e. The expected output is \u003ccode\u003e[769,98]\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eCreate a symbolic link with the same name as its target (\u003ccode\u003eln -s \"$(printf \u0027\\314\\201b\u0027)\" link\u003c/code\u003e) and call \u003ccode\u003efile:read_link(\"link\")\u003c/code\u003e. The VM aborts with \u003ccode\u003esize_object: bad tag for 0x80\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. On macOS, create a directory with one file whose name starts with U+0301: `mkdir d \u0026\u0026 printf x \u003e \"d/$(printf \u0027\\314\\201b\u0027)\"`.\n2. Run `erl -noshell -eval \u0027io:format(\"~w~n\", [file:list_dir(\"d\")]), halt().\u0027`. The command prints nothing and does not return. The VM does not stop on SIGTERM. The expected output is `{ok,[[769,98]]}`.\n3. Run `erl -noshell -eval \u0027erlang:display(prim_file:internal_native2name(\u003c\u003c204,129,$b\u003e\u003e)), halt().\u0027`. The output starts with `[\u003ccp/header:0x00000000000000c0\u003e`. The expected output is `[769,98]`.\n4. Create a symbolic link with the same name as its target (`ln -s \"$(printf \u0027\\314\\201b\u0027)\" link`) and call `file:read_link(\"link\")`. The VM aborts with `size_object: bad tag for 0x80`."
                }
              ],
              "value": "* On macOS, create a directory with one file whose name starts with U+0301: mkdir d \u0026\u0026 printf x \u003e \"d/$(printf \u0027\\314\\201b\u0027)\".\n* Run erl -noshell -eval \u0027io:format(\"~w~n\", [file:list_dir(\"d\")]), halt().\u0027. The command prints nothing and does not return. The VM does not stop on SIGTERM. The expected output is {ok,[[769,98]]}.\n* Run erl -noshell -eval \u0027erlang:display(prim_file:internal_native2name(\u003c\u003c204,129,$b\u003e\u003e)), halt().\u0027. The output starts with [\u003ccp/header:0x00000000000000c0\u003e. The expected output is [769,98].\n* Create a symbolic link with the same name as its target (ln -s \"$(printf \u0027\\314\\201b\u0027)\" link) and call file:read_link(\"link\"). The VM aborts with size_object: bad tag for 0x80."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Decoder entry\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003eprim_file:list_dir/1\u003c/code\u003e and \u003ccode\u003eprim_file:read_link/1\u003c/code\u003e decode each native name with \u003ccode\u003eprim_file:internal_native2name/1\u003c/code\u003e. Its implementation, \u003ccode\u003eprim_file_internal_native2name_1\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/erl_unicode.c\u003c/code\u003e, calls \u003ccode\u003edo_utf8_to_list_normalize\u003c/code\u003e when the file name encoding is \u003ccode\u003eERL_FILENAME_UTF8_MAC\u003c/code\u003e. \u003ccode\u003eerts_init_sys_common_misc\u003c/code\u003e selects that encoding only on macOS.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Missing heap pointer write-back\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003edo_utf8_to_list_normalize\u003c/code\u003e reserves \u003ccode\u003e2 * num\u003c/code\u003e heap words with \u003ccode\u003eHAlloc\u003c/code\u003e, reads the name from its end, and keeps code points that can compose (U+0300 and above) in \u003ccode\u003esavepoints\u003c/code\u003e. If saved points remain when it reaches the start of the name, it calls \u003ccode\u003ecleanup_norm(\u0026amp;hp, savepoints, numpoints, \u0026amp;ret)\u003c/code\u003e and then \u003ccode\u003eHRelease(p, hp_end, hp)\u003c/code\u003e. \u003ccode\u003ecleanup_norm\u003c/code\u003e copies \u003ccode\u003e*hpp\u003c/code\u003e to a local \u003ccode\u003ehp\u003c/code\u003e, builds one cons cell per saved point, and writes back only \u003ccode\u003e*retp\u003c/code\u003e. The caller\u0027s \u003ccode\u003ehp\u003c/code\u003e still points below the new cells, so \u003ccode\u003eHRelease\u003c/code\u003e returns them to the process heap. \u003ccode\u003ehandle_potential_norm\u003c/code\u003e has the same structure and does write \u003ccode\u003e*hpp = hp\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Effect\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe returned list starts in released heap memory. The next allocation of the process overwrites the cells. \u003ccode\u003eerlang:display/1\u003c/code\u003e shows a header word in place of the first code point. When the term is copied, for example in the reply of the file server, \u003ccode\u003esize_object_x\u003c/code\u003e either loops without end on a cyclic term or aborts the VM with \u003ccode\u003esize_object: bad tag\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Decoder entry**\n\n`prim_file:list_dir/1` and `prim_file:read_link/1` decode each native name with `prim_file:internal_native2name/1`. Its implementation, `prim_file_internal_native2name_1` in `erts/emulator/beam/erl_unicode.c`, calls `do_utf8_to_list_normalize` when the file name encoding is `ERL_FILENAME_UTF8_MAC`. `erts_init_sys_common_misc` selects that encoding only on macOS.\n\n**2. Missing heap pointer write-back**\n\n`do_utf8_to_list_normalize` reserves `2 * num` heap words with `HAlloc`, reads the name from its end, and keeps code points that can compose (U+0300 and above) in `savepoints`. If saved points remain when it reaches the start of the name, it calls `cleanup_norm(\u0026hp, savepoints, numpoints, \u0026ret)` and then `HRelease(p, hp_end, hp)`. `cleanup_norm` copies `*hpp` to a local `hp`, builds one cons cell per saved point, and writes back only `*retp`. The caller\u0027s `hp` still points below the new cells, so `HRelease` returns them to the process heap. `handle_potential_norm` has the same structure and does write `*hpp = hp`.\n\n**3. Effect**\n\nThe returned list starts in released heap memory. The next allocation of the process overwrites the cells. `erlang:display/1` shows a header word in place of the first code point. When the term is copied, for example in the reply of the file server, `size_object_x` either loops without end on a cyclic term or aborts the VM with `size_object: bad tag`."
                }
              ],
              "value": "1. Decoder entry\n\nprim_file:list_dir/1 and prim_file:read_link/1 decode each native name with prim_file:internal_native2name/1. Its implementation, prim_file_internal_native2name_1 in erts/emulator/beam/erl_unicode.c, calls do_utf8_to_list_normalize when the file name encoding is ERL_FILENAME_UTF8_MAC. erts_init_sys_common_misc selects that encoding only on macOS.\n\n2. Missing heap pointer write-back\n\ndo_utf8_to_list_normalize reserves 2 * num heap words with HAlloc, reads the name from its end, and keeps code points that can compose (U+0300 and above) in savepoints. If saved points remain when it reaches the start of the name, it calls cleanup_norm(\u0026hp, savepoints, numpoints, \u0026ret) and then HRelease(p, hp_end, hp). cleanup_norm copies *hpp to a local hp, builds one cons cell per saved point, and writes back only *retp. The caller\u0027s hp still points below the new cells, so HRelease returns them to the process heap. handle_potential_norm has the same structure and does write *hpp = hp.\n\n3. Effect\n\nThe returned list starts in released heap memory. The next allocation of the process overwrites the cells. erlang:display/1 shows a header word in place of the first code point. When the term is copied, for example in the reply of the file server, size_object_x either loops without end on a cyclic term or aborts the VM with size_object: bad tag."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-125658",
        "datePublished": "2026-11-24T15:28:21.735Z",
        "dateReserved": "2026-11-12T20:11:47.627Z",
        "dateUpdated": "2026-11-24T16:28:56.749Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-124286 (GCVE-0-2026-124286)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:12 – Updated: 2026-12-01 16:47
    VLAI
    Title
    TLS 1.2 Client Completes Handshake Without a Server Certificate
    Summary
    Improper Verification of Cryptographic Signature vulnerability in Erlang OTP ssl (ssl_handshake module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client. When a server sends no Certificate message and a ServerKeyExchange without a signature, ssl_handshake:decode_server_key/3 reports the signature algorithm as anon, and ssl_handshake:verify_signature/5 returns true for anon without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges with a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and ssl:connect/3 returns {ok, Socket} with {verify, verify_peer} set. The TLS 1.3 client is not affected. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.9, and OTP 29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3.
    SSVC
    Exploitation: none Automatable: no Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-347 - Improper Verification of Cryptographic Signature
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 5.3.4 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 938a5246a52d30897b4f47439352da4425ea6fc5 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:12
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-124286",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:11.695043Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:47:54.549Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "ssl",
              "packageURL": "pkg:otp/ssl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/ssl_handshake.erl",
                "src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:verify_signature/5"
                },
                {
                  "name": "ssl_handshake:verify_server_key/5"
                },
                {
                  "name": "ssl_handshake:decode_server_key/3"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.10",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.3.4",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:verify_signature/5"
                },
                {
                  "name": "ssl_handshake:verify_server_key/5"
                },
                {
                  "name": "ssl_handshake:decode_server_key/3"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.0.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "ssl"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/ssl.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:verify_signature/5"
                },
                {
                  "name": "ssl_handshake:verify_server_key/5"
                },
                {
                  "name": "ssl_handshake:decode_server_key/3"
                },
                {
                  "name": "ssl:connect/2"
                },
                {
                  "name": "ssl:connect/3"
                },
                {
                  "name": "ssl:connect/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "74782afedd9090bad0ab1dede237a2389e94743f",
                      "status": "unaffected"
                    },
                    {
                      "at": "d9a931963d3d49c7f73ea509221c9c66737977c7",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "938a5246a52d30897b4f47439352da4425ea6fc5",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe vulnerability affects clients whose connection can use TLS 1.2 or DTLS 1.2. The default \u003ccode\u003essl:connect\u003c/code\u003e options allow TLS 1.2. Clients restricted to TLS 1.3 are not affected. Cipher suites that do not use a \u003ccode\u003eServerKeyExchange\u003c/code\u003e message (the \u003ccode\u003ersa\u003c/code\u003e, \u003ccode\u003eecdh_rsa\u003c/code\u003e and \u003ccode\u003eecdh_ecdsa\u003c/code\u003e key exchanges) are not affected. Servers are not affected. Exploitation requires an on-path (adversary-in-the-middle) attacker between the client and the intended server.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The vulnerability affects clients whose connection can use TLS 1.2 or DTLS 1.2. The default `ssl:connect` options allow TLS 1.2. Clients restricted to TLS 1.3 are not affected. Cipher suites that do not use a `ServerKeyExchange` message (the `rsa`, `ecdh_rsa` and `ecdh_ecdsa` key exchanges) are not affected. Servers are not affected. Exploitation requires an on-path (adversary-in-the-middle) attacker between the client and the intended server."
                }
              ],
              "value": "The vulnerability affects clients whose connection can use TLS 1.2 or DTLS 1.2. The default ssl:connect options allow TLS 1.2. Clients restricted to TLS 1.3 are not affected. Cipher suites that do not use a ServerKeyExchange message (the rsa, ecdh_rsa and ecdh_ecdsa key exchanges) are not affected. Servers are not affected. Exploitation requires an on-path (adversary-in-the-middle) attacker between the client and the intended server."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.14",
                      "versionStartIncluding": "17.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.0.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Phillip Calvin"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Phillip Calvin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Ingela Anderton Andin"
            }
          ],
          "dateAssigned": "2026-11-16T02:00:55.000Z",
          "datePublic": "2026-11-24T15:12:01.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Verification of Cryptographic Signature vulnerability in Erlang OTP \u003ccode\u003essl\u003c/code\u003e (\u003ccode\u003essl_handshake\u003c/code\u003e module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client.\u003c/p\u003e\n\u003cp\u003eWhen a server sends no \u003ccode\u003eCertificate\u003c/code\u003e message and a \u003ccode\u003eServerKeyExchange\u003c/code\u003e without a signature, \u003ccode\u003essl_handshake:decode_server_key/3\u003c/code\u003e reports the signature algorithm as \u003ccode\u003eanon\u003c/code\u003e, and \u003ccode\u003essl_handshake:verify_signature/5\u003c/code\u003e returns \u003ccode\u003etrue\u003c/code\u003e for \u003ccode\u003eanon\u003c/code\u003e without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the \u003ccode\u003eecdhe_rsa\u003c/code\u003e, \u003ccode\u003eecdhe_ecdsa\u003c/code\u003e, \u003ccode\u003edhe_rsa\u003c/code\u003e and \u003ccode\u003edhe_dss\u003c/code\u003e key exchanges with a cipher suite the client offered. Certificate path validation, \u003ccode\u003everify_fun\u003c/code\u003e and the hostname check do not run, and \u003ccode\u003essl:connect/3\u003c/code\u003e returns \u003ccode\u003e{ok, Socket}\u003c/code\u003e with \u003ccode\u003e{verify, verify_peer}\u003c/code\u003e set. The TLS 1.3 client is not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.14, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Verification of Cryptographic Signature vulnerability in Erlang OTP `ssl` (`ssl_handshake` module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client.\n\nWhen a server sends no `Certificate` message and a `ServerKeyExchange` without a signature, `ssl_handshake:decode_server_key/3` reports the signature algorithm as `anon`, and `ssl_handshake:verify_signature/5` returns `true` for `anon` without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the `ecdhe_rsa`, `ecdhe_ecdsa`, `dhe_rsa` and `dhe_dss` key exchanges with a cipher suite the client offered. Certificate path validation, `verify_fun` and the hostname check do not run, and `ssl:connect/3` returns `{ok, Socket}` with `{verify, verify_peer}` set. The TLS 1.3 client is not affected.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.9, and OTP\u00a029.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3."
                }
              ],
              "value": "Improper Verification of Cryptographic Signature vulnerability in Erlang OTP ssl (ssl_handshake module) allows an on-path attacker to impersonate any server to a TLS 1.2 or DTLS client.\n\nWhen a server sends no Certificate message and a ServerKeyExchange without a signature, ssl_handshake:decode_server_key/3 reports the signature algorithm as anon, and ssl_handshake:verify_signature/5 returns true for anon without a public key. The client does not require a certificate for a certificate-authenticated key exchange, so the handshake completes for the ecdhe_rsa, ecdhe_ecdsa, dhe_rsa and dhe_dss key exchanges with a cipher suite the client offered. Certificate path validation, verify_fun and the hostname check do not run, and ssl:connect/3 returns {ok, Socket} with {verify, verify_peer} set. The TLS 1.3 client is not affected.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.14, OTP\u00a028.5.0.9, and OTP\u00a029.0.3, corresponding to ssl from 5.3.4 before 11.2.12.10, 11.6.0.8, and 11.7.3."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-475",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn on-path attacker can impersonate any server to an affected client, then read and modify all application data on the connection. Certificate path validation, \u003ccode\u003everify_fun\u003c/code\u003e and the hostname check do not run.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An on-path attacker can impersonate any server to an affected client, then read and modify all application data on the connection. Certificate path validation, `verify_fun` and the hostname check do not run."
                    }
                  ],
                  "value": "An on-path attacker can impersonate any server to an affected client, then read and modify all application data on the connection. Certificate path validation, verify_fun and the hostname check do not run."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-347",
                  "description": "CWE-347 Improper Verification of Cryptographic Signature",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:12:02.452Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "TLS 1.2 Client Completes Handshake Without a Server Certificate",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j"
            },
            {
              "name": "EEF CNA record for CVE-2026-124286",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-124286.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-124286",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-124286"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 938a524 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/938a5246a52d30897b4f47439352da4425ea6fc5"
            },
            {
              "name": "Fix commit 74782af in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/74782afedd9090bad0ab1dede237a2389e94743f"
            },
            {
              "name": "Fix commit d9a9319 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/d9a931963d3d49c7f73ea509221c9c66737977c7"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "TLS 1.2 Client Completes Handshake Without a Server Certificate",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eRestrict TLS client connections to TLS 1.3 by setting \u003ccode\u003eversions\u003c/code\u003e to \u003ccode\u003e[\u0027tlsv1.3\u0027]\u003c/code\u003e in the client\u0027s \u003ccode\u003essl\u003c/code\u003e options.\u003c/p\u003e\n\u003cp\u003eIf a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no \u003ccode\u003eServerKeyExchange\u003c/code\u003e message. They provide no forward secrecy, and many servers do not accept them.\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-erlang\"\u003eRsaOnly = ssl:filter_cipher_suites(\n    ssl:cipher_suites(all, \u0027tlsv1.2\u0027),\n    [{key_exchange, fun(rsa) -\u0026gt; true; (_) -\u0026gt; false end}]\n),\nOpts = [\n    {verify, verify_peer},\n    {cacerts, public_key:cacerts_get()},\n    {versions, [\u0027tlsv1.2\u0027]},\n    {ciphers, RsaOnly},\n    {server_name_indication, \"www.example.com\"},\n    {customize_hostname_check, [\n        {match_fun, public_key:pkix_verify_hostname_match_fun(https)}\n    ]}\n].\n\u003c/code\u003e\u003c/pre\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Restrict TLS client connections to TLS 1.3 by setting `versions` to `[\u0027tlsv1.3\u0027]` in the client\u0027s `ssl` options.\n\nIf a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no `ServerKeyExchange` message. They provide no forward secrecy, and many servers do not accept them.\n\n```erlang\nRsaOnly = ssl:filter_cipher_suites(\n    ssl:cipher_suites(all, \u0027tlsv1.2\u0027),\n    [{key_exchange, fun(rsa) -\u003e true; (_) -\u003e false end}]\n),\nOpts = [\n    {verify, verify_peer},\n    {cacerts, public_key:cacerts_get()},\n    {versions, [\u0027tlsv1.2\u0027]},\n    {ciphers, RsaOnly},\n    {server_name_indication, \"www.example.com\"},\n    {customize_hostname_check, [\n        {match_fun, public_key:pkix_verify_hostname_match_fun(https)}\n    ]}\n].\n```"
                }
              ],
              "value": "Restrict TLS client connections to TLS 1.3 by setting versions to [\u0027tlsv1.3\u0027] in the client\u0027s ssl options.\n\nIf a client must use TLS 1.2, offer only the static RSA key exchange cipher suites. These suites have no ServerKeyExchange message. They provide no forward secrecy, and many servers do not accept them.\n\nRsaOnly = ssl:filter_cipher_suites(\n    ssl:cipher_suites(all, \u0027tlsv1.2\u0027),\n    [{key_exchange, fun(rsa) -\u003e true; (_) -\u003e false end}]\n),\nOpts = [\n    {verify, verify_peer},\n    {cacerts, public_key:cacerts_get()},\n    {versions, [\u0027tlsv1.2\u0027]},\n    {ciphers, RsaOnly},\n    {server_name_indication, \"www.example.com\"},\n    {customize_hostname_check, [\n        {match_fun, public_key:pkix_verify_hostname_match_fun(https)}\n    ]}\n]."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a TCP server that answers a TLS 1.2 \u003ccode\u003eClientHello\u003c/code\u003e with a \u003ccode\u003eServerHello\u003c/code\u003e that selects an offered \u003ccode\u003eECDHE_RSA\u003c/code\u003e suite (for example \u003ccode\u003eTLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256\u003c/code\u003e), then a \u003ccode\u003eServerKeyExchange\u003c/code\u003e with x25519 parameters and no signature, then \u003ccode\u003eServerHelloDone\u003c/code\u003e. Send no \u003ccode\u003eCertificate\u003c/code\u003e message. The \u003ccode\u003eUnauthenticatedECDH\u003c/code\u003e test of the BoringSSL test runner (BoGo) provides such a server.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003essl:connect/3\u003c/code\u003e and the options \u003ccode\u003e{verify, verify_peer}\u003c/code\u003e, \u003ccode\u003e{cacerts, public_key:cacerts_get()}\u003c/code\u003e, \u003ccode\u003e{server_name_indication, \"www.example.com\"}\u003c/code\u003e and \u003ccode\u003e{customize_hostname_check, [{match_fun, public_key:pkix_verify_hostname_match_fun(https)}]}\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eOn the server, derive the session keys from its own ECDH key pair and the client\u0027s \u003ccode\u003eClientKeyExchange\u003c/code\u003e, then send \u003ccode\u003eChangeCipherSpec\u003c/code\u003e and \u003ccode\u003eFinished\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003e\u003ccode\u003essl:connect/3\u003c/code\u003e returns \u003ccode\u003e{ok, Socket}\u003c/code\u003e, and the server decrypts the application data that the client sends. A fixed client aborts with a fatal alert after step 1.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a TCP server that answers a TLS 1.2 `ClientHello` with a `ServerHello` that selects an offered `ECDHE_RSA` suite (for example `TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256`), then a `ServerKeyExchange` with x25519 parameters and no signature, then `ServerHelloDone`. Send no `Certificate` message. The `UnauthenticatedECDH` test of the BoringSSL test runner (BoGo) provides such a server.\n2. Connect with `ssl:connect/3` and the options `{verify, verify_peer}`, `{cacerts, public_key:cacerts_get()}`, `{server_name_indication, \"www.example.com\"}` and `{customize_hostname_check, [{match_fun, public_key:pkix_verify_hostname_match_fun(https)}]}`.\n3. On the server, derive the session keys from its own ECDH key pair and the client\u0027s `ClientKeyExchange`, then send `ChangeCipherSpec` and `Finished`.\n4. `ssl:connect/3` returns `{ok, Socket}`, and the server decrypts the application data that the client sends. A fixed client aborts with a fatal alert after step 1."
                }
              ],
              "value": "* Start a TCP server that answers a TLS 1.2 ClientHello with a ServerHello that selects an offered ECDHE_RSA suite (for example TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256), then a ServerKeyExchange with x25519 parameters and no signature, then ServerHelloDone. Send no Certificate message. The UnauthenticatedECDH test of the BoringSSL test runner (BoGo) provides such a server.\n* Connect with ssl:connect/3 and the options {verify, verify_peer}, {cacerts, public_key:cacerts_get()}, {server_name_indication, \"www.example.com\"} and {customize_hostname_check, [{match_fun, public_key:pkix_verify_hostname_match_fun(https)}]}.\n* On the server, derive the session keys from its own ECDH key pair and the client\u0027s ClientKeyExchange, then send ChangeCipherSpec and Finished.\n* ssl:connect/3 returns {ok, Socket}, and the server decrypts the application data that the client sends. A fixed client aborts with a fatal alert after step 1."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Signature decoding.\u003c/strong\u003e \u003ccode\u003essl_handshake:decode_server_key/3\u003c/code\u003e splits the \u003ccode\u003eServerKeyExchange\u003c/code\u003e body into the key exchange parameters and a signature. The internal \u003ccode\u003edec_server_key_signature/3\u003c/code\u003e maps an empty remainder, a zero-length signature, and the TLS 1.2 \u003ccode\u003eanonymous\u003c/code\u003e signature algorithm with an empty signature to the signature algorithm \u003ccode\u003eanon\u003c/code\u003e. It does this for every key exchange algorithm, not only for the anonymous ones.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Signature verification.\u003c/strong\u003e In the \u003ccode\u003ecertify\u003c/code\u003e state the client calls \u003ccode\u003essl_handshake:verify_server_key/5\u003c/code\u003e for the non-anonymous key exchanges. No \u003ccode\u003eCertificate\u003c/code\u003e message arrived, so the stored public key is \u003ccode\u003eundefined\u003c/code\u003e. \u003ccode\u003essl_handshake:verify_signature/5\u003c/code\u003e has a clause that returns \u003ccode\u003etrue\u003c/code\u003e for the \u003ccode\u003eanon\u003c/code\u003e signature algorithm with any key, and that clause matches.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Handshake completion.\u003c/strong\u003e The client does not check that it received a certificate before it handles \u003ccode\u003eServerHelloDone\u003c/code\u003e. It derives the master secret from the unauthenticated (EC)DH parameters and sends \u003ccode\u003eClientKeyExchange\u003c/code\u003e, \u003ccode\u003eChangeCipherSpec\u003c/code\u003e and \u003ccode\u003eFinished\u003c/code\u003e. The attacker holds the (EC)DH private key and completes the handshake. \u003ccode\u003essl:connect/3\u003c/code\u003e returns \u003ccode\u003e{ok, Socket}\u003c/code\u003e, and \u003ccode\u003essl:peercert/1\u003c/code\u003e returns \u003ccode\u003e{error, no_peercert}\u003c/code\u003e on that socket.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Signature decoding.** `ssl_handshake:decode_server_key/3` splits the `ServerKeyExchange` body into the key exchange parameters and a signature. The internal `dec_server_key_signature/3` maps an empty remainder, a zero-length signature, and the TLS 1.2 `anonymous` signature algorithm with an empty signature to the signature algorithm `anon`. It does this for every key exchange algorithm, not only for the anonymous ones.\n\n**2. Signature verification.** In the `certify` state the client calls `ssl_handshake:verify_server_key/5` for the non-anonymous key exchanges. No `Certificate` message arrived, so the stored public key is `undefined`. `ssl_handshake:verify_signature/5` has a clause that returns `true` for the `anon` signature algorithm with any key, and that clause matches.\n\n**3. Handshake completion.** The client does not check that it received a certificate before it handles `ServerHelloDone`. It derives the master secret from the unauthenticated (EC)DH parameters and sends `ClientKeyExchange`, `ChangeCipherSpec` and `Finished`. The attacker holds the (EC)DH private key and completes the handshake. `ssl:connect/3` returns `{ok, Socket}`, and `ssl:peercert/1` returns `{error, no_peercert}` on that socket."
                }
              ],
              "value": "1. Signature decoding. ssl_handshake:decode_server_key/3 splits the ServerKeyExchange body into the key exchange parameters and a signature. The internal dec_server_key_signature/3 maps an empty remainder, a zero-length signature, and the TLS 1.2 anonymous signature algorithm with an empty signature to the signature algorithm anon. It does this for every key exchange algorithm, not only for the anonymous ones.\n\n2. Signature verification. In the certify state the client calls ssl_handshake:verify_server_key/5 for the non-anonymous key exchanges. No Certificate message arrived, so the stored public key is undefined. ssl_handshake:verify_signature/5 has a clause that returns true for the anon signature algorithm with any key, and that clause matches.\n\n3. Handshake completion. The client does not check that it received a certificate before it handles ServerHelloDone. It derives the master secret from the unauthenticated (EC)DH parameters and sends ClientKeyExchange, ChangeCipherSpec and Finished. The attacker holds the (EC)DH private key and completes the handshake. ssl:connect/3 returns {ok, Socket}, and ssl:peercert/1 returns {error, no_peercert} on that socket."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-124286",
        "datePublished": "2026-11-24T15:12:02.452Z",
        "dateReserved": "2026-11-12T20:33:15.864Z",
        "dateUpdated": "2026-12-01T16:47:54.549Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-120961 (GCVE-0-2026-120961)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:10 – Updated: 2026-12-01 16:48
    VLAI
    Title
    binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM
    Summary
    Out-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to read memory after the input, and to change one byte there, via a FLOAT_EXT term without a terminating zero byte. decoded_size in erts/emulator/beam/external.c checks only that the 31 bytes of the FLOAT_EXT field are present. dec_term then passes the field to sys_chars_to_double, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and strtod does not accept it, sys_chars_to_double overwrites that byte (a , becomes a .). The VM can fault if the scan reaches an unmapped page. The safe option does not prevent this. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < 4b954b8aa0f601a0d8d45f0953c77585afb6f853 (git)
    Unaffected: 4b954b8aa0f601a0d8d45f0953c77585afb6f853 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:10
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-120961",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:23.392606Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:09.527Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif",
                "sys_float"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/external.c",
                "emulator/beam/erl_nif.c",
                "emulator/sys/unix/sys_float.c",
                "emulator/sys/win32/sys_float.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                },
                {
                  "name": "sys_chars_to_double"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif",
                "sys_float"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c",
                "erts/emulator/sys/unix/sys_float.c",
                "erts/emulator/sys/win32/sys_float.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                },
                {
                  "name": "sys_chars_to_double"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif",
                "sys_float"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c",
                "erts/emulator/sys/unix/sys_float.c",
                "erts/emulator/sys/win32/sys_float.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                },
                {
                  "name": "sys_chars_to_double"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "4b954b8aa0f601a0d8d45f0953c77585afb6f853",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "4b954b8aa0f601a0d8d45f0953c77585afb6f853",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-11-11T12:24:29.000Z",
          "datePublic": "2026-11-24T15:10:39.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOut-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e to read memory after the input, and to change one byte there, via a \u003ccode\u003eFLOAT_EXT\u003c/code\u003e term without a terminating zero byte. \u003ccode\u003edecoded_size\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e checks only that the 31 bytes of the \u003ccode\u003eFLOAT_EXT\u003c/code\u003e field are present. \u003ccode\u003edec_term\u003c/code\u003e then passes the field to \u003ccode\u003esys_chars_to_double\u003c/code\u003e, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and \u003ccode\u003estrtod\u003c/code\u003e does not accept it, \u003ccode\u003esys_chars_to_double\u003c/code\u003e overwrites that byte (a \u003ccode\u003e,\u003c/code\u003e becomes a \u003ccode\u003e.\u003c/code\u003e). The VM can fault if the scan reaches an unmapped page.\u003c/p\u003e\n\u003cp\u003eThe \u003ccode\u003esafe\u003c/code\u003e option does not prevent this. \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to erts before 6.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Out-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to `binary_to_term/1,2` to read memory after the input, and to change one byte there, via a `FLOAT_EXT` term without a terminating zero byte. `decoded_size` in `erts/emulator/beam/external.c` checks only that the 31 bytes of the `FLOAT_EXT` field are present. `dec_term` then passes the field to `sys_chars_to_double`, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and `strtod` does not accept it, `sys_chars_to_double` overwrites that byte (a `,` becomes a `.`). The VM can fault if the scan reaches an unmapped page.\n\nThe `safe` option does not prevent this. `enif_binary_to_term()` and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
                }
              ],
              "value": "Out-of-bounds Read vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to read memory after the input, and to change one byte there, via a FLOAT_EXT term without a terminating zero byte. decoded_size in erts/emulator/beam/external.c checks only that the 31 bytes of the FLOAT_EXT field are present. dec_term then passes the field to sys_chars_to_double, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and strtod does not accept it, sys_chars_to_double overwrites that byte (a , becomes a .). The VM can fault if the scan reaches an unmapped page.\n\nThe safe option does not prevent this. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-540",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply bytes to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e or \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e can make the decoder read bytes after the input, which then change the decoded float, and can change one \u003ccode\u003e,\u003c/code\u003e byte after the input to \u003ccode\u003e.\u003c/code\u003e. The VM can abort if the read reaches unmapped memory.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply bytes to `binary_to_term/1,2` or `enif_binary_to_term()` can make the decoder read bytes after the input, which then change the decoded float, and can change one `,` byte after the input to `.`. The VM can abort if the read reaches unmapped memory."
                    }
                  ],
                  "value": "An attacker who can supply bytes to binary_to_term/1,2 or enif_binary_to_term() can make the decoder read bytes after the input, which then change the decoded float, and can change one , byte after the input to .. The VM can abort if the read reaches unmapped memory."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-125",
                  "description": "CWE-125 Out-of-bounds Read",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:10:40.813Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-r7pf-rpq8-5pf4"
            },
            {
              "name": "EEF CNA record for CVE-2026-120961",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-120961.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-120961",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-120961"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 4b954b8 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/4b954b8aa0f601a0d8d45f0953c77585afb6f853"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eDo not call \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\u003c/li\u003e\n\u003cli\u003eIf distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\u003c/li\u003e\n\u003cli\u003eUse alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the \u003ccode\u003e[safe]\u003c/code\u003e option to \u003ccode\u003ebinary_to_term/2\u003c/code\u003e does NOT protect against this issue. It only restricts atom creation, not structural validation of binary encodings.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* Do not call `binary_to_term/1,2` on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the `[safe]` option to `binary_to_term/2` does NOT protect against this issue. It only restricts atom creation, not structural validation of binary encodings."
                }
              ],
              "value": "* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this issue. It only restricts atom creation, not structural validation of binary encodings."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a \u003ccode\u003eFLOAT_EXT\u003c/code\u003e field without a NUL byte: tag 99 followed by the 31 bytes \u003ccode\u003e1.0e\u003c/code\u003e plus 26 times \u003ccode\u003e0\u003c/code\u003e plus \u003ccode\u003e1\u003c/code\u003e. This is the float 10.0.\u003c/li\u003e\n\u003cli\u003ePut the field at the end of an input, for example as the last element of a \u003ccode\u003eSMALL_TUPLE_EXT\u003c/code\u003e after the version byte 131.\u003c/li\u003e\n\u003cli\u003eBuild a larger binary that holds the input followed by the bytes \u003ccode\u003e7\u003c/code\u003e and NUL. Take the input as a sub-binary with \u003ccode\u003ebinary:part/3\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eCall \u003ccode\u003ebinary_to_term/2\u003c/code\u003e with \u003ccode\u003e[safe]\u003c/code\u003e on the sub-binary. The last element decodes as \u003ccode\u003e1.0e17\u003c/code\u003e and not \u003ccode\u003e10.0\u003c/code\u003e: the decoder read the \u003ccode\u003e7\u003c/code\u003e after the input.\u003c/li\u003e\n\u003cli\u003eFor the write, use the 31 digits \u003ccode\u003e1234567890123456789012345678901\u003c/code\u003e as the field and put \u003ccode\u003e,5\u003c/code\u003e and NUL after the input. After the call, the \u003ccode\u003e,\u003c/code\u003e byte in the parent binary is a \u003ccode\u003e.\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a `FLOAT_EXT` field without a NUL byte: tag 99 followed by the 31 bytes `1.0e` plus 26 times `0` plus `1`. This is the float 10.0.\n2. Put the field at the end of an input, for example as the last element of a `SMALL_TUPLE_EXT` after the version byte 131.\n3. Build a larger binary that holds the input followed by the bytes `7` and NUL. Take the input as a sub-binary with `binary:part/3`.\n4. Call `binary_to_term/2` with `[safe]` on the sub-binary. The last element decodes as `1.0e17` and not `10.0`: the decoder read the `7` after the input.\n5. For the write, use the 31 digits `1234567890123456789012345678901` as the field and put `,5` and NUL after the input. After the call, the `,` byte in the parent binary is a `.`."
                }
              ],
              "value": "* Build a FLOAT_EXT field without a NUL byte: tag 99 followed by the 31 bytes 1.0e plus 26 times 0 plus 1. This is the float 10.0.\n* Put the field at the end of an input, for example as the last element of a SMALL_TUPLE_EXT after the version byte 131.\n* Build a larger binary that holds the input followed by the bytes 7 and NUL. Take the input as a sub-binary with binary:part/3.\n* Call binary_to_term/2 with [safe] on the sub-binary. The last element decodes as 1.0e17 and not 10.0: the decoder read the 7 after the input.\n* For the write, use the 31 digits 1234567890123456789012345678901 as the field and put ,5 and NUL after the input. After the call, the , byte in the parent binary is a .."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Size pass.\u003c/strong\u003e \u003ccode\u003ebinary_to_term_int\u003c/code\u003e first calls \u003ccode\u003edecoded_size\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e. For \u003ccode\u003eFLOAT_EXT\u003c/code\u003e (tag 99), \u003ccode\u003edecoded_size\u003c/code\u003e skips 31 bytes and reserves heap for one float. It does not examine the content of the field.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Decode pass.\u003c/strong\u003e \u003ccode\u003edec_term\u003c/code\u003e passes the pointer to the field to \u003ccode\u003esys_chars_to_double\u003c/code\u003e and then advances by 31 bytes. The call carries no length. \u003ccode\u003esys_chars_to_double\u003c/code\u003e (in \u003ccode\u003eerts/emulator/sys/unix/sys_float.c\u003c/code\u003e and \u003ccode\u003eerts/emulator/sys/win32/sys_float.c\u003c/code\u003e) treats the field as a C string.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Out-of-bounds read.\u003c/strong\u003e \u003ccode\u003esys_chars_to_double\u003c/code\u003e checks the float syntax one character at a time and requires a NUL after the last digit. A valid encoder pads the field with NUL bytes. When all 31 bytes are part of a float, the scan and the subsequent \u003ccode\u003estrtod\u003c/code\u003e call continue into the bytes after the field. When the field is the last term of the input, these are bytes after the input. If they complete a valid float and a NUL follows, the decoded value contains them.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. One-byte write.\u003c/strong\u003e \u003ccode\u003esys_chars_to_double\u003c/code\u003e remembers the position of the radix character, which can be \u003ccode\u003e.\u003c/code\u003e or \u003ccode\u003e,\u003c/code\u003e. If \u003ccode\u003estrtod\u003c/code\u003e stops before the end of the scanned string, the function replaces the radix character with the other one in place and calls \u003ccode\u003estrtod\u003c/code\u003e again. When the field contains only digits, the radix character is a byte after the field. A \u003ccode\u003e,\u003c/code\u003e there is changed to \u003ccode\u003e.\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e5. Fault.\u003c/strong\u003e The scan has no upper limit. If only digits follow up to the end of the mapped memory, the read faults and the VM aborts.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Size pass.** `binary_to_term_int` first calls `decoded_size` in `erts/emulator/beam/external.c`. For `FLOAT_EXT` (tag 99), `decoded_size` skips 31 bytes and reserves heap for one float. It does not examine the content of the field.\n\n**2. Decode pass.** `dec_term` passes the pointer to the field to `sys_chars_to_double` and then advances by 31 bytes. The call carries no length. `sys_chars_to_double` (in `erts/emulator/sys/unix/sys_float.c` and `erts/emulator/sys/win32/sys_float.c`) treats the field as a C string.\n\n**3. Out-of-bounds read.** `sys_chars_to_double` checks the float syntax one character at a time and requires a NUL after the last digit. A valid encoder pads the field with NUL bytes. When all 31 bytes are part of a float, the scan and the subsequent `strtod` call continue into the bytes after the field. When the field is the last term of the input, these are bytes after the input. If they complete a valid float and a NUL follows, the decoded value contains them.\n\n**4. One-byte write.** `sys_chars_to_double` remembers the position of the radix character, which can be `.` or `,`. If `strtod` stops before the end of the scanned string, the function replaces the radix character with the other one in place and calls `strtod` again. When the field contains only digits, the radix character is a byte after the field. A `,` there is changed to `.`.\n\n**5. Fault.** The scan has no upper limit. If only digits follow up to the end of the mapped memory, the read faults and the VM aborts."
                }
              ],
              "value": "1. Size pass. binary_to_term_int first calls decoded_size in erts/emulator/beam/external.c. For FLOAT_EXT (tag 99), decoded_size skips 31 bytes and reserves heap for one float. It does not examine the content of the field.\n\n2. Decode pass. dec_term passes the pointer to the field to sys_chars_to_double and then advances by 31 bytes. The call carries no length. sys_chars_to_double (in erts/emulator/sys/unix/sys_float.c and erts/emulator/sys/win32/sys_float.c) treats the field as a C string.\n\n3. Out-of-bounds read. sys_chars_to_double checks the float syntax one character at a time and requires a NUL after the last digit. A valid encoder pads the field with NUL bytes. When all 31 bytes are part of a float, the scan and the subsequent strtod call continue into the bytes after the field. When the field is the last term of the input, these are bytes after the input. If they complete a valid float and a NUL follows, the decoded value contains them.\n\n4. One-byte write. sys_chars_to_double remembers the position of the radix character, which can be . or ,. If strtod stops before the end of the scanned string, the function replaces the radix character with the other one in place and calls strtod again. When the field contains only digits, the radix character is a byte after the field. A , there is changed to ..\n\n5. Fault. The scan has no upper limit. If only digits follow up to the end of the mapped memory, the read faults and the VM aborts."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-120961",
        "datePublished": "2026-11-24T15:10:40.813Z",
        "dateReserved": "2026-11-10T11:01:31.673Z",
        "dateUpdated": "2026-12-01T16:48:09.527Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-117642 (GCVE-0-2026-117642)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:09 – Updated: 2026-12-01 16:48
    VLAI
    Title
    binary_to_term Stack Exhaustion via Nested Funs in NEW_FUN_EXT and EXPORT_EXT Aborts the VM
    Summary
    Uncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a fun term with funs nested in its integer fields. dec_term in erts/emulator/beam/external.c decodes terms iteratively, except for the OldIndex and OldUniq fields of NEW_FUN_EXT and the Arity field of EXPORT_EXT. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth. The abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < 30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076 (git)
    Unaffected: 30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:09
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-117642",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:30.954431Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:24.461Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif"
              ],
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "emulator/beam/external.c",
                "emulator/beam/erl_nif.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "erlang",
                "external",
                "erl_nif"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "erts/emulator/beam/external.c",
                "erts/emulator/beam/erl_nif.c"
              ],
              "programRoutines": [
                {
                  "name": "erlang:binary_to_term/1"
                },
                {
                  "name": "erlang:binary_to_term/2"
                },
                {
                  "name": "dec_term"
                },
                {
                  "name": "enif_binary_to_term"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Khaled Suliman"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Anderton Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Sverker Eriksson"
            }
          ],
          "dateAssigned": "2026-11-09T22:47:56.000Z",
          "datePublic": "2026-11-24T15:09:35.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e to abort the Erlang VM via a fun term with funs nested in its integer fields. \u003ccode\u003edec_term\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e decodes terms iteratively, except for the \u003ccode\u003eOldIndex\u003c/code\u003e and \u003ccode\u003eOldUniq\u003c/code\u003e fields of \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e and the \u003ccode\u003eArity\u003c/code\u003e field of \u003ccode\u003eEXPORT_EXT\u003c/code\u003e. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth.\u003c/p\u003e\n\u003cp\u003eThe abort takes down every process on the node. Supervision, \u003ccode\u003etry\u003c/code\u003e/\u003ccode\u003ecatch\u003c/code\u003e and the \u003ccode\u003esafe\u003c/code\u003e option do not prevent it. \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to erts before 6.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Uncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to `binary_to_term/1,2` to abort the Erlang VM via a fun term with funs nested in its integer fields. `dec_term` in `erts/emulator/beam/external.c` decodes terms iteratively, except for the `OldIndex` and `OldUniq` fields of `NEW_FUN_EXT` and the `Arity` field of `EXPORT_EXT`. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth.\n\nThe abort takes down every process on the node. Supervision, `try`/`catch` and the `safe` option do not prevent it. `enif_binary_to_term()` and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
                }
              ],
              "value": "Uncontrolled Recursion vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a fun term with funs nested in its integer fields. dec_term in erts/emulator/beam/external.c decodes terms iteratively, except for the OldIndex and OldUniq fields of NEW_FUN_EXT and the Arity field of EXPORT_EXT. For these fields it calls itself, and it checks that the result is a small integer only after the call returns. An input that places another fun in such a field, nested to sufficient depth, recurses once per level, exhausts the stack of the scheduler thread and crashes the VM. The input must be large enough to reach that depth.\n\nThe abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-230",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply bytes to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e or \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e can abort the Erlang VM and stop every application on the node.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply bytes to `binary_to_term/1,2` or `enif_binary_to_term()` can abort the Erlang VM and stop every application on the node."
                    }
                  ],
                  "value": "An attacker who can supply bytes to binary_to_term/1,2 or enif_binary_to_term() can abort the Erlang VM and stop every application on the node."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-674",
                  "description": "CWE-674 Uncontrolled Recursion",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:09:37.711Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "binary_to_term of Incorrectly Encoded Funs Could Exhausts the VM Stack",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-8575-6vgw-5v3c"
            },
            {
              "name": "EEF CNA record for CVE-2026-117642",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-117642.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-117642",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-117642"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 30269e6 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/30269e60e42f7c8f19fa3a11c3ed0eba6cb9a076"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "binary_to_term Stack Exhaustion via Nested Funs in NEW_FUN_EXT and EXPORT_EXT Aborts the VM",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eDo not call \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\u003c/li\u003e\n\u003cli\u003eIf distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\u003c/li\u003e\n\u003cli\u003eUse alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the \u003ccode\u003e[safe]\u003c/code\u003e option to \u003ccode\u003ebinary_to_term/2\u003c/code\u003e does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* Do not call `binary_to_term/1,2` on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the `[safe]` option to `binary_to_term/2` does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
                }
              ],
              "value": "* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e (tag 112) term with a valid module atom and zero free variables.\u003c/li\u003e\n\u003cli\u003eIn place of the \u003ccode\u003eOldIndex\u003c/code\u003e field, which must be a small integer, encode another \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e term. Repeat this nesting until the chain is deep enough to exhaust the stack of a scheduler thread. The \u003ccode\u003eOldUniq\u003c/code\u003e field, or the \u003ccode\u003eArity\u003c/code\u003e field of an \u003ccode\u003eEXPORT_EXT\u003c/code\u003e (tag 113), can carry the nested fun instead.\u003c/li\u003e\n\u003cli\u003ePrefix the result with the version byte 131 and call \u003ccode\u003ebinary_to_term/1\u003c/code\u003e, or \u003ccode\u003ebinary_to_term/2\u003c/code\u003e with \u003ccode\u003e[safe]\u003c/code\u003e, on it.\u003c/li\u003e\n\u003cli\u003eThe VM aborts from stack exhaustion instead of raising \u003ccode\u003ebadarg\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a `NEW_FUN_EXT` (tag 112) term with a valid module atom and zero free variables.\n2. In place of the `OldIndex` field, which must be a small integer, encode another `NEW_FUN_EXT` term. Repeat this nesting until the chain is deep enough to exhaust the stack of a scheduler thread. The `OldUniq` field, or the `Arity` field of an `EXPORT_EXT` (tag 113), can carry the nested fun instead.\n3. Prefix the result with the version byte 131 and call `binary_to_term/1`, or `binary_to_term/2` with `[safe]`, on it.\n4. The VM aborts from stack exhaustion instead of raising `badarg`."
                }
              ],
              "value": "* Build a NEW_FUN_EXT (tag 112) term with a valid module atom and zero free variables.\n* In place of the OldIndex field, which must be a small integer, encode another NEW_FUN_EXT term. Repeat this nesting until the chain is deep enough to exhaust the stack of a scheduler thread. The OldUniq field, or the Arity field of an EXPORT_EXT (tag 113), can carry the nested fun instead.\n* Prefix the result with the version byte 131 and call binary_to_term/1, or binary_to_term/2 with [safe], on it.\n* The VM aborts from stack exhaustion instead of raising badarg."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Iterative decoder.\u003c/strong\u003e \u003ccode\u003edec_term\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e walks the external term format with an explicit work list, so nested tuples, lists and maps do not grow the C stack. \u003ccode\u003edecoded_size\u003c/code\u003e runs first and sizes the input the same way.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Recursive integer fields.\u003c/strong\u003e Two tags break that pattern. For \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e (112), \u003ccode\u003edec_term\u003c/code\u003e reads the \u003ccode\u003eOldIndex\u003c/code\u003e and \u003ccode\u003eOldUniq\u003c/code\u003e fields by calling itself and checks \u003ccode\u003eis_small\u003c/code\u003e on the result afterwards. For \u003ccode\u003eEXPORT_EXT\u003c/code\u003e (113), it reads the \u003ccode\u003eArity\u003c/code\u003e field the same way. On current release lines the discarded creator pid of \u003ccode\u003eNEW_FUN_EXT\u003c/code\u003e is also read by a recursive call. The recursive call accepts any term, so a fun placed in one of these fields is decoded as a fun, and its own integer fields recurse again.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Stack exhaustion.\u003c/strong\u003e Each nesting level costs one \u003ccode\u003edec_term\u003c/code\u003e frame on the scheduler thread\u0027s stack. \u003ccode\u003edecoded_size\u003c/code\u003e accepts the input because it only counts terms and heap words. An input nested deeply enough overflows the stack before any \u003ccode\u003eis_small\u003c/code\u003e check fails, and the VM aborts. The depth needed depends on the stack size of the thread, so the input must be correspondingly large.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Fix.\u003c/strong\u003e The fix decodes these fields with a dedicated \u003ccode\u003edec_int32\u003c/code\u003e that accepts only \u003ccode\u003eSMALL_INTEGER_EXT\u003c/code\u003e and \u003ccode\u003eINTEGER_EXT\u003c/code\u003e, and decodes the creator pid through \u003ccode\u003edec_pid\u003c/code\u003e, leaving no recursive call to \u003ccode\u003edec_term\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Iterative decoder.** `dec_term` in `erts/emulator/beam/external.c` walks the external term format with an explicit work list, so nested tuples, lists and maps do not grow the C stack. `decoded_size` runs first and sizes the input the same way.\n\n**2. Recursive integer fields.** Two tags break that pattern. For `NEW_FUN_EXT` (112), `dec_term` reads the `OldIndex` and `OldUniq` fields by calling itself and checks `is_small` on the result afterwards. For `EXPORT_EXT` (113), it reads the `Arity` field the same way. On current release lines the discarded creator pid of `NEW_FUN_EXT` is also read by a recursive call. The recursive call accepts any term, so a fun placed in one of these fields is decoded as a fun, and its own integer fields recurse again.\n\n**3. Stack exhaustion.** Each nesting level costs one `dec_term` frame on the scheduler thread\u0027s stack. `decoded_size` accepts the input because it only counts terms and heap words. An input nested deeply enough overflows the stack before any `is_small` check fails, and the VM aborts. The depth needed depends on the stack size of the thread, so the input must be correspondingly large.\n\n**4. Fix.** The fix decodes these fields with a dedicated `dec_int32` that accepts only `SMALL_INTEGER_EXT` and `INTEGER_EXT`, and decodes the creator pid through `dec_pid`, leaving no recursive call to `dec_term`."
                }
              ],
              "value": "1. Iterative decoder. dec_term in erts/emulator/beam/external.c walks the external term format with an explicit work list, so nested tuples, lists and maps do not grow the C stack. decoded_size runs first and sizes the input the same way.\n\n2. Recursive integer fields. Two tags break that pattern. For NEW_FUN_EXT (112), dec_term reads the OldIndex and OldUniq fields by calling itself and checks is_small on the result afterwards. For EXPORT_EXT (113), it reads the Arity field the same way. On current release lines the discarded creator pid of NEW_FUN_EXT is also read by a recursive call. The recursive call accepts any term, so a fun placed in one of these fields is decoded as a fun, and its own integer fields recurse again.\n\n3. Stack exhaustion. Each nesting level costs one dec_term frame on the scheduler thread\u0027s stack. decoded_size accepts the input because it only counts terms and heap words. An input nested deeply enough overflows the stack before any is_small check fails, and the VM aborts. The depth needed depends on the stack size of the thread, so the input must be correspondingly large.\n\n4. Fix. The fix decodes these fields with a dedicated dec_int32 that accepts only SMALL_INTEGER_EXT and INTEGER_EXT, and decodes the creator pid through dec_pid, leaving no recursive call to dec_term."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-117642",
        "datePublished": "2026-11-24T15:09:37.711Z",
        "dateReserved": "2026-11-09T22:45:23.138Z",
        "dateUpdated": "2026-12-01T16:48:24.461Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116293 (GCVE-0-2026-116293)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:08 – Updated: 2026-12-01 16:48
    VLAI
    Title
    binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM
    Summary
    Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a NEWER_REFERENCE_EXT term with a zero-length ID. decoded_size in erts/emulator/beam/external.c accepts a reference whose 16-bit Len field is zero, but dec_term always reads one ID word. dec_term then runs 4 bytes ahead of the position that decoded_size validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap. The abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. NEW_REFERENCE_EXT also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-787 - Out-of-bounds Write
    • CWE-125 - Out-of-bounds Read
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 6.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < e5a9d3d141b8b5609803c3b78c8b420cd294ca82 (git)
    Unaffected: e5a9d3d141b8b5609803c3b78c8b420cd294ca82 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:08
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116293",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:38.265984Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:39.377Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "packageName": "erts",
              "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "15.2.7.15",
                      "status": "unaffected"
                    },
                    {
                      "at": "16.4.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "17.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "6.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "e5a9d3d141b8b5609803c3b78c8b420cd294ca82",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "e5a9d3d141b8b5609803c3b78c8b420cd294ca82",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Sungho Park"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Sungho Park"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Anderton Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Sverker Eriksson"
            }
          ],
          "dateAssigned": "2026-10-28T15:30:45.000Z",
          "datePublic": "2026-11-24T15:08:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOut-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e to abort the Erlang VM via a \u003ccode\u003eNEWER_REFERENCE_EXT\u003c/code\u003e term with a zero-length ID. \u003ccode\u003edecoded_size\u003c/code\u003e in \u003ccode\u003eerts/emulator/beam/external.c\u003c/code\u003e accepts a reference whose 16-bit \u003ccode\u003eLen\u003c/code\u003e field is zero, but \u003ccode\u003edec_term\u003c/code\u003e always reads one ID word. \u003ccode\u003edec_term\u003c/code\u003e then runs 4 bytes ahead of the position that \u003ccode\u003edecoded_size\u003c/code\u003e validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.\u003c/p\u003e\n\u003cp\u003eThe abort takes down every process on the node. Supervision, \u003ccode\u003etry\u003c/code\u003e/\u003ccode\u003ecatch\u003c/code\u003e and the \u003ccode\u003esafe\u003c/code\u003e option do not prevent it. \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. \u003ccode\u003eNEW_REFERENCE_EXT\u003c/code\u003e also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to erts before 6.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to `binary_to_term/1,2` to abort the Erlang VM via a `NEWER_REFERENCE_EXT` term with a zero-length ID. `decoded_size` in `erts/emulator/beam/external.c` accepts a reference whose 16-bit `Len` field is zero, but `dec_term` always reads one ID word. `dec_term` then runs 4 bytes ahead of the position that `decoded_size` validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.\n\nThe abort takes down every process on the node. Supervision, `try`/`catch` and the `safe` option do not prevent it. `enif_binary_to_term()` and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. `NEW_REFERENCE_EXT` also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
                }
              ],
              "value": "Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a NEWER_REFERENCE_EXT term with a zero-length ID. decoded_size in erts/emulator/beam/external.c accepts a reference whose 16-bit Len field is zero, but dec_term always reads one ID word. dec_term then runs 4 bytes ahead of the position that decoded_size validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.\n\nThe abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. NEW_REFERENCE_EXT also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP\u00a017.0, corresponding to erts before 6.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-100",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply bytes to \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e or \u003ccode\u003eenif_binary_to_term()\u003c/code\u003e can abort the Erlang VM and stop every application on the node.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply bytes to `binary_to_term/1,2` or `enif_binary_to_term()` can abort the Erlang VM and stop every application on the node."
                    }
                  ],
                  "value": "An attacker who can supply bytes to binary_to_term/1,2 or enif_binary_to_term() can abort the Erlang VM and stop every application on the node."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-1284",
                  "description": "CWE-1284 Improper Validation of Specified Quantity in Input",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-787",
                  "description": "CWE-787 Out-of-bounds Write",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-125",
                  "description": "CWE-125 Out-of-bounds Read",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:08:20.708Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-6qhv-446c-985v"
            },
            {
              "name": "EEF CNA record for CVE-2026-116293",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116293.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116293",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116293"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit e5a9d3d in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/e5a9d3d141b8b5609803c3b78c8b420cd294ca82"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eDo not call \u003ccode\u003ebinary_to_term/1,2\u003c/code\u003e on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\u003c/li\u003e\n\u003cli\u003eIf distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\u003c/li\u003e\n\u003cli\u003eUse alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the \u003ccode\u003e[safe]\u003c/code\u003e option to \u003ccode\u003ebinary_to_term/2\u003c/code\u003e does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* Do not call `binary_to_term/1,2` on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input.\nNote: the `[safe]` option to `binary_to_term/2` does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
                }
              ],
              "value": "* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a \u003ccode\u003eNEWER_REFERENCE_EXT\u003c/code\u003e (tag 90) with \u003ccode\u003eLen\u003c/code\u003e 0, the node atom \u003ccode\u003enonode@nohost\u003c/code\u003e as \u003ccode\u003eSMALL_ATOM_UTF8_EXT\u003c/code\u003e, and a 4-byte creation for another node, for example 1.\u003c/li\u003e\n\u003cli\u003eBuild a \u003ccode\u003eBINARY_EXT\u003c/code\u003e (tag 109) whose payload starts with a 32-bit arity N, followed by N \u003ccode\u003eSMALL_INTEGER_EXT\u003c/code\u003e elements. Pad the payload so that the low byte of the 32-bit binary length is 105 (\u003ccode\u003eLARGE_TUPLE_EXT\u003c/code\u003e).\u003c/li\u003e\n\u003cli\u003eWrap both in a two-element \u003ccode\u003eSMALL_TUPLE_EXT\u003c/code\u003e after the version byte 131. With N = 40 the input is 391 bytes.\u003c/li\u003e\n\u003cli\u003eCall \u003ccode\u003ebinary_to_term/1\u003c/code\u003e, or \u003ccode\u003ebinary_to_term/2\u003c/code\u003e with \u003ccode\u003e[safe]\u003c/code\u003e, on the input. The VM aborts with \u003ccode\u003eheap overrun by 33 words(s)\u003c/code\u003e instead of raising \u003ccode\u003ebadarg\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a `NEWER_REFERENCE_EXT` (tag 90) with `Len` 0, the node atom `nonode@nohost` as `SMALL_ATOM_UTF8_EXT`, and a 4-byte creation for another node, for example 1.\n2. Build a `BINARY_EXT` (tag 109) whose payload starts with a 32-bit arity N, followed by N `SMALL_INTEGER_EXT` elements. Pad the payload so that the low byte of the 32-bit binary length is 105 (`LARGE_TUPLE_EXT`).\n3. Wrap both in a two-element `SMALL_TUPLE_EXT` after the version byte 131. With N = 40 the input is 391 bytes.\n4. Call `binary_to_term/1`, or `binary_to_term/2` with `[safe]`, on the input. The VM aborts with `heap overrun by 33 words(s)` instead of raising `badarg`."
                }
              ],
              "value": "* Build a NEWER_REFERENCE_EXT (tag 90) with Len 0, the node atom nonode@nohost as SMALL_ATOM_UTF8_EXT, and a 4-byte creation for another node, for example 1.\n* Build a BINARY_EXT (tag 109) whose payload starts with a 32-bit arity N, followed by N SMALL_INTEGER_EXT elements. Pad the payload so that the low byte of the 32-bit binary length is 105 (LARGE_TUPLE_EXT).\n* Wrap both in a two-element SMALL_TUPLE_EXT after the version byte 131. With N = 40 the input is 391 bytes.\n* Call binary_to_term/1, or binary_to_term/2 with [safe], on the input. The VM aborts with heap overrun by 33 words(s) instead of raising badarg."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Size pass.\u003c/strong\u003e \u003ccode\u003ebinary_to_term_int\u003c/code\u003e first calls \u003ccode\u003edecoded_size\u003c/code\u003e to reserve the process heap. For \u003ccode\u003eNEWER_REFERENCE_EXT\u003c/code\u003e, \u003ccode\u003edecoded_size\u003c/code\u003e rejects an ID-word count above \u003ccode\u003eERTS_MAX_REF_NUMBERS\u003c/code\u003e but not a count of zero. With \u003ccode\u003eLen\u003c/code\u003e 0 it skips the tag, the length, the node atom and the 4-byte creation, and no ID bytes.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Decode pass.\u003c/strong\u003e \u003ccode\u003edec_term\u003c/code\u003e reads \u003ccode\u003eLen\u003c/code\u003e, the node atom and the creation, then reads the first ID word \u003ccode\u003er0\u003c/code\u003e without checking \u003ccode\u003eLen\u003c/code\u003e. From here \u003ccode\u003edec_term\u003c/code\u003e is 4 bytes ahead of the position \u003ccode\u003edecoded_size\u003c/code\u003e validated.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Heap overrun.\u003c/strong\u003e In the reported input, the reference is followed by a \u003ccode\u003eBINARY_EXT\u003c/code\u003e. \u003ccode\u003edecoded_size\u003c/code\u003e treats the binary payload as opaque bytes. The shifted \u003ccode\u003edec_term\u003c/code\u003e consumes the binary tag and the top three length bytes as \u003ccode\u003er0\u003c/code\u003e, reads the low length byte (105, \u003ccode\u003eLARGE_TUPLE_EXT\u003c/code\u003e) as the next tag, and builds a tuple from the payload. The tuple-build loop stores past the heap that was reserved for a reference and a binary.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Abort.\u003c/strong\u003e After \u003ccode\u003edec_term\u003c/code\u003e returns, \u003ccode\u003ebinary_to_term_int\u003c/code\u003e compares the heap pointer with the reserved end and calls \u003ccode\u003eerts_exit\u003c/code\u003e with \u003ccode\u003eheap overrun\u003c/code\u003e. That check runs after the out-of-bounds stores. Larger inputs can fault with SIGSEGV first.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u003ccode\u003eNEW_REFERENCE_EXT\u003c/code\u003e.\u003c/strong\u003e Tag 114 also accepts \u003ccode\u003eLen\u003c/code\u003e 0, but \u003ccode\u003edec_term\u003c/code\u003e rejects \u003ccode\u003er0 \u0026gt;= MAX_REFERENCE\u003c/code\u003e for that tag. A shifted \u003ccode\u003er0\u003c/code\u003e begins with a term tag byte, so the input fails with \u003ccode\u003ebadarg\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Size pass.** `binary_to_term_int` first calls `decoded_size` to reserve the process heap. For `NEWER_REFERENCE_EXT`, `decoded_size` rejects an ID-word count above `ERTS_MAX_REF_NUMBERS` but not a count of zero. With `Len` 0 it skips the tag, the length, the node atom and the 4-byte creation, and no ID bytes.\n\n**2. Decode pass.** `dec_term` reads `Len`, the node atom and the creation, then reads the first ID word `r0` without checking `Len`. From here `dec_term` is 4 bytes ahead of the position `decoded_size` validated.\n\n**3. Heap overrun.** In the reported input, the reference is followed by a `BINARY_EXT`. `decoded_size` treats the binary payload as opaque bytes. The shifted `dec_term` consumes the binary tag and the top three length bytes as `r0`, reads the low length byte (105, `LARGE_TUPLE_EXT`) as the next tag, and builds a tuple from the payload. The tuple-build loop stores past the heap that was reserved for a reference and a binary.\n\n**4. Abort.** After `dec_term` returns, `binary_to_term_int` compares the heap pointer with the reserved end and calls `erts_exit` with `heap overrun`. That check runs after the out-of-bounds stores. Larger inputs can fault with SIGSEGV first.\n\n**`NEW_REFERENCE_EXT`.** Tag 114 also accepts `Len` 0, but `dec_term` rejects `r0 \u003e= MAX_REFERENCE` for that tag. A shifted `r0` begins with a term tag byte, so the input fails with `badarg`."
                }
              ],
              "value": "1. Size pass. binary_to_term_int first calls decoded_size to reserve the process heap. For NEWER_REFERENCE_EXT, decoded_size rejects an ID-word count above ERTS_MAX_REF_NUMBERS but not a count of zero. With Len 0 it skips the tag, the length, the node atom and the 4-byte creation, and no ID bytes.\n\n2. Decode pass. dec_term reads Len, the node atom and the creation, then reads the first ID word r0 without checking Len. From here dec_term is 4 bytes ahead of the position decoded_size validated.\n\n3. Heap overrun. In the reported input, the reference is followed by a BINARY_EXT. decoded_size treats the binary payload as opaque bytes. The shifted dec_term consumes the binary tag and the top three length bytes as r0, reads the low length byte (105, LARGE_TUPLE_EXT) as the next tag, and builds a tuple from the payload. The tuple-build loop stores past the heap that was reserved for a reference and a binary.\n\n4. Abort. After dec_term returns, binary_to_term_int compares the heap pointer with the reserved end and calls erts_exit with heap overrun. That check runs after the out-of-bounds stores. Larger inputs can fault with SIGSEGV first.\n\nNEW_REFERENCE_EXT. Tag 114 also accepts Len 0, but dec_term rejects r0 \u003e= MAX_REFERENCE for that tag. A shifted r0 begins with a term tag byte, so the input fails with badarg."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116293",
        "datePublished": "2026-11-24T15:08:20.708Z",
        "dateReserved": "2026-10-26T09:45:01.452Z",
        "dateUpdated": "2026-12-01T16:48:39.377Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116225 (GCVE-0-2026-116225)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:07 – Updated: 2026-12-01 17:53
    VLAI
    Title
    Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding
    Summary
    Improper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier. snmp_pdus:dec_oid_element/3 does not limit the number of base-128 octets in a sub-identifier, and snmp_pdus:dec_oid_elements/3 does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (snmpa_net_if or snmpm_net_if). That process does not read the next datagram until decoding completes. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP 17.0, corresponding to snmp before 4.25.1, is affected is unknown.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 17:52 UTC
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 4.25.1 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < * (git)
    Unaffected: 6f8c1044d17bfaa9112bf3cd471cec0d61e146ca , < * (git)
    Unaffected: 8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f , < * (git)
    Unaffected: a1bfce6a034b5cbb17f85b3eea2f601c7a691805 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:07
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116225",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T17:52:44.344178Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T17:53:31.622Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "snmp_pdus"
              ],
              "packageName": "snmp",
              "packageURL": "pkg:otp/snmp?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/misc/snmp_pdus.erl"
              ],
              "programRoutines": [
                {
                  "name": "snmp_pdus:dec_oid_element/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_elements/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_notag/1"
                },
                {
                  "name": "snmp_pdus:dec_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_scoped_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_message/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "5.18.2.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.20.2.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.20.7",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "4.25.1",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "snmp_pdus"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/snmp/src/misc/snmp_pdus.erl"
              ],
              "programRoutines": [
                {
                  "name": "snmp_pdus:dec_oid_element/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_elements/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_notag/1"
                },
                {
                  "name": "snmp_pdus:dec_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_scoped_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_message/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "snmp_pdus"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/snmp/src/misc/snmp_pdus.erl"
              ],
              "programRoutines": [
                {
                  "name": "snmp_pdus:dec_oid_element/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_elements/3"
                },
                {
                  "name": "snmp_pdus:dec_oid_notag/1"
                },
                {
                  "name": "snmp_pdus:dec_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_scoped_pdu/1"
                },
                {
                  "name": "snmp_pdus:dec_message/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "6f8c1044d17bfaa9112bf3cd471cec0d61e146ca",
                      "status": "unaffected"
                    },
                    {
                      "at": "8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f",
                      "status": "unaffected"
                    },
                    {
                      "at": "a1bfce6a034b5cbb17f85b3eea2f601c7a691805",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "6f8c1044d17bfaa9112bf3cd471cec0d61e146ca",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "a1bfce6a034b5cbb17f85b3eea2f601c7a691805",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Konrad Pietrzak"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Anderton Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Konrad Pietrzak"
            }
          ],
          "dateAssigned": "2026-10-28T15:16:56.000Z",
          "datePublic": "2026-11-24T15:07:27.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003esnmp_pdus:dec_oid_element/3\u003c/code\u003e does not limit the number of base-128 octets in a sub-identifier, and \u003ccode\u003esnmp_pdus:dec_oid_elements/3\u003c/code\u003e does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (\u003ccode\u003esnmpa_net_if\u003c/code\u003e or \u003ccode\u003esnmpm_net_if\u003c/code\u003e). That process does not read the next datagram until decoding completes.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP\u0026nbsp;17.0, corresponding to snmp before 4.25.1, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier.\n\n`snmp_pdus:dec_oid_element/3` does not limit the number of base-128 octets in a sub-identifier, and `snmp_pdus:dec_oid_elements/3` does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (`snmpa_net_if` or `snmpm_net_if`). That process does not read the next datagram until decoding completes.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP\u00a017.0, corresponding to snmp before 4.25.1, is affected is unknown."
                }
              ],
              "value": "Improper Validation of Specified Quantity in Input vulnerability in the BER decoder in Erlang/OTP snmp allows an unauthenticated remote attacker to exhaust CPU via an SNMP message that contains an OBJECT IDENTIFIER with a very long sub-identifier.\n\nsnmp_pdus:dec_oid_element/3 does not limit the number of base-128 octets in a sub-identifier, and snmp_pdus:dec_oid_elements/3 does not limit the number of sub-identifiers, so one sub-identifier can span the whole datagram. When the value exceeds the native integer size, each further octet copies a growing bignum, and decoding time grows quadratically with the sub-identifier length. The agent and the manager decode OIDs before they check community strings or SNMPv3 credentials, inside the single network interface process (snmpa_net_if or snmpm_net_if). That process does not read the next datagram until decoding completes.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to snmp from 4.25.1 before 5.18.2.3, 5.20.2.4, and 5.20.7. Whether OTP before OTP\u00a017.0, corresponding to snmp before 4.25.1, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-231",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn unauthenticated remote attacker who can send UDP datagrams to an SNMP agent or manager can keep its network interface process busy with a low rate of crafted messages. The agent or manager then stops processing legitimate SNMP traffic while the attack continues.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An unauthenticated remote attacker who can send UDP datagrams to an SNMP agent or manager can keep its network interface process busy with a low rate of crafted messages. The agent or manager then stops processing legitimate SNMP traffic while the attack continues."
                    }
                  ],
                  "value": "An unauthenticated remote attacker who can send UDP datagrams to an SNMP agent or manager can keep its network interface process busy with a low rate of crafted messages. The agent or manager then stops processing legitimate SNMP traffic while the attack continues."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-1284",
                  "description": "CWE-1284 Improper Validation of Specified Quantity in Input",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            },
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:07:29.123Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-9p2q-5p4x-rhpq"
            },
            {
              "name": "EEF CNA record for CVE-2026-116225",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116225.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116225",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116225"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 6f8c104 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/6f8c1044d17bfaa9112bf3cd471cec0d61e146ca"
            },
            {
              "name": "Fix commit 8c5cd9b in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/8c5cd9bc6b7a9c8fdea060b0cf19a4e4a069350f"
            },
            {
              "name": "Fix commit a1bfce6 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/a1bfce6a034b5cbb17f85b3eea2f601c7a691805"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Quadratic CPU Denial of Service in SNMP BER Object Identifier Sub-Identifier Decoding",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eRestrict network access to the SNMP agent and manager UDP ports to trusted management hosts only, using firewall rules or by binding the agent to a dedicated management interface. Disable SNMPv1 and SNMPv2c in the agent if they are not needed. This\nreduces, but does not eliminate, the exposure, since SNMPv3 discovery messages are still decoded before authentication.\u003c/p\u003e\n\u003cp\u003eNote that community strings and SNMPv3 credentials do not mitigate this issue, since decoding happens before they are checked.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Restrict network access to the SNMP agent and manager UDP ports to trusted management hosts only, using firewall rules or by binding the agent to a dedicated management interface. Disable SNMPv1 and SNMPv2c in the agent if they are not needed. This\nreduces, but does not eliminate, the exposure, since SNMPv3 discovery messages are still decoded before authentication.\n\nNote that community strings and SNMPv3 credentials do not mitigate this issue, since decoding happens before they are checked."
                }
              ],
              "value": "Restrict network access to the SNMP agent and manager UDP ports to trusted management hosts only, using firewall rules or by binding the agent to a dedicated management interface. Disable SNMPv1 and SNMPv2c in the agent if they are not needed. This reduces, but does not eliminate, the exposure, since SNMPv3 discovery messages are still decoded before authentication.\n\nNote that community strings and SNMPv3 credentials do not mitigate this issue, since decoding happens before they are checked."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116225",
        "datePublished": "2026-11-24T15:07:29.123Z",
        "dateReserved": "2026-10-25T17:30:02.219Z",
        "dateUpdated": "2026-12-01T17:53:31.622Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116382 (GCVE-0-2026-116382)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:05 – Updated: 2026-12-01 16:48
    VLAI
    Title
    Attacker-controlled ESI headers cause persistent atom-table growth in `inets`
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (httpd_script_env module) allows an unauthenticated remote attacker to exhaust the atom table of an httpd server that serves ESI scripts. When mod_esi builds the environment for an ESI callback, httpd_script_env:http_env_element/3 checks that a request header name already exists as an atom, then creates the atom http_<header-name> with list_to_atom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates http_node, a header named http_node creates http_http_node, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (+t), and then the whole Erlang VM aborts, together with every application on the node. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 5.10 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < 5c5c8c038ae7044368bc7bc1eedea09d77a3047a (git)
    Unaffected: 5c5c8c038ae7044368bc7bc1eedea09d77a3047a , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:05
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116382",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:42.518927Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:48:54.343Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "httpd_script_env",
                "mod_esi"
              ],
              "packageName": "inets",
              "packageURL": "pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/http_server/httpd_script_env.erl",
                "src/http_server/mod_esi.erl"
              ],
              "programRoutines": [
                {
                  "name": "httpd_script_env:http_env_element/3"
                },
                {
                  "name": "httpd_script_env:create_env/3"
                },
                {
                  "name": "mod_esi:do/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "9.3.2.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.6.2.5",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.8.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.10",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "httpd_script_env",
                "mod_esi"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_server/httpd_script_env.erl",
                "lib/inets/src/http_server/mod_esi.erl"
              ],
              "programRoutines": [
                {
                  "name": "httpd_script_env:http_env_element/3"
                },
                {
                  "name": "httpd_script_env:create_env/3"
                },
                {
                  "name": "mod_esi:do/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "httpd_script_env",
                "mod_esi"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_server/httpd_script_env.erl",
                "lib/inets/src/http_server/mod_esi.erl"
              ],
              "programRoutines": [
                {
                  "name": "httpd_script_env:http_env_element/3"
                },
                {
                  "name": "httpd_script_env:create_env/3"
                },
                {
                  "name": "mod_esi:do/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "5c5c8c038ae7044368bc7bc1eedea09d77a3047a",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "5c5c8c038ae7044368bc7bc1eedea09d77a3047a",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOnly \u003ccode\u003ehttpd\u003c/code\u003e servers with at least one \u003ccode\u003eerl_script_alias\u003c/code\u003e configured are affected, and only for clients that can reach an ESI URL prefix. Where \u003ccode\u003emod_auth\u003c/code\u003e or \u003ccode\u003emod_security\u003c/code\u003e directory protection sits in front of \u003ccode\u003emod_esi\u003c/code\u003e, only authenticated clients can trigger the issue. CGI scripts served by \u003ccode\u003emod_cgi\u003c/code\u003e and the \u003ccode\u003ehttpc\u003c/code\u003e client are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Only `httpd` servers with at least one `erl_script_alias` configured are affected, and only for clients that can reach an ESI URL prefix. Where `mod_auth` or `mod_security` directory protection sits in front of `mod_esi`, only authenticated clients can trigger the issue. CGI scripts served by `mod_cgi` and the `httpc` client are not affected."
                }
              ],
              "value": "Only httpd servers with at least one erl_script_alias configured are affected, and only for clients that can reach an ESI URL prefix. Where mod_auth or mod_security directory protection sits in front of mod_esi, only authenticated clients can trigger the issue. CGI scripts served by mod_cgi and the httpc client are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "John Downey"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "John Downey"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-10-29T16:00:29.000Z",
          "datePublic": "2026-11-24T15:05:51.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (\u003ccode\u003ehttpd_script_env\u003c/code\u003e module) allows an unauthenticated remote attacker to exhaust the atom table of an \u003ccode\u003ehttpd\u003c/code\u003e server that serves ESI scripts.\u003c/p\u003e\n\u003cp\u003eWhen \u003ccode\u003emod_esi\u003c/code\u003e builds the environment for an ESI callback, \u003ccode\u003ehttpd_script_env:http_env_element/3\u003c/code\u003e checks that a request header name already exists as an atom, then creates the atom \u003ccode\u003ehttp_\u0026lt;header-name\u0026gt;\u003c/code\u003e with \u003ccode\u003elist_to_atom/1\u003c/code\u003e. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named \u003ccode\u003enode\u003c/code\u003e creates \u003ccode\u003ehttp_node\u003c/code\u003e, a header named \u003ccode\u003ehttp_node\u003c/code\u003e creates \u003ccode\u003ehttp_http_node\u003c/code\u003e, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (\u003ccode\u003e+t\u003c/code\u003e), and then the whole Erlang VM aborts, together with every application on the node.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (`httpd_script_env` module) allows an unauthenticated remote attacker to exhaust the atom table of an `httpd` server that serves ESI scripts.\n\nWhen `mod_esi` builds the environment for an ESI callback, `httpd_script_env:http_env_element/3` checks that a request header name already exists as an atom, then creates the atom `http_\u003cheader-name\u003e` with `list_to_atom/1`. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named `node` creates `http_node`, a header named `http_node` creates `http_http_node`, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (`+t`), and then the whole Erlang VM aborts, together with every application on the node.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP inets (httpd_script_env module) allows an unauthenticated remote attacker to exhaust the atom table of an httpd server that serves ESI scripts.\n\nWhen mod_esi builds the environment for an ESI callback, httpd_script_env:http_env_element/3 checks that a request header name already exists as an atom, then creates the atom http_\u003cheader-name\u003e with list_to_atom/1. Atoms are never garbage collected, and each new atom passes the existence check on a later request. So a header named node creates http_node, a header named http_node creates http_http_node, and so on. A stream of requests to any ESI URL grows the atom table until it reaches its limit (+t), and then the whole Erlang VM aborts, together with every application on the node.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn unauthenticated remote client can permanently grow the atom table of the node with ordinary HTTP requests. When the table reaches its limit, the Erlang VM aborts and takes down every application on the node, not only \u003ccode\u003ehttpd\u003c/code\u003e.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An unauthenticated remote client can permanently grow the atom table of the node with ordinary HTTP requests. When the table reaches its limit, the Erlang VM aborts and takes down every application on the node, not only `httpd`."
                    }
                  ],
                  "value": "An unauthenticated remote client can permanently grow the atom table of the node with ordinary HTTP requests. When the table reaches its limit, the Erlang VM aborts and takes down every application on the node, not only httpd."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:05:52.681Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "Attacker-controlled ESI headers cause persistent atom-table growth in `inets`",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-7fjc-wcvc-vp96"
            },
            {
              "name": "EEF CNA record for CVE-2026-116382",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116382.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116382",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116382"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 5c5c8c0 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/5c5c8c038ae7044368bc7bc1eedea09d77a3047a"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Attacker-controlled ESI headers cause persistent atom-table growth in `inets`",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eIf you do not need ESI, remove \u003ccode\u003eerl_script_alias\u003c/code\u003e from the \u003ccode\u003ehttpd\u003c/code\u003e configuration.\u003c/li\u003e\n\u003cli\u003eRestrict the ESI URL prefixes to trusted clients, for example with \u003ccode\u003emod_auth\u003c/code\u003e directory protection. Authenticated clients can still trigger the issue.\u003c/li\u003e\n\u003cli\u003ePut \u003ccode\u003ehttpd\u003c/code\u003e behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set \u003ccode\u003eproxy_pass_request_headers off\u003c/code\u003e and add one \u003ccode\u003eproxy_set_header\u003c/code\u003e for each allowed header.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "* If you do not need ESI, remove `erl_script_alias` from the `httpd` configuration.\n* Restrict the ESI URL prefixes to trusted clients, for example with `mod_auth` directory protection. Authenticated clients can still trigger the issue.\n* Put `httpd` behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set `proxy_pass_request_headers off` and add one `proxy_set_header` for each allowed header."
                }
              ],
              "value": "* If you do not need ESI, remove erl_script_alias from the httpd configuration.\n* Restrict the ESI URL prefixes to trusted clients, for example with mod_auth directory protection. Authenticated clients can still trigger the issue.\n* Put httpd behind a reverse proxy that forwards only an allowlist of standard request headers to the ESI URL prefixes. For nginx, set proxy_pass_request_headers off and add one proxy_set_header for each allowed header."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart \u003ccode\u003ehttpd\u003c/code\u003e with \u003ccode\u003e{erl_script_alias, {\"/esi\", [Mod]}}\u003c/code\u003e, where \u003ccode\u003eMod\u003c/code\u003e exports any ESI callback \u003ccode\u003efun/3\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eSend \u003ccode\u003eGET /esi/Mod:fun\u003c/code\u003e with a request header named \u003ccode\u003enode\u003c/code\u003e. The node now holds the atom \u003ccode\u003ehttp_node\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eSend the same request with a header named \u003ccode\u003ehttp_node\u003c/code\u003e. The node now holds \u003ccode\u003ehttp_http_node\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eRepeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start `httpd` with `{erl_script_alias, {\"/esi\", [Mod]}}`, where `Mod` exports any ESI callback `fun/3`.\n2. Send `GET /esi/Mod:fun` with a request header named `node`. The node now holds the atom `http_node`.\n3. Send the same request with a header named `http_node`. The node now holds `http_http_node`.\n4. Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM."
                }
              ],
              "value": "* Start httpd with {erl_script_alias, {\"/esi\", [Mod]}}, where Mod exports any ESI callback fun/3.\n* Send GET /esi/Mod:fun with a request header named node. The node now holds the atom http_node.\n* Send the same request with a header named http_node. The node now holds http_http_node.\n* Repeat with each new name. Each request adds an atom that persists, until the atom table limit aborts the VM."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116382",
        "datePublished": "2026-11-24T15:05:52.681Z",
        "dateReserved": "2026-10-28T13:15:01.637Z",
        "dateUpdated": "2026-12-01T16:48:54.343Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-116295 (GCVE-0-2026-116295)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:05 – Updated: 2026-12-01 16:49
    VLAI
    Title
    CRLF injection in httpc request headers
    Summary
    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') vulnerability in Erlang OTP inets (httpc module) allows HTTP Request Splitting. httpc writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path http_request:mk_key_value_str/2, and with the headers_as_is option httpc_request:http_headers/2, build each header line by plain concatenation of the name, ": ", the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to httpc:request/4,5 can add or override request headers, or append a second request on the same connection. Applications that pass only constant or validated header names and values are not affected. The request line is not affected, because uri_string rejects URLs that contain raw CR/LF. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP 17.0, corresponding to inets before 5.10, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:37 UTC
    CWE
    • CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 5.10 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < a3197fab19232e370d940cb187fa3201b2c9bd48 (git)
    Unaffected: a3197fab19232e370d940cb187fa3201b2c9bd48 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:05
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-116295",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:37:55.376511Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:49:09.920Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "http_request",
                "httpc_request",
                "httpc"
              ],
              "packageName": "inets",
              "packageURL": "pkg:otp/inets?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/http_lib/http_request.erl",
                "src/http_client/httpc_request.erl",
                "src/http_client/httpc.erl"
              ],
              "programRoutines": [
                {
                  "name": "http_request:http_headers/1"
                },
                {
                  "name": "http_request:mk_key_value_str/2"
                },
                {
                  "name": "httpc_request:http_headers/2"
                },
                {
                  "name": "httpc:request/4"
                },
                {
                  "name": "httpc:request/5"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "9.3.2.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.6.2.5",
                      "status": "unaffected"
                    },
                    {
                      "at": "9.8.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5.10",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "http_request",
                "httpc_request",
                "httpc"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_lib/http_request.erl",
                "lib/inets/src/http_client/httpc_request.erl",
                "lib/inets/src/http_client/httpc.erl"
              ],
              "programRoutines": [
                {
                  "name": "http_request:http_headers/1"
                },
                {
                  "name": "http_request:mk_key_value_str/2"
                },
                {
                  "name": "httpc_request:http_headers/2"
                },
                {
                  "name": "httpc:request/4"
                },
                {
                  "name": "httpc:request/5"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "http_request",
                "httpc_request",
                "httpc"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/inets/src/http_lib/http_request.erl",
                "lib/inets/src/http_client/httpc_request.erl",
                "lib/inets/src/http_client/httpc.erl"
              ],
              "programRoutines": [
                {
                  "name": "http_request:http_headers/1"
                },
                {
                  "name": "http_request:mk_key_value_str/2"
                },
                {
                  "name": "httpc_request:http_headers/2"
                },
                {
                  "name": "httpc:request/4"
                },
                {
                  "name": "httpc:request/5"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "a3197fab19232e370d940cb187fa3201b2c9bd48",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "a3197fab19232e370d940cb187fa3201b2c9bd48",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "ts-klassen"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "ts-klassen"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            }
          ],
          "dateAssigned": "2026-10-29T15:51:17.000Z",
          "datePublic": "2026-11-24T15:05:04.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in Erlang OTP inets (\u003ccode\u003ehttpc\u003c/code\u003e module) allows HTTP Request Splitting.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003ehttpc\u003c/code\u003e writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path \u003ccode\u003ehttp_request:mk_key_value_str/2\u003c/code\u003e, and with the \u003ccode\u003eheaders_as_is\u003c/code\u003e option \u003ccode\u003ehttpc_request:http_headers/2\u003c/code\u003e, build each header line by plain concatenation of the name, \u003ccode\u003e\": \"\u003c/code\u003e, the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to \u003ccode\u003ehttpc:request/4,5\u003c/code\u003e can add or override request headers, or append a second request on the same connection.\u003c/p\u003e\n\u003cp\u003eApplications that pass only constant or validated header names and values are not affected. The request line is not affected, because \u003ccode\u003euri_string\u003c/code\u003e rejects URLs that contain raw CR/LF.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to inets before 5.10, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in Erlang OTP inets (`httpc` module) allows HTTP Request Splitting.\n\n`httpc` writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path `http_request:mk_key_value_str/2`, and with the `headers_as_is` option `httpc_request:http_headers/2`, build each header line by plain concatenation of the name, `\": \"`, the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to `httpc:request/4,5` can add or override request headers, or append a second request on the same connection.\n\nApplications that pass only constant or validated header names and values are not affected. The request line is not affected, because `uri_string` rejects URLs that contain raw CR/LF.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
                }
              ],
              "value": "Improper Neutralization of CRLF Sequences in HTTP Headers (\u0027HTTP Request/Response Splitting\u0027) vulnerability in Erlang OTP inets (httpc module) allows HTTP Request Splitting.\n\nhttpc writes request header names and values to the wire without neutralizing CR, LF or NUL characters. On the default path http_request:mk_key_value_str/2, and with the headers_as_is option httpc_request:http_headers/2, build each header line by plain concatenation of the name, \": \", the value and CRLF. A CR/LF in a name or value ends the header line early. An attacker who controls data that an application puts into a header passed to httpc:request/4,5 can add or override request headers, or append a second request on the same connection.\n\nApplications that pass only constant or validated header names and values are not affected. The request line is not affected, because uri_string rejects URLs that contain raw CR/LF.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to inets from 5.10 before 9.3.2.9, 9.6.2.5, and 9.8.2. Whether OTP before OTP\u00a017.0, corresponding to inets before 5.10, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-105",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who controls data in a request header can add or override headers such as \u003ccode\u003eAuthorization\u003c/code\u003e, \u003ccode\u003eCookie\u003c/code\u003e, \u003ccode\u003eHost\u003c/code\u003e or \u003ccode\u003eX-Forwarded-For\u003c/code\u003e, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who controls data in a request header can add or override headers such as `Authorization`, `Cookie`, `Host` or `X-Forwarded-For`, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened."
                    }
                  ],
                  "value": "An attacker who controls data in a request header can add or override headers such as Authorization, Cookie, Host or X-Forwarded-For, which may affect authentication, routing or caching decisions on the target server or on intermediaries. With an empty line, the attacker can send a second, attacker-chosen request to the target server over the connection that the application opened."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "LOCAL",
                "baseScore": 2.1,
                "baseSeverity": "LOW",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "LOW",
                "subIntegrityImpact": "LOW",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-113",
                  "description": "CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:05:06.420Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "CRLF injection in httpc request headers",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-84cc-vh37-jqpf"
            },
            {
              "name": "EEF CNA record for CVE-2026-116295",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-116295.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-116295",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-116295"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit a3197fa in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/a3197fab19232e370d940cb187fa3201b2c9bd48"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "CRLF injection in httpc request headers",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eValidate request header names and values before you pass them to \u003ccode\u003ehttpc:request/4,5\u003c/code\u003e. Reject or replace any name or value that contains CR (\u003ccode\u003e\\r\u003c/code\u003e), LF (\u003ccode\u003e\\n\u003c/code\u003e) or NUL (\u003ccode\u003e\\0\u003c/code\u003e), and accept only header names made of RFC 9110 \u003ccode\u003etoken\u003c/code\u003e characters. Where the application forwards headers from another source, use a fixed allowlist of header names.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Validate request header names and values before you pass them to `httpc:request/4,5`. Reject or replace any name or value that contains CR (`\\r`), LF (`\\n`) or NUL (`\\0`), and accept only header names made of RFC 9110 `token` characters. Where the application forwards headers from another source, use a fixed allowlist of header names."
                }
              ],
              "value": "Validate request header names and values before you pass them to httpc:request/4,5. Reject or replace any name or value that contains CR (\\r), LF (\\n) or NUL (\\0), and accept only header names made of RFC 9110 token characters. Where the application forwards headers from another source, use a fixed allowlist of header names."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eStart a TCP listener that prints the bytes it receives, for example on \u003ccode\u003elocalhost:4444\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eCall \u003ccode\u003ehttpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], [])\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe listener receives three header lines (\u003ccode\u003ea: b\u003c/code\u003e, \u003ccode\u003ec: d\u003c/code\u003e, \u003ccode\u003ee: f\u003c/code\u003e) instead of one.\u003c/li\u003e\n\u003cli\u003eRepeat with \u003ccode\u003e[{headers_as_is, true}]\u003c/code\u003e as the fourth argument and an explicit \u003ccode\u003ehost\u003c/code\u003e header. The same three lines arrive.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Start a TCP listener that prints the bytes it receives, for example on `localhost:4444`.\n2. Call `httpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], [])`.\n3. The listener receives three header lines (`a: b`, `c: d`, `e: f`) instead of one.\n4. Repeat with `[{headers_as_is, true}]` as the fourth argument and an explicit `host` header. The same three lines arrive."
                }
              ],
              "value": "* Start a TCP listener that prints the bytes it receives, for example on localhost:4444.\n* Call httpc:request(get, {\"http://localhost:4444\", [{\"a: b\\r\\nc\", \"d\\r\\ne: f\"}]}, [], []).\n* The listener receives three header lines (a: b, c: d, e: f) instead of one.\n* Repeat with [{headers_as_is, true}] as the fourth argument and an explicit host header. The same three lines arrive."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-116295",
        "datePublished": "2026-11-24T15:05:06.420Z",
        "dateReserved": "2026-10-26T17:15:01.940Z",
        "dateUpdated": "2026-12-01T16:49:09.920Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-119443 (GCVE-0-2026-119443)

    Vulnerability from cvelistv5 – Published: 2026-11-24 15:02 – Updated: 2026-12-01 16:49
    VLAI
    Title
    XML Scan Untrusted DTD Which May Result in out of Memory Crash
    Summary
    Improper Restriction of XML External Entity Reference vulnerability in xmerl_scan in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD. With default options, xmerl_scan:string/1,2 and xmerl_scan:file/1,2 fetch and parse the external DTD named in a <!DOCTYPE root SYSTEM "..."> declaration. fetch_DTD/2 in lib/xmerl/src/xmerl_scan.erl passes every system identifier to the default fetch function, which maps file: and absolute URIs to local paths, and int_file_decl/3 then reads the whole file with file:read_file/1. This happens whether or not validation is enabled, and the allow_entities option, which is false by default since OTP 27, only governs <!ENTITY> declarations and does not stop the fetch. A document naming file:///dev/zero makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns. This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP 17.0, corresponding to xmerl before 1.3.7, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-12-01 16:38 UTC
    CWE
    • CWE-611 - Improper Restriction of XML External Entity Reference
    Assigner
    EEF CNA under the mitre root
    CNA scorecard A 97/100 over 379 records in the last 180 days details
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 1.3.7 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 17.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84adefa331c4159d432d22840663c38f155cd4c1 , < * (git)
    Unaffected: 4d5dc15b3ba923ad9d939c560749239289ba41f3 , < * (git)
    Unaffected: 6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-11-24 15:02
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-119443",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-12-01T16:38:03.289214Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-12-01T16:49:25.387Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "xmerl_scan"
              ],
              "packageName": "xmerl",
              "packageURL": "pkg:otp/xmerl?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/xmerl_scan.erl"
              ],
              "programRoutines": [
                {
                  "name": "xmerl_scan:string/1"
                },
                {
                  "name": "xmerl_scan:string/2"
                },
                {
                  "name": "xmerl_scan:file/1"
                },
                {
                  "name": "xmerl_scan:file/2"
                },
                {
                  "name": "xmerl_scan:fetch_DTD/2"
                },
                {
                  "name": "xmerl_scan:fetch_and_parse/3"
                },
                {
                  "name": "xmerl_scan:fetch_URI/2"
                },
                {
                  "name": "xmerl_scan:int_file_decl/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "2.1.3.4",
                      "status": "unaffected"
                    },
                    {
                      "at": "2.1.9.1",
                      "status": "unaffected"
                    },
                    {
                      "at": "2.2.1",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "1.3.7",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "xmerl_scan"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/xmerl/src/xmerl_scan.erl"
              ],
              "programRoutines": [
                {
                  "name": "xmerl_scan:string/1"
                },
                {
                  "name": "xmerl_scan:string/2"
                },
                {
                  "name": "xmerl_scan:file/1"
                },
                {
                  "name": "xmerl_scan:file/2"
                },
                {
                  "name": "xmerl_scan:fetch_DTD/2"
                },
                {
                  "name": "xmerl_scan:fetch_and_parse/3"
                },
                {
                  "name": "xmerl_scan:fetch_URI/2"
                },
                {
                  "name": "xmerl_scan:int_file_decl/3"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.20",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.9",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.3",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "17.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "xmerl_scan"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/xmerl/src/xmerl_scan.erl"
              ],
              "programRoutines": [
                {
                  "name": "xmerl_scan:string/1"
                },
                {
                  "name": "xmerl_scan:string/2"
                },
                {
                  "name": "xmerl_scan:file/1"
                },
                {
                  "name": "xmerl_scan:file/2"
                },
                {
                  "name": "xmerl_scan:fetch_DTD/2"
                },
                {
                  "name": "xmerl_scan:fetch_and_parse/3"
                },
                {
                  "name": "xmerl_scan:fetch_URI/2"
                },
                {
                  "name": "xmerl_scan:int_file_decl/3"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "4d5dc15b3ba923ad9d939c560749239289ba41f3",
                      "status": "unaffected"
                    },
                    {
                      "at": "6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "4d5dc15b3ba923ad9d939c560749239289ba41f3",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.20",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.9",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.3",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Neil Berkman / Xuku LLC"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Neil Berkman / Xuku LLC"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Ingela Andin"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lars Thors\u00e9n"
            }
          ],
          "dateAssigned": "2026-11-05T14:26:31.000Z",
          "datePublic": "2026-11-24T15:02:08.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Restriction of XML External Entity Reference vulnerability in \u003ccode\u003exmerl_scan\u003c/code\u003e in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD.\u003c/p\u003e\n\u003cp\u003eWith default options, \u003ccode\u003exmerl_scan:string/1,2\u003c/code\u003e and \u003ccode\u003exmerl_scan:file/1,2\u003c/code\u003e fetch and parse the external DTD named in a \u003ccode\u003e\u0026lt;!DOCTYPE root SYSTEM \"...\"\u0026gt;\u003c/code\u003e declaration. \u003ccode\u003efetch_DTD/2\u003c/code\u003e in \u003ccode\u003elib/xmerl/src/xmerl_scan.erl\u003c/code\u003e passes every system identifier to the default fetch function, which maps \u003ccode\u003efile:\u003c/code\u003e and absolute URIs to local paths, and \u003ccode\u003eint_file_decl/3\u003c/code\u003e then reads the whole file with \u003ccode\u003efile:read_file/1\u003c/code\u003e. This happens whether or not validation is enabled, and the \u003ccode\u003eallow_entities\u003c/code\u003e option, which is \u003ccode\u003efalse\u003c/code\u003e by default since OTP 27, only governs \u003ccode\u003e\u0026lt;!ENTITY\u0026gt;\u003c/code\u003e declarations and does not stop the fetch. A document naming \u003ccode\u003efile:///dev/zero\u003c/code\u003e makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.20, OTP\u0026nbsp;28.5.0.9, and OTP\u0026nbsp;29.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP\u0026nbsp;17.0, corresponding to xmerl before 1.3.7, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Restriction of XML External Entity Reference vulnerability in `xmerl_scan` in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD.\n\nWith default options, `xmerl_scan:string/1,2` and `xmerl_scan:file/1,2` fetch and parse the external DTD named in a `\u003c!DOCTYPE root SYSTEM \"...\"\u003e` declaration. `fetch_DTD/2` in `lib/xmerl/src/xmerl_scan.erl` passes every system identifier to the default fetch function, which maps `file:` and absolute URIs to local paths, and `int_file_decl/3` then reads the whole file with `file:read_file/1`. This happens whether or not validation is enabled, and the `allow_entities` option, which is `false` by default since OTP 27, only governs `\u003c!ENTITY\u003e` declarations and does not stop the fetch. A document naming `file:///dev/zero` makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP\u00a017.0, corresponding to xmerl before 1.3.7, is affected is unknown."
                }
              ],
              "value": "Improper Restriction of XML External Entity Reference vulnerability in xmerl_scan in Erlang OTP xmerl allows an attacker to exhaust the memory of the Erlang VM via an XML document that names an external DTD.\n\nWith default options, xmerl_scan:string/1,2 and xmerl_scan:file/1,2 fetch and parse the external DTD named in a \u003c!DOCTYPE root SYSTEM \"...\"\u003e declaration. fetch_DTD/2 in lib/xmerl/src/xmerl_scan.erl passes every system identifier to the default fetch function, which maps file: and absolute URIs to local paths, and int_file_decl/3 then reads the whole file with file:read_file/1. This happens whether or not validation is enabled, and the allow_entities option, which is false by default since OTP 27, only governs \u003c!ENTITY\u003e declarations and does not stop the fetch. A document naming file:///dev/zero makes the node read without bound until the operating system kills it for lack of memory, and the parse never returns.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.20, OTP\u00a028.5.0.9, and OTP\u00a029.1.3, corresponding to xmerl from 1.3.7 before 2.1.3.4, 2.1.9.1, and 2.2.1. Whether OTP before OTP\u00a017.0, corresponding to xmerl before 1.3.7, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-201",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can supply an XML document to an application that parses it with \u003ccode\u003exmerl_scan\u003c/code\u003e using default options makes the node read an unbounded local resource such as \u003ccode\u003e/dev/zero\u003c/code\u003e. The read exhausts memory and takes the node down for every user of the application.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can supply an XML document to an application that parses it with `xmerl_scan` using default options makes the node read an unbounded local resource such as `/dev/zero`. The read exhausts memory and takes the node down for every user of the application."
                    }
                  ],
                  "value": "An attacker who can supply an XML document to an application that parses it with xmerl_scan using default options makes the node read an unbounded local resource such as /dev/zero. The read exhausts memory and takes the node down for every user of the application."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "LOCAL",
                "baseScore": 6.9,
                "baseSeverity": "MEDIUM",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-611",
                  "description": "CWE-611 Improper Restriction of XML External Entity Reference",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-24T15:02:12.313Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "XML Scan Untrusted DTD Which May Result in out of Memory Crash",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-j6vp-frc3-9g33"
            },
            {
              "name": "EEF CNA record for CVE-2026-119443",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-119443.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-119443",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-119443"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 4d5dc15 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/4d5dc15b3ba923ad9d939c560749239289ba41f3"
            },
            {
              "name": "Fix commit 6723ad3 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/6723ad37c5ea8febb59b05e95f8d1343f2c2fb7d"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "XML Scan Untrusted DTD Which May Result in out of Memory Crash",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003ePass a \u003ccode\u003efetch_fun\u003c/code\u003e that refuses external resources in the option list of \u003ccode\u003exmerl_scan:string/2\u003c/code\u003e or \u003ccode\u003exmerl_scan:file/2\u003c/code\u003e, for example \u003ccode\u003e{fetch_fun, fun(_ExtSpec, State) -\u0026gt; {ok, not_fetched, State} end}\u003c/code\u003e. The scanner then continues without reading or parsing the external DTD.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Pass a `fetch_fun` that refuses external resources in the option list of `xmerl_scan:string/2` or `xmerl_scan:file/2`, for example `{fetch_fun, fun(_ExtSpec, State) -\u003e {ok, not_fetched, State} end}`. The scanner then continues without reading or parsing the external DTD."
                }
              ],
              "value": "Pass a fetch_fun that refuses external resources in the option list of xmerl_scan:string/2 or xmerl_scan:file/2, for example {fetch_fun, fun(_ExtSpec, State) -\u003e {ok, not_fetched, State} end}. The scanner then continues without reading or parsing the external DTD."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild an XML document whose DOCTYPE names an unbounded local resource, for example \u003ccode\u003e\u0026lt;?xml version=\"1.0\"?\u0026gt;\u0026lt;!DOCTYPE root SYSTEM \"file:///dev/zero\"\u0026gt;\u0026lt;root/\u0026gt;\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eParse it with \u003ccode\u003exmerl_scan:string/1\u003c/code\u003e with default options on a Unix host.\u003c/li\u003e\n\u003cli\u003eThe call never returns. The reporter observed binary memory reaching 8, 16, 32 and 64 GB within five seconds on OTP 29.1.2, after which the node was killed for lack of memory.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build an XML document whose DOCTYPE names an unbounded local resource, for example `\u003c?xml version=\"1.0\"?\u003e\u003c!DOCTYPE root SYSTEM \"file:///dev/zero\"\u003e\u003croot/\u003e`.\n2. Parse it with `xmerl_scan:string/1` with default options on a Unix host.\n3. The call never returns. The reporter observed binary memory reaching 8, 16, 32 and 64 GB within five seconds on OTP 29.1.2, after which the node was killed for lack of memory."
                }
              ],
              "value": "* Build an XML document whose DOCTYPE names an unbounded local resource, for example \u003c?xml version=\"1.0\"?\u003e\u003c!DOCTYPE root SYSTEM \"file:///dev/zero\"\u003e\u003croot/\u003e.\n* Parse it with xmerl_scan:string/1 with default options on a Unix host.\n* The call never returns. The reporter observed binary memory reaching 8, 16, 32 and 64 GB within five seconds on OTP 29.1.2, after which the node was killed for lack of memory."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. DOCTYPE handling.\u003c/strong\u003e \u003ccode\u003escan_doctype2/3\u003c/code\u003e and \u003ccode\u003escan_doctype3/3\u003c/code\u003e in \u003ccode\u003elib/xmerl/src/xmerl_scan.erl\u003c/code\u003e call \u003ccode\u003efetch_DTD/2\u003c/code\u003e once the \u003ccode\u003e\u0026lt;!DOCTYPE\u0026gt;\u003c/code\u003e declaration ends. \u003ccode\u003efetch_DTD/2\u003c/code\u003e has no clause that skips the fetch when validation is off (that clause is commented out), so every system identifier reaches \u003ccode\u003efetch_and_parse/3\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Default fetch.\u003c/strong\u003e \u003ccode\u003efetch_and_parse/3\u003c/code\u003e calls the scanner\u0027s \u003ccode\u003efetch_fun\u003c/code\u003e, which defaults to \u003ccode\u003efetch/2\u003c/code\u003e. Its helper \u003ccode\u003efetch_URI/2\u003c/code\u003e treats the identifier as a filename: a \u003ccode\u003efile:\u003c/code\u003e URI or an absolute path resolves to that local path, and a relative name resolves against \u003ccode\u003exmlbase\u003c/code\u003e. Only \u003ccode\u003ehttp:\u003c/code\u003e identifiers are left unread.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Unbounded read.\u003c/strong\u003e The returned \u003ccode\u003e{file, Path}\u003c/code\u003e goes to \u003ccode\u003eint_file_decl/3\u003c/code\u003e, which calls \u003ccode\u003efile:read_file/1\u003c/code\u003e on the path and converts the result to a list. \u003ccode\u003efile:read_file/1\u003c/code\u003e reads until end of file, so a device such as \u003ccode\u003e/dev/zero\u003c/code\u003e never returns and the binary heap grows until the operating system kills the VM. The \u003ccode\u003eallow_entities\u003c/code\u003e default of \u003ccode\u003efalse\u003c/code\u003e does not help: it only rejects \u003ccode\u003e\u0026lt;!ENTITY\u0026gt;\u003c/code\u003e declarations in \u003ccode\u003escan_markup_decl/2\u003c/code\u003e, which runs after the file has been read.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. DOCTYPE handling.** `scan_doctype2/3` and `scan_doctype3/3` in `lib/xmerl/src/xmerl_scan.erl` call `fetch_DTD/2` once the `\u003c!DOCTYPE\u003e` declaration ends. `fetch_DTD/2` has no clause that skips the fetch when validation is off (that clause is commented out), so every system identifier reaches `fetch_and_parse/3`.\n\n**2. Default fetch.** `fetch_and_parse/3` calls the scanner\u0027s `fetch_fun`, which defaults to `fetch/2`. Its helper `fetch_URI/2` treats the identifier as a filename: a `file:` URI or an absolute path resolves to that local path, and a relative name resolves against `xmlbase`. Only `http:` identifiers are left unread.\n\n**3. Unbounded read.** The returned `{file, Path}` goes to `int_file_decl/3`, which calls `file:read_file/1` on the path and converts the result to a list. `file:read_file/1` reads until end of file, so a device such as `/dev/zero` never returns and the binary heap grows until the operating system kills the VM. The `allow_entities` default of `false` does not help: it only rejects `\u003c!ENTITY\u003e` declarations in `scan_markup_decl/2`, which runs after the file has been read."
                }
              ],
              "value": "1. DOCTYPE handling. scan_doctype2/3 and scan_doctype3/3 in lib/xmerl/src/xmerl_scan.erl call fetch_DTD/2 once the \u003c!DOCTYPE\u003e declaration ends. fetch_DTD/2 has no clause that skips the fetch when validation is off (that clause is commented out), so every system identifier reaches fetch_and_parse/3.\n\n2. Default fetch. fetch_and_parse/3 calls the scanner\u0027s fetch_fun, which defaults to fetch/2. Its helper fetch_URI/2 treats the identifier as a filename: a file: URI or an absolute path resolves to that local path, and a relative name resolves against xmlbase. Only http: identifiers are left unread.\n\n3. Unbounded read. The returned {file, Path} goes to int_file_decl/3, which calls file:read_file/1 on the path and converts the result to a list. file:read_file/1 reads until end of file, so a device such as /dev/zero never returns and the binary heap grows until the operating system kills the VM. The allow_entities default of false does not help: it only rejects \u003c!ENTITY\u003e declarations in scan_markup_decl/2, which runs after the file has been read."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-119443",
        "datePublished": "2026-11-24T15:02:12.313Z",
        "dateReserved": "2026-10-30T09:45:01.835Z",
        "dateUpdated": "2026-12-01T16:49:25.387Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }