Search

Find a vulnerability

Search criteria

    148 vulnerabilities found for otp by erlang

    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
    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
    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-11-24 15:12
    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.
    CWE
    • CWE-347 - Improper Verification of Cryptographic Signature
    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": {
        "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-11-24T15:12:02.452Z",
        "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-11-24 15:10
    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.
    CWE
    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": {
        "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-11-24T15:10:40.813Z",
        "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-11-24 15:02
    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.
    CWE
    • CWE-611 - Improper Restriction of XML External Entity Reference
    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": {
        "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-11-24T15:02:12.313Z",
        "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-11-24 15:09
    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.
    CWE
    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": {
        "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-11-24T15:09:37.711Z",
        "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-11-24 15:05
    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.
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    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": {
        "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-11-24T15:05:52.681Z",
        "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-11-24 15:05
    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.
    CWE
    • CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers
    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": {
        "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-11-24T15:05:06.420Z",
        "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-11-24 15:08
    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.
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-787 - Out-of-bounds Write
    • CWE-125 - Out-of-bounds Read
    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": {
        "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-11-24T15:08:20.708Z",
        "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-11-24 15:07
    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.
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    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": {
        "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-11-24T15:07:29.123Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-96596 (GCVE-0-2026-96596)

    Vulnerability from nvd – Published: 2026-10-14 16:56 – Updated: 2026-11-20 06:00
    VLAI
    Title
    erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole
    Summary
    Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Erlang OTP stdlib (erl_tar module), hexpm hex_core (hex_erl_tar module), hexpm hex (mix_hex_erl_tar module) and erlang rebar3 (r3_hex_erl_tar module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member. When erl_tar:extract/1,2 writes a member to disk, erl_tar:stream_to_file_loop/3 reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, erl_tar:do_sparse_read/3 matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The {max_size, N} option prevents this only when N is below the real size of the member. Extraction with the memory option is not affected. hex_core ships its own copy of erl_tar as hex_erl_tar, and Hex and rebar3 ship hex_core with prefixed module names (mix_hex_erl_tar and r3_hex_erl_tar). These copies contain the same code and do not call stdlib's erl_tar, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3. This issue affects OTP from OTP 29.0 before OTP 29.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-10-16 20:07 UTC
    CWE
    • CWE-835 - Loop with Unreachable Exit Condition
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 8.0 , < 8.1.1 (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 29.0 , < 29.1.2 (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f , < 3086307f311b78b38644a7787a3aca6a3f95a9d5 (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    erlang rebar3 Affected: 3.27.1 , < 3.28.0 (semver)
        cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
    Create a notification for this product.
    erlang rebar3 Affected: 23dbdb5d1f87f56902aef296c88a20049cd0c6e4 , < 310e2ec8c7dd3df05d67af2b7fae23f30fc523c4 (git)
        cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex Affected: 2.4.2 , < 2.5.3 (semver)
        cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex Affected: 5543a1919c709d8eb2b317f62aad76ca1eed375c , < * (git)
        cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex_core Affected: 0.14.0 , < 0.20.1 (semver)
        cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex_core Affected: 13bb9fbba418a406af614790b8d5cd458259ee70 , < a2ece683e6e88a3ec95ad20b09aca426e08b372e (git)
        cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 16:56
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-96596",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-10-16T20:07:46.754736Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-10-16T20:08:17.542Z",
              "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": [
                "erl_tar"
              ],
              "packageName": "stdlib",
              "packageURL": "pkg:otp/stdlib?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/erl_tar.erl"
              ],
              "programRoutines": [
                {
                  "name": "erl_tar:do_sparse_read/3"
                },
                {
                  "name": "erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "erl_tar:extract/1"
                },
                {
                  "name": "erl_tar:extract/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "8.1.1",
                  "status": "affected",
                  "version": "8.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erl_tar"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/stdlib/src/erl_tar.erl"
              ],
              "programRoutines": [
                {
                  "name": "erl_tar:do_sparse_read/3"
                },
                {
                  "name": "erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "erl_tar:extract/1"
                },
                {
                  "name": "erl_tar:extract/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "29.1.2",
                  "status": "affected",
                  "version": "29.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erl_tar"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/stdlib/src/erl_tar.erl"
              ],
              "programRoutines": [
                {
                  "name": "erl_tar:do_sparse_read/3"
                },
                {
                  "name": "erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "erl_tar:extract/1"
                },
                {
                  "name": "erl_tar:extract/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "3086307f311b78b38644a7787a3aca6a3f95a9d5",
                  "status": "affected",
                  "version": "fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f",
                  "versionType": "git"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "r3_hex_erl_tar",
                "r3_hex_tarball"
              ],
              "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_erl_tar.erl",
                "apps/rebar/src/vendored/r3_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "r3_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "r3_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "r3_hex_erl_tar:extract/1"
                },
                {
                  "name": "r3_hex_erl_tar:extract/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/3"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/erlang/rebar3",
              "vendor": "erlang",
              "versions": [
                {
                  "lessThan": "3.28.0",
                  "status": "affected",
                  "version": "3.27.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "r3_hex_erl_tar",
                "r3_hex_tarball"
              ],
              "packageName": "erlang/rebar3",
              "packageURL": "pkg:github/erlang/rebar3",
              "product": "rebar3",
              "programFiles": [
                "apps/rebar/src/vendored/r3_hex_erl_tar.erl",
                "apps/rebar/src/vendored/r3_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "r3_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "r3_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "r3_hex_erl_tar:extract/1"
                },
                {
                  "name": "r3_hex_erl_tar:extract/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/3"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/erlang/rebar3",
              "vendor": "erlang",
              "versions": [
                {
                  "lessThan": "310e2ec8c7dd3df05d67af2b7fae23f30fc523c4",
                  "status": "affected",
                  "version": "23dbdb5d1f87f56902aef296c88a20049cd0c6e4",
                  "versionType": "git"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "mix_hex_erl_tar",
                "mix_hex_tarball"
              ],
              "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_erl_tar.erl",
                "src/mix_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "mix_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "mix_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "mix_hex_erl_tar:extract/1"
                },
                {
                  "name": "mix_hex_erl_tar:extract/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/3"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "2.5.3",
                  "status": "affected",
                  "version": "2.4.2",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "mix_hex_erl_tar",
                "mix_hex_tarball"
              ],
              "packageName": "hexpm/hex",
              "packageURL": "pkg:github/hexpm/hex",
              "product": "hex",
              "programFiles": [
                "src/mix_hex_erl_tar.erl",
                "src/mix_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "mix_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "mix_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "mix_hex_erl_tar:extract/1"
                },
                {
                  "name": "mix_hex_erl_tar:extract/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/3"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex",
              "vendor": "hexpm",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "7847c23d09ab52113614c3718e1e7d368743da5d",
                      "status": "unaffected"
                    },
                    {
                      "at": "8e1067131a13949eff30623f31648a945ffd5418",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5543a1919c709d8eb2b317f62aad76ca1eed375c",
                  "versionType": "git"
                }
              ]
            },
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "hex_erl_tar",
                "hex_tarball"
              ],
              "packageName": "hex_core",
              "packageURL": "pkg:hex/hex_core",
              "product": "hex_core",
              "programFiles": [
                "src/hex_erl_tar.erl",
                "src/hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "hex_erl_tar:extract/1"
                },
                {
                  "name": "hex_erl_tar:extract/2"
                },
                {
                  "name": "hex_tarball:unpack/2"
                },
                {
                  "name": "hex_tarball:unpack/3"
                },
                {
                  "name": "hex_tarball:unpack_docs/2"
                },
                {
                  "name": "hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex_core",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "0.20.1",
                  "status": "affected",
                  "version": "0.14.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "hex_erl_tar",
                "hex_tarball"
              ],
              "packageName": "hexpm/hex_core",
              "packageURL": "pkg:github/hexpm/hex_core",
              "product": "hex_core",
              "programFiles": [
                "src/hex_erl_tar.erl",
                "src/hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "hex_erl_tar:extract/1"
                },
                {
                  "name": "hex_erl_tar:extract/2"
                },
                {
                  "name": "hex_tarball:unpack/2"
                },
                {
                  "name": "hex_tarball:unpack/3"
                },
                {
                  "name": "hex_tarball:unpack_docs/2"
                },
                {
                  "name": "hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex_core",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "a2ece683e6e88a3ec95ad20b09aca426e08b372e",
                  "status": "affected",
                  "version": "13bb9fbba418a406af614790b8d5cd458259ee70",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.2",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "3.28.0",
                      "versionStartIncluding": "3.27.1",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.5.3",
                      "versionStartIncluding": "2.4.2",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "0.20.1",
                      "versionStartIncluding": "0.14.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Eric Meadows-J\u00f6nsson"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Eric Meadows-J\u00f6nsson"
            }
          ],
          "dateAssigned": "2026-10-07T13:11:38.000Z",
          "datePublic": "2026-10-14T16:56:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eLoop with Unreachable Exit Condition (\u0027Infinite Loop\u0027) vulnerability in Erlang OTP stdlib (\u003ccode\u003eerl_tar\u003c/code\u003e module), hexpm hex_core (\u003ccode\u003ehex_erl_tar\u003c/code\u003e module), hexpm hex (\u003ccode\u003emix_hex_erl_tar\u003c/code\u003e module) and erlang rebar3 (\u003ccode\u003er3_hex_erl_tar\u003c/code\u003e module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member.\u003c/p\u003e\n\u003cp\u003eWhen \u003ccode\u003eerl_tar:extract/1,2\u003c/code\u003e writes a member to disk, \u003ccode\u003eerl_tar:stream_to_file_loop/3\u003c/code\u003e reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, \u003ccode\u003eerl_tar:do_sparse_read/3\u003c/code\u003e matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The \u003ccode\u003e{max_size, N}\u003c/code\u003e option prevents this only when N is below the real size of the member. Extraction with the \u003ccode\u003ememory\u003c/code\u003e option is not affected.\u003c/p\u003e\n\u003cp\u003ehex_core ships its own copy of \u003ccode\u003eerl_tar\u003c/code\u003e as \u003ccode\u003ehex_erl_tar\u003c/code\u003e, and Hex and rebar3 ship hex_core with prefixed module names (\u003ccode\u003emix_hex_erl_tar\u003c/code\u003e and \u003ccode\u003er3_hex_erl_tar\u003c/code\u003e). These copies contain the same code and do not call stdlib\u0027s \u003ccode\u003eerl_tar\u003c/code\u003e, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;29.0 before OTP\u0026nbsp;29.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027) vulnerability in Erlang OTP stdlib (`erl_tar` module), hexpm hex_core (`hex_erl_tar` module), hexpm hex (`mix_hex_erl_tar` module) and erlang rebar3 (`r3_hex_erl_tar` module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member.\n\nWhen `erl_tar:extract/1,2` writes a member to disk, `erl_tar:stream_to_file_loop/3` reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, `erl_tar:do_sparse_read/3` matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The `{max_size, N}` option prevents this only when N is below the real size of the member. Extraction with the `memory` option is not affected.\n\nhex_core ships its own copy of `erl_tar` as `hex_erl_tar`, and Hex and rebar3 ship hex_core with prefixed module names (`mix_hex_erl_tar` and `r3_hex_erl_tar`). These copies contain the same code and do not call stdlib\u0027s `erl_tar`, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3.\n\nThis issue affects OTP from OTP\u00a029.0 before OTP\u00a029.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1."
                }
              ],
              "value": "Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027) vulnerability in Erlang OTP stdlib (erl_tar module), hexpm hex_core (hex_erl_tar module), hexpm hex (mix_hex_erl_tar module) and erlang rebar3 (r3_hex_erl_tar module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member.\n\nWhen erl_tar:extract/1,2 writes a member to disk, erl_tar:stream_to_file_loop/3 reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, erl_tar:do_sparse_read/3 matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The {max_size, N} option prevents this only when N is below the real size of the member. Extraction with the memory option is not affected.\n\nhex_core ships its own copy of erl_tar as hex_erl_tar, and Hex and rebar3 ship hex_core with prefixed module names (mix_hex_erl_tar and r3_hex_erl_tar). These copies contain the same code and do not call stdlib\u0027s erl_tar, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3.\n\nThis issue affects OTP from OTP\u00a029.0 before OTP\u00a029.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can get an application to extract a tar archive to disk keeps the extracting process and one scheduler busy forever. Each further archive occupies another scheduler, until the node stops responding.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can get an application to extract a tar archive to disk keeps the extracting process and one scheduler busy forever. Each further archive occupies another scheduler, until the node stops responding."
                    }
                  ],
                  "value": "An attacker who can get an application to extract a tar archive to disk keeps the extracting process and one scheduler busy forever. Each further archive occupies another scheduler, until the node stops responding."
                }
              ]
            }
          ],
          "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-835",
                  "description": "CWE-835 Loop with Unreachable Exit Condition",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:00:37.110Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-phm5-m6cj-5382"
            },
            {
              "name": "EEF CNA record for CVE-2026-96596",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-96596.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-96596",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-96596"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit fbf2c71 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f"
            },
            {
              "name": "Fix commit 3086307 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/3086307f311b78b38644a7787a3aca6a3f95a9d5"
            },
            {
              "name": "Introducing commit 23dbdb5 in erlang/rebar3",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/rebar3/commit/23dbdb5d1f87f56902aef296c88a20049cd0c6e4"
            },
            {
              "name": "Fix commit 310e2ec in erlang/rebar3",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/rebar3/commit/310e2ec8c7dd3df05d67af2b7fae23f30fc523c4"
            },
            {
              "name": "Introducing commit 5543a19 in hexpm/hex",
              "tags": [
                "related"
              ],
              "url": "https://github.com/hexpm/hex/commit/5543a1919c709d8eb2b317f62aad76ca1eed375c"
            },
            {
              "name": "Fix commit 7847c23 in hexpm/hex",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/hexpm/hex/commit/7847c23d09ab52113614c3718e1e7d368743da5d"
            },
            {
              "name": "Fix commit 8e10671 in hexpm/hex",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/hexpm/hex/commit/8e1067131a13949eff30623f31648a945ffd5418"
            },
            {
              "name": "Introducing commit 13bb9fb in hexpm/hex_core",
              "tags": [
                "related"
              ],
              "url": "https://github.com/hexpm/hex_core/commit/13bb9fbba418a406af614790b8d5cd458259ee70"
            },
            {
              "name": "Fix commit a2ece68 in hexpm/hex_core",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/hexpm/hex_core/commit/a2ece683e6e88a3ec95ad20b09aca426e08b372e"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003ePass \u003ccode\u003e{chunks, N}\u003c/code\u003e together with \u003ccode\u003e{max_size, N}\u003c/code\u003e, with the same value N, to \u003ccode\u003eerl_tar:extract/2\u003c/code\u003e. Extraction then rejects any member larger than N, and reads each remaining member in one call, so the loop cannot occur.\u003c/p\u003e\n\u003cp\u003eAlternatively, extract with the \u003ccode\u003ememory\u003c/code\u003e option and write the returned files to disk in the application.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Pass `{chunks, N}` together with `{max_size, N}`, with the same value N, to `erl_tar:extract/2`. Extraction then rejects any member larger than N, and reads each remaining member in one call, so the loop cannot occur.\n\nAlternatively, extract with the `memory` option and write the returned files to disk in the application."
                }
              ],
              "value": "Pass {chunks, N} together with {max_size, N}, with the same value N, to erl_tar:extract/2. Extraction then rejects any member larger than N, and reads each remaining member in one call, so the loop cannot occur.\n\nAlternatively, extract with the memory option and write the returned files to disk in the application."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a 2048-byte tar that holds one GNU sparse member (typeflag \u003ccode\u003eS\u003c/code\u003e). Give it a stored size of 4 bytes, one sparse map entry of 4 bytes at offset 0, and a real size of 1048576 bytes. Follow the 512-byte header with a 512-byte block that starts with the 4 data bytes, then 1024 zero bytes.\u003c/li\u003e\n\u003cli\u003eIn a separate process, call \u003ccode\u003eerl_tar:extract({binary, Tar}, [{cwd, Dir}])\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe call does not return. After 5 seconds the process has used more than 10^9 reductions. On OTP 28 the same call returns \u003ccode\u003eok\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a 2048-byte tar that holds one GNU sparse member (typeflag `S`). Give it a stored size of 4 bytes, one sparse map entry of 4 bytes at offset 0, and a real size of 1048576 bytes. Follow the 512-byte header with a 512-byte block that starts with the 4 data bytes, then 1024 zero bytes.\n2. In a separate process, call `erl_tar:extract({binary, Tar}, [{cwd, Dir}])`.\n3. The call does not return. After 5 seconds the process has used more than 10^9 reductions. On OTP 28 the same call returns `ok`."
                }
              ],
              "value": "* Build a 2048-byte tar that holds one GNU sparse member (typeflag S). Give it a stored size of 4 bytes, one sparse map entry of 4 bytes at offset 0, and a real size of 1048576 bytes. Follow the 512-byte header with a 512-byte block that starts with the 4 data bytes, then 1024 zero bytes.\n* In a separate process, call erl_tar:extract({binary, Tar}, [{cwd, Dir}]).\n* The call does not return. After 5 seconds the process has used more than 10^9 reductions. On OTP 28 the same call returns ok."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Chunked extraction.\u003c/strong\u003e \u003ccode\u003eerl_tar:extract/2\u003c/code\u003e writes each member to disk through \u003ccode\u003estream_to_file_loop/3\u003c/code\u003e. This function calls \u003ccode\u003edo_read(Reader, ChunkSize)\u003c/code\u003e until the \u003ccode\u003enum_bytes\u003c/code\u003e field of the reader is 0. The default chunk size is 65536 bytes.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Clause order in \u003ccode\u003edo_sparse_read/3\u003c/code\u003e.\u003c/strong\u003e For a sparse member, \u003ccode\u003edo_read/2\u003c/code\u003e calls \u003ccode\u003edo_sparse_read/3\u003c/code\u003e. The clause for a trailing hole matches when \u003ccode\u003esparse_map\u003c/code\u003e is \u003ccode\u003e[]\u003c/code\u003e and \u003ccode\u003ePos \u0026lt; Size\u003c/code\u003e. It comes before the clause that returns when \u003ccode\u003eLen\u003c/code\u003e is 0.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Unbounded recursion.\u003c/strong\u003e The member is a GNU sparse member (typeflag \u003ccode\u003eS\u003c/code\u003e) whose real size is larger than one chunk and whose sparse map ends before the real size. After the data fragments, the trailing-hole clause reads the rest of the chunk and recurses with \u003ccode\u003eLen = 0\u003c/code\u003e. The same clause matches again, and \u003ccode\u003eread_sparse_hole/3\u003c/code\u003e returns an empty binary and leaves \u003ccode\u003ePos\u003c/code\u003e unchanged. The zero-length clause is never reached, so the call never returns.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. No mitigation from \u003ccode\u003emax_size\u003c/code\u003e.\u003c/strong\u003e For a sparse member, \u003ccode\u003e{max_size, N}\u003c/code\u003e is checked against the real size from the header. It stops the loop only when N is below that size. \u003ccode\u003eerl_tar:table/2\u003c/code\u003e lists the member as \u003ccode\u003eregular\u003c/code\u003e, so a caller cannot skip sparse members by type.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Chunked extraction.** `erl_tar:extract/2` writes each member to disk through `stream_to_file_loop/3`. This function calls `do_read(Reader, ChunkSize)` until the `num_bytes` field of the reader is 0. The default chunk size is 65536 bytes.\n\n**2. Clause order in `do_sparse_read/3`.** For a sparse member, `do_read/2` calls `do_sparse_read/3`. The clause for a trailing hole matches when `sparse_map` is `[]` and `Pos \u003c Size`. It comes before the clause that returns when `Len` is 0.\n\n**3. Unbounded recursion.** The member is a GNU sparse member (typeflag `S`) whose real size is larger than one chunk and whose sparse map ends before the real size. After the data fragments, the trailing-hole clause reads the rest of the chunk and recurses with `Len = 0`. The same clause matches again, and `read_sparse_hole/3` returns an empty binary and leaves `Pos` unchanged. The zero-length clause is never reached, so the call never returns.\n\n**4. No mitigation from `max_size`.** For a sparse member, `{max_size, N}` is checked against the real size from the header. It stops the loop only when N is below that size. `erl_tar:table/2` lists the member as `regular`, so a caller cannot skip sparse members by type."
                }
              ],
              "value": "1. Chunked extraction. erl_tar:extract/2 writes each member to disk through stream_to_file_loop/3. This function calls do_read(Reader, ChunkSize) until the num_bytes field of the reader is 0. The default chunk size is 65536 bytes.\n\n2. Clause order in do_sparse_read/3. For a sparse member, do_read/2 calls do_sparse_read/3. The clause for a trailing hole matches when sparse_map is [] and Pos \u003c Size. It comes before the clause that returns when Len is 0.\n\n3. Unbounded recursion. The member is a GNU sparse member (typeflag S) whose real size is larger than one chunk and whose sparse map ends before the real size. After the data fragments, the trailing-hole clause reads the rest of the chunk and recurses with Len = 0. The same clause matches again, and read_sparse_hole/3 returns an empty binary and leaves Pos unchanged. The zero-length clause is never reached, so the call never returns.\n\n4. No mitigation from max_size. For a sparse member, {max_size, N} is checked against the real size from the header. It stops the loop only when N is below that size. erl_tar:table/2 lists the member as regular, so a caller cannot skip sparse members by type."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-96596",
        "datePublished": "2026-10-14T16:56:18.530Z",
        "dateReserved": "2026-09-27T12:00:01.540Z",
        "dateUpdated": "2026-11-20T06:00:37.110Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-94200 (GCVE-0-2026-94200)

    Vulnerability from nvd – Published: 2026-10-14 16:55 – Updated: 2026-11-20 06:00
    VLAI
    Title
    TLS 1.3 client ticket store crashed by NewSessionTicket with empty early_data extension in ssl
    Summary
    Improper Validation of Consistency within Input vulnerability in Erlang OTP ssl (tls_handshake_1_3, ssl_handshake and tls_client_ticket_store modules) allows a malicious TLS 1.3 server to cause a denial of service of the ssl application on the client node. The TLS 1.3 client decodes the extensions of a NewSessionTicket message as if they came from EncryptedExtensions. It therefore accepts a 0-length early_data extension, a form that is only valid in ClientHello and EncryptedExtensions. With {session_tickets, auto}, the client stores the ticket in the node-global tls_client_ticket_store. On the next automatic resumption, tls_handshake_1_3:get_max_early_data/1 crashes the store with a case_clause. Repeated crashes can exceed the restart intensity of the ssl supervisors, which use the rest_for_one strategy, and take down ssl for all connections on the node. This issue affects OTP from OTP 23.3 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-10-16 20:08 UTC
    CWE
    • CWE-1288 - Improper Validation of Consistency within Input
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 10.3 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 23.3 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 0abe6f66db0d295cd06b0efab3bdb3caa2803930 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 16:55
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-94200",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-10-16T20:08:52.033542Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-10-16T20:09:04.559Z",
              "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",
                "tls_handshake_1_3",
                "tls_client_ticket_store"
              ],
              "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/tls_handshake_1_3.erl",
                "src/tls_client_ticket_store.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:decode_extensions/4"
                },
                {
                  "name": "tls_handshake_1_3:decode_handshake/2"
                },
                {
                  "name": "tls_handshake_1_3:get_max_early_data/1"
                },
                {
                  "name": "tls_client_ticket_store:find_ticket/5"
                },
                {
                  "name": "tls_client_ticket_store:get_tickets/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.8",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "10.3",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "tls_handshake_1_3",
                "tls_client_ticket_store"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/tls_handshake_1_3.erl",
                "lib/ssl/src/tls_client_ticket_store.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:decode_extensions/4"
                },
                {
                  "name": "tls_handshake_1_3:decode_handshake/2"
                },
                {
                  "name": "tls_handshake_1_3:get_max_early_data/1"
                },
                {
                  "name": "tls_client_ticket_store:find_ticket/5"
                },
                {
                  "name": "tls_client_ticket_store:get_tickets/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.19",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "23.3",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "tls_handshake_1_3",
                "tls_client_ticket_store"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/tls_handshake_1_3.erl",
                "lib/ssl/src/tls_client_ticket_store.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:decode_extensions/4"
                },
                {
                  "name": "tls_handshake_1_3:decode_handshake/2"
                },
                {
                  "name": "tls_handshake_1_3:get_max_early_data/1"
                },
                {
                  "name": "tls_client_ticket_store:find_ticket/5"
                },
                {
                  "name": "tls_client_ticket_store:get_tickets/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "00a333bcf2800b69f540369b54167e897dae7219",
                      "status": "unaffected"
                    },
                    {
                      "at": "66febc190e6dc42a5c4aedbfe250bf9a2edc2d5e",
                      "status": "unaffected"
                    },
                    {
                      "at": "cd0334854bf3ef56dc16f9fb728efe88fb05c4ac",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "0abe6f66db0d295cd06b0efab3bdb3caa2803930",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOnly TLS 1.3 clients that set the \u003ccode\u003essl\u003c/code\u003e option \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e are affected. The default value of \u003ccode\u003esession_tickets\u003c/code\u003e is \u003ccode\u003edisabled\u003c/code\u003e, and clients that use \u003ccode\u003emanual\u003c/code\u003e ticket handling do not store tickets in the node-global ticket store. The client must also connect to a server that the attacker controls, or that the attacker can impersonate.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Only TLS 1.3 clients that set the `ssl` option `{session_tickets, auto}` are affected. The default value of `session_tickets` is `disabled`, and clients that use `manual` ticket handling do not store tickets in the node-global ticket store. The client must also connect to a server that the attacker controls, or that the attacker can impersonate."
                }
              ],
              "value": "Only TLS 1.3 clients that set the ssl option {session_tickets, auto} are affected. The default value of session_tickets is disabled, and clients that use manual ticket handling do not store tickets in the node-global ticket store. The client must also connect to a server that the attacker controls, or that the attacker can impersonate."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.19",
                      "versionStartIncluding": "23.3",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.8",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.2",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Lukas Backstr\u00f6m / Erlang Solutions"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Ingela Anderton Andin"
            }
          ],
          "dateAssigned": "2026-10-01T08:50:00.000Z",
          "datePublic": "2026-10-14T16:55:23.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Validation of Consistency within Input vulnerability in Erlang OTP ssl (\u003ccode\u003etls_handshake_1_3\u003c/code\u003e, \u003ccode\u003essl_handshake\u003c/code\u003e and \u003ccode\u003etls_client_ticket_store\u003c/code\u003e modules) allows a malicious TLS 1.3 server to cause a denial of service of the \u003ccode\u003essl\u003c/code\u003e application on the client node.\u003c/p\u003e\n\u003cp\u003eThe TLS 1.3 client decodes the extensions of a \u003ccode\u003eNewSessionTicket\u003c/code\u003e message as if they came from \u003ccode\u003eEncryptedExtensions\u003c/code\u003e. It therefore accepts a 0-length \u003ccode\u003eearly_data\u003c/code\u003e extension, a form that is only valid in \u003ccode\u003eClientHello\u003c/code\u003e and \u003ccode\u003eEncryptedExtensions\u003c/code\u003e. With \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e, the client stores the ticket in the node-global \u003ccode\u003etls_client_ticket_store\u003c/code\u003e. On the next automatic resumption, \u003ccode\u003etls_handshake_1_3:get_max_early_data/1\u003c/code\u003e crashes the store with a \u003ccode\u003ecase_clause\u003c/code\u003e. Repeated crashes can exceed the restart intensity of the \u003ccode\u003essl\u003c/code\u003e supervisors, which use the \u003ccode\u003erest_for_one\u003c/code\u003e strategy, and take down \u003ccode\u003essl\u003c/code\u003e for all connections on the node.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;23.3 before OTP\u0026nbsp;27.3.4.19, OTP\u0026nbsp;28.5.0.8, and OTP\u0026nbsp;29.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Validation of Consistency within Input vulnerability in Erlang OTP ssl (`tls_handshake_1_3`, `ssl_handshake` and `tls_client_ticket_store` modules) allows a malicious TLS 1.3 server to cause a denial of service of the `ssl` application on the client node.\n\nThe TLS 1.3 client decodes the extensions of a `NewSessionTicket` message as if they came from `EncryptedExtensions`. It therefore accepts a 0-length `early_data` extension, a form that is only valid in `ClientHello` and `EncryptedExtensions`. With `{session_tickets, auto}`, the client stores the ticket in the node-global `tls_client_ticket_store`. On the next automatic resumption, `tls_handshake_1_3:get_max_early_data/1` crashes the store with a `case_clause`. Repeated crashes can exceed the restart intensity of the `ssl` supervisors, which use the `rest_for_one` strategy, and take down `ssl` for all connections on the node.\n\nThis issue affects OTP from OTP\u00a023.3 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8."
                }
              ],
              "value": "Improper Validation of Consistency within Input vulnerability in Erlang OTP ssl (tls_handshake_1_3, ssl_handshake and tls_client_ticket_store modules) allows a malicious TLS 1.3 server to cause a denial of service of the ssl application on the client node.\n\nThe TLS 1.3 client decodes the extensions of a NewSessionTicket message as if they came from EncryptedExtensions. It therefore accepts a 0-length early_data extension, a form that is only valid in ClientHello and EncryptedExtensions. With {session_tickets, auto}, the client stores the ticket in the node-global tls_client_ticket_store. On the next automatic resumption, tls_handshake_1_3:get_max_early_data/1 crashes the store with a case_clause. Repeated crashes can exceed the restart intensity of the ssl supervisors, which use the rest_for_one strategy, and take down ssl for all connections on the node.\n\nThis issue affects OTP from OTP\u00a023.3 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-153",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eA malicious TLS 1.3 server can crash the client node\u0027s session ticket store, and by repeating the attack it can stop the \u003ccode\u003essl\u003c/code\u003e application for all TLS connections on that node. Only clients that use \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e are affected.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "A malicious TLS 1.3 server can crash the client node\u0027s session ticket store, and by repeating the attack it can stop the `ssl` application for all TLS connections on that node. Only clients that use `{session_tickets, auto}` are affected."
                    }
                  ],
                  "value": "A malicious TLS 1.3 server can crash the client node\u0027s session ticket store, and by repeating the attack it can stop the ssl application for all TLS connections on that node. Only clients that use {session_tickets, auto} are affected."
                }
              ]
            }
          ],
          "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-1288",
                  "description": "CWE-1288 Improper Validation of Consistency within Input",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:00:49.047Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-m5mh-q53w-67jq"
            },
            {
              "name": "EEF CNA record for CVE-2026-94200",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-94200.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-94200",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-94200"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 0abe6f6 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/0abe6f66db0d295cd06b0efab3bdb3caa2803930"
            },
            {
              "name": "Fix commit 00a333b in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/00a333bcf2800b69f540369b54167e897dae7219"
            },
            {
              "name": "Fix commit 66febc1 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/66febc190e6dc42a5c4aedbfe250bf9a2edc2d5e"
            },
            {
              "name": "Fix commit cd03348 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/cd0334854bf3ef56dc16f9fb728efe88fb05c4ac"
            }
          ],
          "source": {
            "discovery": "INTERNAL"
          },
          "title": "TLS 1.3 client ticket store crashed by NewSessionTicket with empty early_data extension in ssl",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eDo not set \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e on TLS 1.3 clients. Use \u003ccode\u003emanual\u003c/code\u003e ticket handling, or keep the default value \u003ccode\u003edisabled\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Do not set `{session_tickets, auto}` on TLS 1.3 clients. Use `manual` ticket handling, or keep the default value `disabled`."
                }
              ],
              "value": "Do not set {session_tickets, auto} on TLS 1.3 clients. Use manual ticket handling, or keep the default value disabled."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Decoding.\u003c/strong\u003e \u003ccode\u003etls_handshake_1_3:decode_handshake/2\u003c/code\u003e decodes the extensions of a \u003ccode\u003eNewSessionTicket\u003c/code\u003e with the message type \u003ccode\u003eencrypted_extensions\u003c/code\u003e. \u003ccode\u003essl_handshake:decode_extensions/4\u003c/code\u003e does not check the message type for most extensions. A 0-length \u003ccode\u003eearly_data\u003c/code\u003e extension therefore decodes to \u003ccode\u003e#early_data_indication{}\u003c/code\u003e, the \u003ccode\u003eClientHello\u003c/code\u003e and \u003ccode\u003eEncryptedExtensions\u003c/code\u003e form, and not to \u003ccode\u003e#early_data_indication_nst{}\u003c/code\u003e, the 4-byte \u003ccode\u003emax_early_data_size\u003c/code\u003e form that RFC 8446 requires in a \u003ccode\u003eNewSessionTicket\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Storage.\u003c/strong\u003e In \u003ccode\u003eauto\u003c/code\u003e mode the client sends the ticket to the node-global \u003ccode\u003etls_client_ticket_store\u003c/code\u003e gen_server, which keeps it for later resumption.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Crash.\u003c/strong\u003e When a later connection resumes automatically, the store calls \u003ccode\u003etls_handshake_1_3:get_max_early_data/1\u003c/code\u003e on the stored extensions, from \u003ccode\u003emaybe_use_ticket\u003c/code\u003e and \u003ccode\u003eget_tickets\u003c/code\u003e. That function only handles \u003ccode\u003eundefined\u003c/code\u003e and \u003ccode\u003e#early_data_indication_nst{}\u003c/code\u003e, so the store process crashes with a \u003ccode\u003ecase_clause\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Escalation.\u003c/strong\u003e The store is a \u003ccode\u003epermanent\u003c/code\u003e child of \u003ccode\u003essl_admin_sup\u003c/code\u003e. Each restart of the store also restarts the children after it, because the supervisor uses \u003ccode\u003erest_for_one\u003c/code\u003e. A server that keeps sending the malformed ticket makes the crashes repeat. When the crashes exceed the supervisor restart intensity, the failure goes up through \u003ccode\u003essl_sup\u003c/code\u003e and stops the \u003ccode\u003essl\u003c/code\u003e application for the whole node.\u003c/p\u003e\n\u003cp\u003eThe fix makes \u003ccode\u003essl_handshake:decode_extensions/4\u003c/code\u003e accept each extension form only in the handshake messages where it is permitted, and decodes \u003ccode\u003eNewSessionTicket\u003c/code\u003e extensions with the message type \u003ccode\u003enew_session_ticket\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Decoding.** `tls_handshake_1_3:decode_handshake/2` decodes the extensions of a `NewSessionTicket` with the message type `encrypted_extensions`. `ssl_handshake:decode_extensions/4` does not check the message type for most extensions. A 0-length `early_data` extension therefore decodes to `#early_data_indication{}`, the `ClientHello` and `EncryptedExtensions` form, and not to `#early_data_indication_nst{}`, the 4-byte `max_early_data_size` form that RFC 8446 requires in a `NewSessionTicket`.\n\n**2. Storage.** In `auto` mode the client sends the ticket to the node-global `tls_client_ticket_store` gen_server, which keeps it for later resumption.\n\n**3. Crash.** When a later connection resumes automatically, the store calls `tls_handshake_1_3:get_max_early_data/1` on the stored extensions, from `maybe_use_ticket` and `get_tickets`. That function only handles `undefined` and `#early_data_indication_nst{}`, so the store process crashes with a `case_clause`.\n\n**4. Escalation.** The store is a `permanent` child of `ssl_admin_sup`. Each restart of the store also restarts the children after it, because the supervisor uses `rest_for_one`. A server that keeps sending the malformed ticket makes the crashes repeat. When the crashes exceed the supervisor restart intensity, the failure goes up through `ssl_sup` and stops the `ssl` application for the whole node.\n\nThe fix makes `ssl_handshake:decode_extensions/4` accept each extension form only in the handshake messages where it is permitted, and decodes `NewSessionTicket` extensions with the message type `new_session_ticket`."
                }
              ],
              "value": "1. Decoding. tls_handshake_1_3:decode_handshake/2 decodes the extensions of a NewSessionTicket with the message type encrypted_extensions. ssl_handshake:decode_extensions/4 does not check the message type for most extensions. A 0-length early_data extension therefore decodes to #early_data_indication{}, the ClientHello and EncryptedExtensions form, and not to #early_data_indication_nst{}, the 4-byte max_early_data_size form that RFC 8446 requires in a NewSessionTicket.\n\n2. Storage. In auto mode the client sends the ticket to the node-global tls_client_ticket_store gen_server, which keeps it for later resumption.\n\n3. Crash. When a later connection resumes automatically, the store calls tls_handshake_1_3:get_max_early_data/1 on the stored extensions, from maybe_use_ticket and get_tickets. That function only handles undefined and #early_data_indication_nst{}, so the store process crashes with a case_clause.\n\n4. Escalation. The store is a permanent child of ssl_admin_sup. Each restart of the store also restarts the children after it, because the supervisor uses rest_for_one. A server that keeps sending the malformed ticket makes the crashes repeat. When the crashes exceed the supervisor restart intensity, the failure goes up through ssl_sup and stops the ssl application for the whole node.\n\nThe fix makes ssl_handshake:decode_extensions/4 accept each extension form only in the handshake messages where it is permitted, and decodes NewSessionTicket extensions with the message type new_session_ticket."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-94200",
        "datePublished": "2026-10-14T16:55:23.328Z",
        "dateReserved": "2026-09-21T12:15:01.330Z",
        "dateUpdated": "2026-11-20T06:00:49.047Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-105236 (GCVE-0-2026-105236)

    Vulnerability from nvd – Published: 2026-10-14 16:55 – Updated: 2026-11-20 06:00
    VLAI
    Title
    TLS 1.2 session resumption in ssl crosses SNI virtual-host client-certificate trust boundaries
    Summary
    Improper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there. A server that serves several SNI names from one listen socket through sni_fun or sni_hosts keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to verify_peer without naming reuse_sessions, ssl_config:update_options/3 inherits the base listener's reuse_sessions value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake ssl_session:is_resumable/4 checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected. This issue affects OTP from OTP 18.0 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-10-16 20:09 UTC
    CWE
    • CWE-295 - Improper Certificate Validation
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 7.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 18.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 4fe38c4b8b2c8024afb60990e598ff823743fd54 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 16:55
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-105236",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-10-16T20:09:27.807992Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-10-16T20:09:49.566Z",
              "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_gen_statem",
                "ssl_config",
                "ssl_session",
                "ssl_handshake"
              ],
              "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_gen_statem.erl",
                "src/ssl_config.erl",
                "src/ssl_session.erl",
                "src/ssl_handshake.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_gen_statem:handle_sni_extension/2"
                },
                {
                  "name": "ssl_gen_statem:handle_sni_hostname/2"
                },
                {
                  "name": "ssl_gen_statem:update_ssl_options_from_sni/2"
                },
                {
                  "name": "ssl_gen_statem:fallback_options/2"
                },
                {
                  "name": "ssl_config:update_options/3"
                },
                {
                  "name": "ssl_config:opt_reuse_sessions/3"
                },
                {
                  "name": "ssl_session:server_select_session/5"
                },
                {
                  "name": "ssl_session:is_resumable/4"
                },
                {
                  "name": "ssl_session:reusable_options/2"
                },
                {
                  "name": "ssl_handshake:select_session/8"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.8",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "7.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_gen_statem",
                "ssl_config",
                "ssl_session",
                "ssl_handshake"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_gen_statem.erl",
                "lib/ssl/src/ssl_config.erl",
                "lib/ssl/src/ssl_session.erl",
                "lib/ssl/src/ssl_handshake.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_gen_statem:handle_sni_extension/2"
                },
                {
                  "name": "ssl_gen_statem:handle_sni_hostname/2"
                },
                {
                  "name": "ssl_gen_statem:update_ssl_options_from_sni/2"
                },
                {
                  "name": "ssl_gen_statem:fallback_options/2"
                },
                {
                  "name": "ssl_config:update_options/3"
                },
                {
                  "name": "ssl_config:opt_reuse_sessions/3"
                },
                {
                  "name": "ssl_session:server_select_session/5"
                },
                {
                  "name": "ssl_session:is_resumable/4"
                },
                {
                  "name": "ssl_session:reusable_options/2"
                },
                {
                  "name": "ssl_handshake:select_session/8"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.19",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "18.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_gen_statem",
                "ssl_config",
                "ssl_session",
                "ssl_handshake"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_gen_statem.erl",
                "lib/ssl/src/ssl_config.erl",
                "lib/ssl/src/ssl_session.erl",
                "lib/ssl/src/ssl_handshake.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_gen_statem:handle_sni_extension/2"
                },
                {
                  "name": "ssl_gen_statem:handle_sni_hostname/2"
                },
                {
                  "name": "ssl_gen_statem:update_ssl_options_from_sni/2"
                },
                {
                  "name": "ssl_gen_statem:fallback_options/2"
                },
                {
                  "name": "ssl_config:update_options/3"
                },
                {
                  "name": "ssl_config:opt_reuse_sessions/3"
                },
                {
                  "name": "ssl_session:server_select_session/5"
                },
                {
                  "name": "ssl_session:is_resumable/4"
                },
                {
                  "name": "ssl_session:reusable_options/2"
                },
                {
                  "name": "ssl_handshake:select_session/8"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "0c20f3683b3c81fd30b46047195be9b3d2c69d76",
                      "status": "unaffected"
                    },
                    {
                      "at": "10ee925d0fee8413f1170cc21bfcf123c8d22454",
                      "status": "unaffected"
                    },
                    {
                      "at": "4d76adbf39d547a931048544df09c3c087e56618",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "4fe38c4b8b2c8024afb60990e598ff823743fd54",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eExploitation requires all of the following. One TLS listener serves at least two SNI names through \u003ccode\u003esni_fun\u003c/code\u003e or \u003ccode\u003esni_hosts\u003c/code\u003e. The names use the same server certificate but select different client CAs with \u003ccode\u003everify_peer\u003c/code\u003e. TLS 1.2 or earlier is enabled. No SNI option set sets \u003ccode\u003ereuse_sessions\u003c/code\u003e to false while the base listener\u0027s effective value is true, which is the default when the base listener uses \u003ccode\u003everify_none\u003c/code\u003e. The attacker holds a client certificate that the lower-trust name accepts.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Exploitation requires all of the following. One TLS listener serves at least two SNI names through `sni_fun` or `sni_hosts`. The names use the same server certificate but select different client CAs with `verify_peer`. TLS 1.2 or earlier is enabled. No SNI option set sets `reuse_sessions` to false while the base listener\u0027s effective value is true, which is the default when the base listener uses `verify_none`. The attacker holds a client certificate that the lower-trust name accepts."
                }
              ],
              "value": "Exploitation requires all of the following. One TLS listener serves at least two SNI names through sni_fun or sni_hosts. The names use the same server certificate but select different client CAs with verify_peer. TLS 1.2 or earlier is enabled. No SNI option set sets reuse_sessions to false while the base listener\u0027s effective value is true, which is the default when the base listener uses verify_none. The attacker holds a client certificate that the lower-trust name accepts."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.19",
                      "versionStartIncluding": "18.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.8",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.2",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Yonghwa Lee / Xint by Theori"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Yonghwa Lee / Xint by Theori"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Ingela Anderton Andin"
            }
          ],
          "dateAssigned": "2026-10-08T15:40:48.000Z",
          "datePublic": "2026-10-14T16:55:51.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there.\u003c/p\u003e\n\u003cp\u003eA server that serves several SNI names from one listen socket through \u003ccode\u003esni_fun\u003c/code\u003e or \u003ccode\u003esni_hosts\u003c/code\u003e keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to \u003ccode\u003everify_peer\u003c/code\u003e without naming \u003ccode\u003ereuse_sessions\u003c/code\u003e, \u003ccode\u003essl_config:update_options/3\u003c/code\u003e inherits the base listener\u0027s \u003ccode\u003ereuse_sessions\u003c/code\u003e value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake \u003ccode\u003essl_session:is_resumable/4\u003c/code\u003e checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;18.0 before OTP\u0026nbsp;27.3.4.19, OTP\u0026nbsp;28.5.0.8, and OTP\u0026nbsp;29.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there.\n\nA server that serves several SNI names from one listen socket through `sni_fun` or `sni_hosts` keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to `verify_peer` without naming `reuse_sessions`, `ssl_config:update_options/3` inherits the base listener\u0027s `reuse_sessions` value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake `ssl_session:is_resumable/4` checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected.\n\nThis issue affects OTP from OTP\u00a018.0 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8."
                }
              ],
              "value": "Improper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there.\n\nA server that serves several SNI names from one listen socket through sni_fun or sni_hosts keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to verify_peer without naming reuse_sessions, ssl_config:update_options/3 inherits the base listener\u0027s reuse_sessions value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake ssl_session:is_resumable/4 checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected.\n\nThis issue affects OTP from OTP\u00a018.0 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-114",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eA client holding a certificate issued by the lower-trust SNI name\u0027s CA connects to the higher-trust name as a fully authenticated mTLS peer and obtains whatever that service grants on a successful client-certificate handshake. Multi-tenant or partner-facing listeners that separate trust domains by SNI name are affected.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "A client holding a certificate issued by the lower-trust SNI name\u0027s CA connects to the higher-trust name as a fully authenticated mTLS peer and obtains whatever that service grants on a successful client-certificate handshake. Multi-tenant or partner-facing listeners that separate trust domains by SNI name are affected."
                    }
                  ],
                  "value": "A client holding a certificate issued by the lower-trust SNI name\u0027s CA connects to the higher-trust name as a fully authenticated mTLS peer and obtains whatever that service grants on a successful client-certificate handshake. Multi-tenant or partner-facing listeners that separate trust domains by SNI name are affected."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "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:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-295",
                  "description": "CWE-295 Improper Certificate Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:00:43.503Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-2g23-cgjh-34gq"
            },
            {
              "name": "EEF CNA record for CVE-2026-105236",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-105236.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-105236",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-105236"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 4fe38c4 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/4fe38c4b8b2c8024afb60990e598ff823743fd54"
            },
            {
              "name": "Fix commit 0c20f36 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/0c20f3683b3c81fd30b46047195be9b3d2c69d76"
            },
            {
              "name": "Fix commit 10ee925 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/10ee925d0fee8413f1170cc21bfcf123c8d22454"
            },
            {
              "name": "Fix commit 4d76adb in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/4d76adbf39d547a931048544df09c3c087e56618"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "TLS 1.2 session resumption in ssl crosses SNI virtual-host client-certificate trust boundaries",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eSet \u003ccode\u003e{reuse_sessions, false}\u003c/code\u003e in each SNI service\u0027s option set, or in the base listener options. The reporter\u0027s proof of concept confirmed that this blocks the cross-name resumption.\u003c/li\u003e\n\u003cli\u003eServe distinct SNI trust domains on separate listen sockets, which gives each its own session cache.\u003c/li\u003e\n\u003cli\u003eRestrict the listener to TLS 1.3 with \u003ccode\u003e{versions, [\u0027tlsv1.3\u0027]}\u003c/code\u003e. TLS 1.3 does not use the session-ID cache.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "- Set `{reuse_sessions, false}` in each SNI service\u0027s option set, or in the base listener options. The reporter\u0027s proof of concept confirmed that this blocks the cross-name resumption.\n- Serve distinct SNI trust domains on separate listen sockets, which gives each its own session cache.\n- Restrict the listener to TLS 1.3 with `{versions, [\u0027tlsv1.3\u0027]}`. TLS 1.3 does not use the session-ID cache."
                }
              ],
              "value": "* Set {reuse_sessions, false} in each SNI service\u0027s option set, or in the base listener options. The reporter\u0027s proof of concept confirmed that this blocks the cross-name resumption.\n* Serve distinct SNI trust domains on separate listen sockets, which gives each its own session cache.\n* Restrict the listener to TLS 1.3 with {versions, [\u0027tlsv1.3\u0027]}. TLS 1.3 does not use the session-ID cache."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eCreate one server certificate with subject alternative names \u003ccode\u003elow.test\u003c/code\u003e and \u003ccode\u003ehigh.test\u003c/code\u003e, two self-signed client CAs (\u003ccode\u003elow-ca\u003c/code\u003e, \u003ccode\u003ehigh-ca\u003c/code\u003e), and one client certificate signed by \u003ccode\u003elow-ca\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eStart an \u003ccode\u003essl:listen/2\u003c/code\u003e server on TLS 1.2 with \u003ccode\u003e{verify, verify_none}\u003c/code\u003e and an \u003ccode\u003esni_fun\u003c/code\u003e that returns \u003ccode\u003e{verify, verify_peer}\u003c/code\u003e, \u003ccode\u003e{fail_if_no_peer_cert, true}\u003c/code\u003e and the \u003ccode\u003elow-ca\u003c/code\u003e or \u003ccode\u003ehigh-ca\u003c/code\u003e \u003ccode\u003ecacertfile\u003c/code\u003e for the respective name. Do not set \u003ccode\u003ereuse_sessions\u003c/code\u003e anywhere.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003eopenssl s_client -servername high.test -tls1_2 -no_ticket\u003c/code\u003e using the low client certificate. The server rejects the handshake with \u003ccode\u003eunknown_ca\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003e-servername low.test\u003c/code\u003e and the same certificate, saving the session with \u003ccode\u003e-sess_out\u003c/code\u003e. The handshake succeeds.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003e-servername high.test\u003c/code\u003e and \u003ccode\u003e-sess_in\u003c/code\u003e pointing at the saved session. The server resumes the session, \u003ccode\u003essl:connection_information/2\u003c/code\u003e reports \u003ccode\u003esession_resumption\u003c/code\u003e true for \u003ccode\u003ehigh.test\u003c/code\u003e, and the application behind the protected name serves the request to a client whose certificate \u003ccode\u003ehigh-ca\u003c/code\u003e never issued.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Create one server certificate with subject alternative names `low.test` and `high.test`, two self-signed client CAs (`low-ca`, `high-ca`), and one client certificate signed by `low-ca`.\n2. Start an `ssl:listen/2` server on TLS 1.2 with `{verify, verify_none}` and an `sni_fun` that returns `{verify, verify_peer}`, `{fail_if_no_peer_cert, true}` and the `low-ca` or `high-ca` `cacertfile` for the respective name. Do not set `reuse_sessions` anywhere.\n3. Connect with `openssl s_client -servername high.test -tls1_2 -no_ticket` using the low client certificate. The server rejects the handshake with `unknown_ca`.\n4. Connect with `-servername low.test` and the same certificate, saving the session with `-sess_out`. The handshake succeeds.\n5. Connect with `-servername high.test` and `-sess_in` pointing at the saved session. The server resumes the session, `ssl:connection_information/2` reports `session_resumption` true for `high.test`, and the application behind the protected name serves the request to a client whose certificate `high-ca` never issued."
                }
              ],
              "value": "* Create one server certificate with subject alternative names low.test and high.test, two self-signed client CAs (low-ca, high-ca), and one client certificate signed by low-ca.\n* Start an ssl:listen/2 server on TLS 1.2 with {verify, verify_none} and an sni_fun that returns {verify, verify_peer}, {fail_if_no_peer_cert, true} and the low-ca or high-ca cacertfile for the respective name. Do not set reuse_sessions anywhere.\n* Connect with openssl s_client -servername high.test -tls1_2 -no_ticket using the low client certificate. The server rejects the handshake with unknown_ca.\n* Connect with -servername low.test and the same certificate, saving the session with -sess_out. The handshake succeeds.\n* Connect with -servername high.test and -sess_in pointing at the saved session. The server resumes the session, ssl:connection_information/2 reports session_resumption true for high.test, and the application behind the protected name serves the request to a client whose certificate high-ca never issued."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. One session cache per listener.\u003c/strong\u003e \u003ccode\u003etls_socket:listen/3\u003c/code\u003e starts one pre-TLS 1.3 session-ID tracker per listen socket via \u003ccode\u003esession_id_tracker/2\u003c/code\u003e. Every SNI virtual host served from that socket shares it, and the cached \u003ccode\u003e#session{}\u003c/code\u003e record stores the peer and server certificates but no SNI name and no client trust policy.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. The SNI option set inherits session reuse.\u003c/strong\u003e When the ClientHello carries a server name, \u003ccode\u003essl_gen_statem:handle_sni_extension/2\u003c/code\u003e and \u003ccode\u003ehandle_sni_hostname/2\u003c/code\u003e call \u003ccode\u003eupdate_ssl_options_from_sni/2\u003c/code\u003e, which passes the base listener options as fallback into \u003ccode\u003essl_config:update_options/3\u003c/code\u003e. The base listener\u0027s \u003ccode\u003everify_none\u003c/code\u003e has already produced \u003ccode\u003ereuse_sessions = true\u003c/code\u003e. \u003ccode\u003essl_config:opt_reuse_sessions/3\u003c/code\u003e computes a \u003ccode\u003efalse\u003c/code\u003e default for \u003ccode\u003everify_peer\u003c/code\u003e, but \u003ccode\u003eget_opt_bool/4\u003c/code\u003e finds the inherited value and keeps it when the SNI option list does not mention \u003ccode\u003ereuse_sessions\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Resumption does not revalidate the peer certificate.\u003c/strong\u003e On an abbreviated handshake \u003ccode\u003essl_handshake:select_session/8\u003c/code\u003e calls \u003ccode\u003essl_session:server_select_session/5\u003c/code\u003e, which accepts the cached session when \u003ccode\u003essl_session:is_resumable/4\u003c/code\u003e finds that it is marked resumable, that \u003ccode\u003eis_owncert/2\u003c/code\u003e matches one of the current server certificates, that \u003ccode\u003ereusable_options/2\u003c/code\u003e sees any cached peer certificate when \u003ccode\u003efail_if_no_peer_cert\u003c/code\u003e is set, and that the \u003ccode\u003ereuse_session\u003c/code\u003e fun agrees. Nothing compares the ClientHello server name with the name that created the session, and the cached peer certificate is not validated against the CA selected for the new name.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Result.\u003c/strong\u003e A client whose certificate chains to the lower-trust name\u0027s CA completes a full handshake there, then presents the same session ID with the higher-trust server name. The server resumes the session, reports \u003ccode\u003esession_resumption\u003c/code\u003e as true and the low-trust peer certificate through \u003ccode\u003essl:peercert/1\u003c/code\u003e, and the application behind the protected name sees an authenticated mTLS peer. \u003ccode\u003eis_owncert/2\u003c/code\u003e is why both names must share a server certificate.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. One session cache per listener.** `tls_socket:listen/3` starts one pre-TLS 1.3 session-ID tracker per listen socket via `session_id_tracker/2`. Every SNI virtual host served from that socket shares it, and the cached `#session{}` record stores the peer and server certificates but no SNI name and no client trust policy.\n\n**2. The SNI option set inherits session reuse.** When the ClientHello carries a server name, `ssl_gen_statem:handle_sni_extension/2` and `handle_sni_hostname/2` call `update_ssl_options_from_sni/2`, which passes the base listener options as fallback into `ssl_config:update_options/3`. The base listener\u0027s `verify_none` has already produced `reuse_sessions = true`. `ssl_config:opt_reuse_sessions/3` computes a `false` default for `verify_peer`, but `get_opt_bool/4` finds the inherited value and keeps it when the SNI option list does not mention `reuse_sessions`.\n\n**3. Resumption does not revalidate the peer certificate.** On an abbreviated handshake `ssl_handshake:select_session/8` calls `ssl_session:server_select_session/5`, which accepts the cached session when `ssl_session:is_resumable/4` finds that it is marked resumable, that `is_owncert/2` matches one of the current server certificates, that `reusable_options/2` sees any cached peer certificate when `fail_if_no_peer_cert` is set, and that the `reuse_session` fun agrees. Nothing compares the ClientHello server name with the name that created the session, and the cached peer certificate is not validated against the CA selected for the new name.\n\n**4. Result.** A client whose certificate chains to the lower-trust name\u0027s CA completes a full handshake there, then presents the same session ID with the higher-trust server name. The server resumes the session, reports `session_resumption` as true and the low-trust peer certificate through `ssl:peercert/1`, and the application behind the protected name sees an authenticated mTLS peer. `is_owncert/2` is why both names must share a server certificate."
                }
              ],
              "value": "1. One session cache per listener. tls_socket:listen/3 starts one pre-TLS 1.3 session-ID tracker per listen socket via session_id_tracker/2. Every SNI virtual host served from that socket shares it, and the cached #session{} record stores the peer and server certificates but no SNI name and no client trust policy.\n\n2. The SNI option set inherits session reuse. When the ClientHello carries a server name, ssl_gen_statem:handle_sni_extension/2 and handle_sni_hostname/2 call update_ssl_options_from_sni/2, which passes the base listener options as fallback into ssl_config:update_options/3. The base listener\u0027s verify_none has already produced reuse_sessions = true. ssl_config:opt_reuse_sessions/3 computes a false default for verify_peer, but get_opt_bool/4 finds the inherited value and keeps it when the SNI option list does not mention reuse_sessions.\n\n3. Resumption does not revalidate the peer certificate. On an abbreviated handshake ssl_handshake:select_session/8 calls ssl_session:server_select_session/5, which accepts the cached session when ssl_session:is_resumable/4 finds that it is marked resumable, that is_owncert/2 matches one of the current server certificates, that reusable_options/2 sees any cached peer certificate when fail_if_no_peer_cert is set, and that the reuse_session fun agrees. Nothing compares the ClientHello server name with the name that created the session, and the cached peer certificate is not validated against the CA selected for the new name.\n\n4. Result. A client whose certificate chains to the lower-trust name\u0027s CA completes a full handshake there, then presents the same session ID with the higher-trust server name. The server resumes the session, reports session_resumption as true and the low-trust peer certificate through ssl:peercert/1, and the application behind the protected name sees an authenticated mTLS peer. is_owncert/2 is why both names must share a server certificate."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-105236",
        "datePublished": "2026-10-14T16:55:51.495Z",
        "dateReserved": "2026-10-08T14:45:01.411Z",
        "dateUpdated": "2026-11-20T06:00:43.503Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-89422 (GCVE-0-2026-89422)

    Vulnerability from nvd – Published: 2026-09-22 08:49 – Updated: 2026-11-20 06:02
    VLAI
    Title
    TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension
    Summary
    Key Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to impersonate the intended server. A pre_shared_key extension in the ServerHello that the client never offered causes the client to complete the handshake without validating the server's certificate, so ssl:connect returns {ok, Socket} against a peer holding no certificate, no private key and no prior session. tls_client_connection_1_3:handle_server_hello/2 passes the received extension to tls_gen_connection_1_3:handle_resumption/2, which sets resumption = true on its mere presence without checking that the client offered a PSK. tls_handshake_1_3:get_pre_shared_key/4 meanwhile falls back to the all-zero "no PSK" value and keys the handshake with the ordinary non-PSK schedule, so the attacker's own ephemeral key suffices. The resumption flag then routes maybe_resumption/1 straight to wait_finished, skipping the certificate-handling states, so certificate path validation, verify_fun, hostname verification, partial_chain, CRL checking and OCSP stapling are all bypassed. The default client configuration is affected; clients restricted to TLS 1.2 are not. This issue affects OTP from OTP 22.2 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssl from 9.5 before 11.2.12.13, 11.6.0.6, and 11.7.7.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: total
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-22 13:08 UTC
    CWE
    • CWE-322 - Key Exchange without Entity Authentication
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 9.5 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 22.2 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 21b8a1b0ad0adf200682b3854bc50114ab2b8c62 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-09-22 08:49
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-89422",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "total"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-22T13:08:04.474621Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-22T13:08:15.912Z",
              "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": [
                "tls_client_connection_1_3",
                "tls_gen_connection_1_3",
                "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_client_connection_1_3.erl",
                "src/tls_gen_connection_1_3.erl",
                "src/tls_handshake_1_3.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_client_connection_1_3:handle_server_hello/2"
                },
                {
                  "name": "tls_client_connection_1_3:handle_encrypted_extensions/2"
                },
                {
                  "name": "tls_client_connection_1_3:maybe_resumption/1"
                },
                {
                  "name": "tls_gen_connection_1_3:handle_resumption/2"
                },
                {
                  "name": "tls_handshake_1_3:get_pre_shared_key/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.13",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.6",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.7",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "9.5",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "tls_client_connection_1_3",
                "tls_gen_connection_1_3",
                "tls_handshake_1_3"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_client_connection_1_3.erl",
                "lib/ssl/src/tls_gen_connection_1_3.erl",
                "lib/ssl/src/tls_handshake_1_3.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_client_connection_1_3:handle_server_hello/2"
                },
                {
                  "name": "tls_client_connection_1_3:handle_encrypted_extensions/2"
                },
                {
                  "name": "tls_client_connection_1_3:maybe_resumption/1"
                },
                {
                  "name": "tls_gen_connection_1_3:handle_resumption/2"
                },
                {
                  "name": "tls_handshake_1_3:get_pre_shared_key/4"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.18",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.1",
                      "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_client_connection_1_3",
                "tls_gen_connection_1_3",
                "tls_handshake_1_3"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/tls_client_connection_1_3.erl",
                "lib/ssl/src/tls_gen_connection_1_3.erl",
                "lib/ssl/src/tls_handshake_1_3.erl"
              ],
              "programRoutines": [
                {
                  "name": "tls_client_connection_1_3:handle_server_hello/2"
                },
                {
                  "name": "tls_client_connection_1_3:handle_encrypted_extensions/2"
                },
                {
                  "name": "tls_client_connection_1_3:maybe_resumption/1"
                },
                {
                  "name": "tls_gen_connection_1_3:handle_resumption/2"
                },
                {
                  "name": "tls_handshake_1_3:get_pre_shared_key/4"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "98c66c858113949c4262d26cd7d426c4b09d2b35",
                      "status": "unaffected"
                    },
                    {
                      "at": "afec5156361bb50d3607c7c1a453c19b9149b324",
                      "status": "unaffected"
                    },
                    {
                      "at": "fd1d9d07fc92ec0d59f96dfb66182195882bb7dd",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "21b8a1b0ad0adf200682b3854bc50114ab2b8c62",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.18",
                      "versionStartIncluding": "22.2",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.7",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.1",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Luna Tong / Anthropic"
            },
            {
              "lang": "en",
              "type": "finder",
              "value": "Milad Nasr / Anthropic"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Ingela Andin"
            }
          ],
          "dateAssigned": "2026-09-16T10:27:13.000Z",
          "datePublic": "2026-09-22T08:49:16.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eKey Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to impersonate the intended server. A \u003ccode\u003epre_shared_key\u003c/code\u003e extension in the \u003ccode\u003eServerHello\u003c/code\u003e that the client never offered causes the client to complete the handshake without validating the server\u0027s certificate, so \u003ccode\u003essl:connect\u003c/code\u003e returns \u003ccode\u003e{ok, Socket}\u003c/code\u003e against a peer holding no certificate, no private key and no prior session.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003etls_client_connection_1_3:handle_server_hello/2\u003c/code\u003e passes the received extension to \u003ccode\u003etls_gen_connection_1_3:handle_resumption/2\u003c/code\u003e, which sets \u003ccode\u003eresumption = true\u003c/code\u003e on its mere presence without checking that the client offered a PSK. \u003ccode\u003etls_handshake_1_3:get_pre_shared_key/4\u003c/code\u003e meanwhile falls back to the all-zero \"no PSK\" value and keys the handshake with the ordinary non-PSK schedule, so the attacker\u0027s own ephemeral key suffices. The resumption flag then routes \u003ccode\u003emaybe_resumption/1\u003c/code\u003e straight to \u003ccode\u003ewait_finished\u003c/code\u003e, skipping the certificate-handling states, so certificate path validation, \u003ccode\u003everify_fun\u003c/code\u003e, hostname verification, \u003ccode\u003epartial_chain\u003c/code\u003e, CRL checking and OCSP stapling are all bypassed. The default client configuration is affected; clients restricted to TLS 1.2 are not.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;22.2 before OTP\u0026nbsp;27.3.4.18, OTP\u0026nbsp;28.5.0.7, and OTP\u0026nbsp;29.1.1, corresponding to ssl from 9.5 before 11.2.12.13, 11.6.0.6, and 11.7.7.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Key Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to impersonate the intended server. A `pre_shared_key` extension in the `ServerHello` that the client never offered causes the client to complete the handshake without validating the server\u0027s certificate, so `ssl:connect` returns `{ok, Socket}` against a peer holding no certificate, no private key and no prior session.\n\n`tls_client_connection_1_3:handle_server_hello/2` passes the received extension to `tls_gen_connection_1_3:handle_resumption/2`, which sets `resumption = true` on its mere presence without checking that the client offered a PSK. `tls_handshake_1_3:get_pre_shared_key/4` meanwhile falls back to the all-zero \"no PSK\" value and keys the handshake with the ordinary non-PSK schedule, so the attacker\u0027s own ephemeral key suffices. The resumption flag then routes `maybe_resumption/1` straight to `wait_finished`, skipping the certificate-handling states, so certificate path validation, `verify_fun`, hostname verification, `partial_chain`, CRL checking and OCSP stapling are all bypassed. The default client configuration is affected; clients restricted to TLS 1.2 are not.\n\nThis issue affects OTP from OTP\u00a022.2 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to ssl from 9.5 before 11.2.12.13, 11.6.0.6, and 11.7.7."
                }
              ],
              "value": "Key Exchange without Entity Authentication vulnerability in Erlang/OTP ssl allows a peer that answers a TLS 1.3 client connection to impersonate the intended server. A pre_shared_key extension in the ServerHello that the client never offered causes the client to complete the handshake without validating the server\u0027s certificate, so ssl:connect returns {ok, Socket} against a peer holding no certificate, no private key and no prior session.\n\ntls_client_connection_1_3:handle_server_hello/2 passes the received extension to tls_gen_connection_1_3:handle_resumption/2, which sets resumption = true on its mere presence without checking that the client offered a PSK. tls_handshake_1_3:get_pre_shared_key/4 meanwhile falls back to the all-zero \"no PSK\" value and keys the handshake with the ordinary non-PSK schedule, so the attacker\u0027s own ephemeral key suffices. The resumption flag then routes maybe_resumption/1 straight to wait_finished, skipping the certificate-handling states, so certificate path validation, verify_fun, hostname verification, partial_chain, CRL checking and OCSP stapling are all bypassed. The default client configuration is affected; clients restricted to TLS 1.2 are not.\n\nThis issue affects OTP from OTP\u00a022.2 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to ssl from 9.5 before 11.2.12.13, 11.6.0.6, and 11.7.7."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-94",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker that answers a TLS 1.3 client connection, either as the host the client dials or as an on-path attacker, completes the handshake as the intended server and holds all traffic keys. It can read everything the application sends, including credentials, tokens and request bodies, and forge every response. Any consumer of \u003ccode\u003essl:connect\u003c/code\u003e that negotiates TLS 1.3 is affected, including \u003ccode\u003ehttpc\u003c/code\u003e over HTTPS, database and messaging client libraries, and TLS distribution clients.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker that answers a TLS 1.3 client connection, either as the host the client dials or as an on-path attacker, completes the handshake as the intended server and holds all traffic keys. It can read everything the application sends, including credentials, tokens and request bodies, and forge every response. Any consumer of `ssl:connect` that negotiates TLS 1.3 is affected, including `httpc` over HTTPS, database and messaging client libraries, and TLS distribution clients."
                    }
                  ],
                  "value": "An attacker that answers a TLS 1.3 client connection, either as the host the client dials or as an on-path attacker, completes the handshake as the intended server and holds all traffic keys. It can read everything the application sends, including credentials, tokens and request bodies, and forge every response. Any consumer of ssl:connect that negotiates TLS 1.3 is affected, including httpc over HTTPS, database and messaging client libraries, and TLS distribution clients."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 9.3,
                "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:N/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-322",
                  "description": "CWE-322 Key Exchange without Entity Authentication",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:02:58.546Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-rgxr-4g4w-j875"
            },
            {
              "name": "EEF CNA record for CVE-2026-89422",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-89422.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-89422",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-89422"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 21b8a1b in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/21b8a1b0ad0adf200682b3854bc50114ab2b8c62"
            },
            {
              "name": "Fix commit 98c66c8 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/98c66c858113949c4262d26cd7d426c4b09d2b35"
            },
            {
              "name": "Fix commit afec515 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/afec5156361bb50d3607c7c1a453c19b9149b324"
            },
            {
              "name": "Fix commit fd1d9d0 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/fd1d9d07fc92ec0d59f96dfb66182195882bb7dd"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "TLS 1.3 client skips server authentication when ServerHello carries an unsolicited pre_shared_key extension",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eRestrict affected clients to TLS 1.2 by setting \u003ccode\u003e{versions, [\u0027tlsv1.2\u0027]}\u003c/code\u003e in the client\u0027s \u003ccode\u003essl\u003c/code\u003e options. This avoids the vulnerable code path at the cost of losing TLS 1.3.\u003c/p\u003e\n\u003cp\u003eNo configuration both keeps TLS 1.3 and mitigates the issue.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Restrict affected clients to TLS 1.2 by setting `{versions, [\u0027tlsv1.2\u0027]}` in the client\u0027s `ssl` options. This avoids the vulnerable code path at the cost of losing TLS 1.3.\n\nNo configuration both keeps TLS 1.3 and mitigates the issue."
                }
              ],
              "value": "Restrict affected clients to TLS 1.2 by setting {versions, [\u0027tlsv1.2\u0027]} in the client\u0027s ssl options. This avoids the vulnerable code path at the cost of losing TLS 1.3.\n\nNo configuration both keeps TLS 1.3 and mitigates the issue."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-89422",
        "datePublished": "2026-09-22T08:49:16.171Z",
        "dateReserved": "2026-09-11T18:45:01.480Z",
        "dateUpdated": "2026-11-20T06:02:58.546Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-68956 (GCVE-0-2026-68956)

    Vulnerability from nvd – Published: 2026-09-22 08:49 – Updated: 2026-11-20 06:02
    VLAI
    Title
    SSH daemon allocates unbounded idle session channels, bypassing max_channels
    Summary
    Allocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP ssh allows an authenticated remote attacker to exhaust node memory by repeatedly opening session channels that are never assigned a handler. The "session" clause of ssh_connection:handle_msg/4 checks only minimal_remote_max_packet_size before calling setup_session/5, which unconditionally builds a #channel{} record and stores it in the ETS channel cache. The max_channels daemon option is consulted only by ssh_channel_sup:max_num_channels_not_exceeded/2, which counts supervisor children, so a channel that never gets a shell, exec, or subsystem handler is invisible to the limit and setting the option to a finite value does not mitigate the attack. RFC 4254 section 5.1 permits many session channels per connection, and each record costs only a few hundred bytes, so a single authenticated connection can accumulate channels until the node runs out of memory and the emulator terminates, affecting every application on it. No file contents, credentials, or write access are obtainable. This issue affects OTP from OTP 18.1.2 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssh from 4.1.1 before 5.2.11.13, 5.5.2.6, and 6.0.6. Whether OTP before OTP 18.1.2, corresponding to ssh before 4.1.1, is affected is unknown.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-22 10:12 UTC
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 4.1.1 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 18.1.2 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 84df3d4d0278e21a36a453bfee94799f0df67c2a , < * (git)
    Unaffected: 79c2d2be17d902c5f53969b5806b725efda831be , < * (git)
    Unaffected: e18100975f0e5a8d59d02de00df12247a91b443b , < * (git)
    Unaffected: e2bbad0107bba41491a4d549686fd023db8740da , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-09-22 08:49
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-68956",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-22T10:12:21.867151Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-22T10:25:30.750Z",
              "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": [
                "ssh_connection",
                "ssh_channel_sup"
              ],
              "packageName": "ssh",
              "packageURL": "pkg:otp/ssh?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/ssh_connection.erl",
                "src/ssh_channel_sup.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssh_connection:handle_msg/4"
                },
                {
                  "name": "ssh_connection:setup_session/5"
                },
                {
                  "name": "ssh_channel_sup:max_num_channels_not_exceeded/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "5.2.11.13",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.5.2.6",
                      "status": "unaffected"
                    },
                    {
                      "at": "6.0.6",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "4.1.1",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "ssh_connection",
                "ssh_channel_sup"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssh/src/ssh_connection.erl",
                "lib/ssh/src/ssh_channel_sup.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssh_connection:handle_msg/4"
                },
                {
                  "name": "ssh_connection:setup_session/5"
                },
                {
                  "name": "ssh_channel_sup:max_num_channels_not_exceeded/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.18",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.1",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "18.1.2",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "ssh_connection",
                "ssh_channel_sup"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssh/src/ssh_connection.erl",
                "lib/ssh/src/ssh_channel_sup.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssh_connection:handle_msg/4"
                },
                {
                  "name": "ssh_connection:setup_session/5"
                },
                {
                  "name": "ssh_channel_sup:max_num_channels_not_exceeded/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "79c2d2be17d902c5f53969b5806b725efda831be",
                      "status": "unaffected"
                    },
                    {
                      "at": "e18100975f0e5a8d59d02de00df12247a91b443b",
                      "status": "unaffected"
                    },
                    {
                      "at": "e2bbad0107bba41491a4d549686fd023db8740da",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "84df3d4d0278e21a36a453bfee94799f0df67c2a",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "79c2d2be17d902c5f53969b5806b725efda831be",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "e18100975f0e5a8d59d02de00df12247a91b443b",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "e2bbad0107bba41491a4d549686fd023db8740da",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.18",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.7",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.1",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Micha\u0142 W\u0105sowski / Ericsson"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Jakub Witczak / Ericsson"
            }
          ],
          "datePublic": "2026-09-22T08:49:22.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAllocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP ssh allows an authenticated remote attacker to exhaust node memory by repeatedly opening session channels that are never assigned a handler.\u003c/p\u003e\n\u003cp\u003eThe \u003ccode\u003e\"session\"\u003c/code\u003e clause of \u003ccode\u003essh_connection:handle_msg/4\u003c/code\u003e checks only \u003ccode\u003eminimal_remote_max_packet_size\u003c/code\u003e before calling \u003ccode\u003esetup_session/5\u003c/code\u003e, which unconditionally builds a \u003ccode\u003e#channel{}\u003c/code\u003e record and stores it in the ETS channel cache. The \u003ccode\u003emax_channels\u003c/code\u003e daemon option is consulted only by \u003ccode\u003essh_channel_sup:max_num_channels_not_exceeded/2\u003c/code\u003e, which counts supervisor children, so a channel that never gets a shell, exec, or subsystem handler is invisible to the limit and setting the option to a finite value does not mitigate the attack. RFC 4254 section 5.1 permits many session channels per connection, and each record costs only a few hundred bytes, so a single authenticated connection can accumulate channels until the node runs out of memory and the emulator terminates, affecting every application on it. No file contents, credentials, or write access are obtainable.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;18.1.2 before OTP\u0026nbsp;27.3.4.18, OTP\u0026nbsp;28.5.0.7, and OTP\u0026nbsp;29.1.1, corresponding to ssh from 4.1.1 before 5.2.11.13, 5.5.2.6, and 6.0.6. Whether OTP before OTP\u0026nbsp;18.1.2, corresponding to ssh before 4.1.1, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP ssh allows an authenticated remote attacker to exhaust node memory by repeatedly opening session channels that are never assigned a handler.\n\nThe `\"session\"` clause of `ssh_connection:handle_msg/4` checks only `minimal_remote_max_packet_size` before calling `setup_session/5`, which unconditionally builds a `#channel{}` record and stores it in the ETS channel cache. The `max_channels` daemon option is consulted only by `ssh_channel_sup:max_num_channels_not_exceeded/2`, which counts supervisor children, so a channel that never gets a shell, exec, or subsystem handler is invisible to the limit and setting the option to a finite value does not mitigate the attack. RFC 4254 section 5.1 permits many session channels per connection, and each record costs only a few hundred bytes, so a single authenticated connection can accumulate channels until the node runs out of memory and the emulator terminates, affecting every application on it. No file contents, credentials, or write access are obtainable.\n\nThis issue affects OTP from OTP\u00a018.1.2 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to ssh from 4.1.1 before 5.2.11.13, 5.5.2.6, and 6.0.6. Whether OTP before OTP\u00a018.1.2, corresponding to ssh before 4.1.1, is affected is unknown."
                }
              ],
              "value": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP ssh allows an authenticated remote attacker to exhaust node memory by repeatedly opening session channels that are never assigned a handler.\n\nThe \"session\" clause of ssh_connection:handle_msg/4 checks only minimal_remote_max_packet_size before calling setup_session/5, which unconditionally builds a #channel{} record and stores it in the ETS channel cache. The max_channels daemon option is consulted only by ssh_channel_sup:max_num_channels_not_exceeded/2, which counts supervisor children, so a channel that never gets a shell, exec, or subsystem handler is invisible to the limit and setting the option to a finite value does not mitigate the attack. RFC 4254 section 5.1 permits many session channels per connection, and each record costs only a few hundred bytes, so a single authenticated connection can accumulate channels until the node runs out of memory and the emulator terminates, affecting every application on it. No file contents, credentials, or write access are obtainable.\n\nThis issue affects OTP from OTP\u00a018.1.2 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to ssh from 4.1.1 before 5.2.11.13, 5.5.2.6, and 6.0.6. Whether OTP before OTP\u00a018.1.2, corresponding to ssh before 4.1.1, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-125",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-125 Flooding"
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "baseScore": 7.1,
                "baseSeverity": "HIGH",
                "privilegesRequired": "LOW",
                "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: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-770",
                  "description": "CWE-770 Allocation of Resources Without Limits or Throttling",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:02:51.183Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-qhcm-px9c-rvfh"
            },
            {
              "name": "EEF CNA record for CVE-2026-68956",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-68956.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-68956",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-68956"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 84df3d4 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/84df3d4d0278e21a36a453bfee94799f0df67c2a"
            },
            {
              "name": "Fix commit 79c2d2b in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/79c2d2be17d902c5f53969b5806b725efda831be"
            },
            {
              "name": "Fix commit e181009 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/e18100975f0e5a8d59d02de00df12247a91b443b"
            },
            {
              "name": "Fix commit e2bbad0 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/e2bbad0107bba41491a4d549686fd023db8740da"
            }
          ],
          "source": {
            "discovery": "INTERNAL"
          },
          "title": "SSH daemon allocates unbounded idle session channels, bypassing max_channels",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eNo option bounds the number of idle session channels, so the following reduce exposure without eliminating the issue.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eRestrict network access to the SSH daemon to trusted clients. Exploitation requires a successfully authenticated session, so limiting who can authenticate is the most effective control available.\u003c/li\u003e\n\u003cli\u003eSet the \u003ccode\u003emax_sessions\u003c/code\u003e daemon option to a finite value to bound the number of concurrent connections. This limits how many connections can mount the attack in parallel, though a single connection still suffices to exhaust memory.\u003c/li\u003e\n\u003cli\u003eApply operating-system or firewall connection-rate and connection-count limits per source address.\u003c/li\u003e\n\u003cli\u003eMonitor node memory externally and restart the emulator when it exceeds a threshold.\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eSetting \u003ccode\u003emax_channels\u003c/code\u003e is not a workaround: idle session channels bypass that check entirely.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "No option bounds the number of idle session channels, so the following reduce exposure without eliminating the issue.\n\n* Restrict network access to the SSH daemon to trusted clients. Exploitation requires a successfully authenticated session, so limiting who can authenticate is the most effective control available.\n* Set the `max_sessions` daemon option to a finite value to bound the number of concurrent connections. This limits how many connections can mount the attack in parallel, though a single connection still suffices to exhaust memory.\n* Apply operating-system or firewall connection-rate and connection-count limits per source address.\n* Monitor node memory externally and restart the emulator when it exceeds a threshold.\n\nSetting `max_channels` is not a workaround: idle session channels bypass that check entirely."
                }
              ],
              "value": "No option bounds the number of idle session channels, so the following reduce exposure without eliminating the issue.\n\n* Restrict network access to the SSH daemon to trusted clients. Exploitation requires a successfully authenticated session, so limiting who can authenticate is the most effective control available.\n* Set the max_sessions daemon option to a finite value to bound the number of concurrent connections. This limits how many connections can mount the attack in parallel, though a single connection still suffices to exhaust memory.\n* Apply operating-system or firewall connection-rate and connection-count limits per source address.\n* Monitor node memory externally and restart the emulator when it exceeds a threshold.\n\nSetting max_channels is not a workaround: idle session channels bypass that check entirely."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-68956",
        "datePublished": "2026-09-22T08:49:21.760Z",
        "dateReserved": "2026-08-17T13:30:02.155Z",
        "dateUpdated": "2026-11-20T06:02:51.183Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-65634 (GCVE-0-2026-65634)

    Vulnerability from nvd – Published: 2026-09-22 08:49 – Updated: 2026-11-20 06:02
    VLAI
    Title
    Superlinear CPU denial of service in Erlang/OTP ASN.1 OBJECT IDENTIFIER decoder
    Summary
    Inefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake. The BER OID decoder asn1rtt_ber:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_ber.erl and the equivalent PER helper asn1rtt_per_common:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_per_common.erl accumulate a base-128 subidentifier into an unbounded integer using (Av bsl 7) + H per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper asn1rtt_jer:json2oid/1 in lib/asn1/src/asn1rtt_jer.erl exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware. The vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including OTP-PUB-KEY which is reached during X.509 certificate parsing via public_key:pkix_decode_cert/2. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates). This vulnerability is associated with program files lib/asn1/src/asn1rtt_ber.erl, lib/asn1/src/asn1rtt_per_common.erl and lib/asn1/src/asn1rtt_jer.erl and program routines asn1rtt_ber:dec_subidentifiers/3, asn1rtt_per_common:dec_subidentifiers/3 and asn1rtt_jer:json2oid/1. This issue affects OTP from OTP 17.0 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP 17.0, corresponding to asn1 before 3.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-22 10:12 UTC
    CWE
    • CWE-407 - Inefficient Algorithmic Complexity
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 3.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 , < 0fe2c02fdc06fab1c63be9db1a7456993d20f838 (git)
    Unaffected: 0fe2c02fdc06fab1c63be9db1a7456993d20f838 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-09-22 08:49
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-65634",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-22T10:12:07.686442Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-22T10:15:28.691Z",
              "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": [
                "asn1rtt_ber",
                "asn1rtt_per_common",
                "asn1rtt_jer"
              ],
              "packageName": "asn1",
              "packageURL": "pkg:otp/asn1?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/asn1rtt_ber.erl",
                "src/asn1rtt_per_common.erl",
                "src/asn1rtt_jer.erl"
              ],
              "programRoutines": [
                {
                  "name": "asn1rtt_ber:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_per_common:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_jer:json2oid/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "5.3.4.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.4.3.1",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.5.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "3.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "asn1rtt_ber",
                "asn1rtt_per_common",
                "asn1rtt_jer"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/asn1/src/asn1rtt_ber.erl",
                "lib/asn1/src/asn1rtt_per_common.erl",
                "lib/asn1/src/asn1rtt_jer.erl"
              ],
              "programRoutines": [
                {
                  "name": "asn1rtt_ber:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_per_common:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_jer:json2oid/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.18",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.1",
                      "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": [
                "asn1rtt_ber",
                "asn1rtt_per_common",
                "asn1rtt_jer"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/asn1/src/asn1rtt_ber.erl",
                "lib/asn1/src/asn1rtt_per_common.erl",
                "lib/asn1/src/asn1rtt_jer.erl"
              ],
              "programRoutines": [
                {
                  "name": "asn1rtt_ber:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_per_common:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_jer:json2oid/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "0fe2c02fdc06fab1c63be9db1a7456993d20f838",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "0fe2c02fdc06fab1c63be9db1a7456993d20f838",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.18",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.7",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.1",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "tynus2"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "John H\u00f6gberg"
            }
          ],
          "datePublic": "2026-09-22T08:49:25.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eInefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake.\u003c/p\u003e\n\u003cp\u003eThe BER OID decoder \u003ccode\u003easn1rtt_ber:dec_subidentifiers/3\u003c/code\u003e in \u003ccode\u003elib/asn1/src/asn1rtt_ber.erl\u003c/code\u003e and the equivalent PER helper \u003ccode\u003easn1rtt_per_common:dec_subidentifiers/3\u003c/code\u003e in \u003ccode\u003elib/asn1/src/asn1rtt_per_common.erl\u003c/code\u003e accumulate a base-128 subidentifier into an unbounded integer using \u003ccode\u003e(Av bsl 7) + H\u003c/code\u003e per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper \u003ccode\u003easn1rtt_jer:json2oid/1\u003c/code\u003e in \u003ccode\u003elib/asn1/src/asn1rtt_jer.erl\u003c/code\u003e exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware.\u003c/p\u003e\n\u003cp\u003eThe vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including \u003ccode\u003eOTP-PUB-KEY\u003c/code\u003e which is reached during X.509 certificate parsing via \u003ccode\u003epublic_key:pkix_decode_cert/2\u003c/code\u003e. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates).\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program files \u003ccode\u003elib/asn1/src/asn1rtt_ber.erl\u003c/code\u003e, \u003ccode\u003elib/asn1/src/asn1rtt_per_common.erl\u003c/code\u003e and \u003ccode\u003elib/asn1/src/asn1rtt_jer.erl\u003c/code\u003e and program routines \u003ccode\u003easn1rtt_ber:dec_subidentifiers/3\u003c/code\u003e, \u003ccode\u003easn1rtt_per_common:dec_subidentifiers/3\u003c/code\u003e and \u003ccode\u003easn1rtt_jer:json2oid/1\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.18, OTP\u0026nbsp;28.5.0.7, and OTP\u0026nbsp;29.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to asn1 before 3.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Inefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake.\n\nThe BER OID decoder `asn1rtt_ber:dec_subidentifiers/3` in `lib/asn1/src/asn1rtt_ber.erl` and the equivalent PER helper `asn1rtt_per_common:dec_subidentifiers/3` in `lib/asn1/src/asn1rtt_per_common.erl` accumulate a base-128 subidentifier into an unbounded integer using `(Av bsl 7) + H` per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper `asn1rtt_jer:json2oid/1` in `lib/asn1/src/asn1rtt_jer.erl` exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware.\n\nThe vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including `OTP-PUB-KEY` which is reached during X.509 certificate parsing via `public_key:pkix_decode_cert/2`. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates).\n\nThis vulnerability is associated with program files `lib/asn1/src/asn1rtt_ber.erl`, `lib/asn1/src/asn1rtt_per_common.erl` and `lib/asn1/src/asn1rtt_jer.erl` and program routines `asn1rtt_ber:dec_subidentifiers/3`, `asn1rtt_per_common:dec_subidentifiers/3` and `asn1rtt_jer:json2oid/1`.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP\u00a017.0, corresponding to asn1 before 3.0, is affected is unknown."
                }
              ],
              "value": "Inefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake.\n\nThe BER OID decoder asn1rtt_ber:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_ber.erl and the equivalent PER helper asn1rtt_per_common:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_per_common.erl accumulate a base-128 subidentifier into an unbounded integer using (Av bsl 7) + H per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper asn1rtt_jer:json2oid/1 in lib/asn1/src/asn1rtt_jer.erl exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware.\n\nThe vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including OTP-PUB-KEY which is reached during X.509 certificate parsing via public_key:pkix_decode_cert/2. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates).\n\nThis vulnerability is associated with program files lib/asn1/src/asn1rtt_ber.erl, lib/asn1/src/asn1rtt_per_common.erl and lib/asn1/src/asn1rtt_jer.erl and program routines asn1rtt_ber:dec_subidentifiers/3, asn1rtt_per_common:dec_subidentifiers/3 and asn1rtt_jer:json2oid/1.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP\u00a017.0, corresponding to asn1 before 3.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-229",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-229 Serialized Data Parameter Blowup"
                }
              ]
            }
          ],
          "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-407",
                  "description": "CWE-407 Inefficient Algorithmic Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:02:43.166Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-qghx-23m5-r55m"
            },
            {
              "name": "EEF CNA record for CVE-2026-65634",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-65634.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-65634",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-65634"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 0fe2c02 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/0fe2c02fdc06fab1c63be9db1a7456993d20f838"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Superlinear CPU denial of service in Erlang/OTP ASN.1 OBJECT IDENTIFIER decoder"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-65634",
        "datePublished": "2026-09-22T08:49:24.743Z",
        "dateReserved": "2026-07-22T13:58:26.233Z",
        "dateUpdated": "2026-11-20T06:02:43.166Z",
        "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
    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
    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-11-24 15:12
    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.
    CWE
    • CWE-347 - Improper Verification of Cryptographic Signature
    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": {
        "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-11-24T15:12:02.452Z",
        "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-11-24 15:10
    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.
    CWE
    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": {
        "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-11-24T15:10:40.813Z",
        "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-11-24 15:09
    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.
    CWE
    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": {
        "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-11-24T15:09:37.711Z",
        "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-11-24 15:08
    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.
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-787 - Out-of-bounds Write
    • CWE-125 - Out-of-bounds Read
    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": {
        "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-11-24T15:08:20.708Z",
        "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-11-24 15:07
    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.
    CWE
    • CWE-1284 - Improper Validation of Specified Quantity in Input
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    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": {
        "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-11-24T15:07:29.123Z",
        "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-11-24 15:05
    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.
    CWE
    • CWE-770 - Allocation of Resources Without Limits or Throttling
    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": {
        "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-11-24T15:05:52.681Z",
        "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-11-24 15:05
    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.
    CWE
    • CWE-113 - Improper Neutralization of CRLF Sequences in HTTP Headers
    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": {
        "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-11-24T15:05:06.420Z",
        "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-11-24 15:02
    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.
    CWE
    • CWE-611 - Improper Restriction of XML External Entity Reference
    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": {
        "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-11-24T15:02:12.313Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-96596 (GCVE-0-2026-96596)

    Vulnerability from cvelistv5 – Published: 2026-10-14 16:56 – Updated: 2026-11-20 06:00
    VLAI
    Title
    erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole
    Summary
    Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Erlang OTP stdlib (erl_tar module), hexpm hex_core (hex_erl_tar module), hexpm hex (mix_hex_erl_tar module) and erlang rebar3 (r3_hex_erl_tar module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member. When erl_tar:extract/1,2 writes a member to disk, erl_tar:stream_to_file_loop/3 reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, erl_tar:do_sparse_read/3 matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The {max_size, N} option prevents this only when N is below the real size of the member. Extraction with the memory option is not affected. hex_core ships its own copy of erl_tar as hex_erl_tar, and Hex and rebar3 ship hex_core with prefixed module names (mix_hex_erl_tar and r3_hex_erl_tar). These copies contain the same code and do not call stdlib's erl_tar, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3. This issue affects OTP from OTP 29.0 before OTP 29.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-10-16 20:07 UTC
    CWE
    • CWE-835 - Loop with Unreachable Exit Condition
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 8.0 , < 8.1.1 (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 29.0 , < 29.1.2 (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f , < 3086307f311b78b38644a7787a3aca6a3f95a9d5 (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    erlang rebar3 Affected: 3.27.1 , < 3.28.0 (semver)
        cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
    Create a notification for this product.
    erlang rebar3 Affected: 23dbdb5d1f87f56902aef296c88a20049cd0c6e4 , < 310e2ec8c7dd3df05d67af2b7fae23f30fc523c4 (git)
        cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex Affected: 2.4.2 , < 2.5.3 (semver)
        cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex Affected: 5543a1919c709d8eb2b317f62aad76ca1eed375c , < * (git)
        cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex_core Affected: 0.14.0 , < 0.20.1 (semver)
        cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
    Create a notification for this product.
    hexpm hex_core Affected: 13bb9fbba418a406af614790b8d5cd458259ee70 , < a2ece683e6e88a3ec95ad20b09aca426e08b372e (git)
        cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 16:56
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-96596",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-10-16T20:07:46.754736Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-10-16T20:08:17.542Z",
              "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": [
                "erl_tar"
              ],
              "packageName": "stdlib",
              "packageURL": "pkg:otp/stdlib?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/erl_tar.erl"
              ],
              "programRoutines": [
                {
                  "name": "erl_tar:do_sparse_read/3"
                },
                {
                  "name": "erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "erl_tar:extract/1"
                },
                {
                  "name": "erl_tar:extract/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "8.1.1",
                  "status": "affected",
                  "version": "8.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erl_tar"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/stdlib/src/erl_tar.erl"
              ],
              "programRoutines": [
                {
                  "name": "erl_tar:do_sparse_read/3"
                },
                {
                  "name": "erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "erl_tar:extract/1"
                },
                {
                  "name": "erl_tar:extract/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "29.1.2",
                  "status": "affected",
                  "version": "29.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "erl_tar"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/stdlib/src/erl_tar.erl"
              ],
              "programRoutines": [
                {
                  "name": "erl_tar:do_sparse_read/3"
                },
                {
                  "name": "erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "erl_tar:extract/1"
                },
                {
                  "name": "erl_tar:extract/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "3086307f311b78b38644a7787a3aca6a3f95a9d5",
                  "status": "affected",
                  "version": "fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f",
                  "versionType": "git"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "r3_hex_erl_tar",
                "r3_hex_tarball"
              ],
              "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_erl_tar.erl",
                "apps/rebar/src/vendored/r3_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "r3_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "r3_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "r3_hex_erl_tar:extract/1"
                },
                {
                  "name": "r3_hex_erl_tar:extract/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/3"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/erlang/rebar3",
              "vendor": "erlang",
              "versions": [
                {
                  "lessThan": "3.28.0",
                  "status": "affected",
                  "version": "3.27.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "r3_hex_erl_tar",
                "r3_hex_tarball"
              ],
              "packageName": "erlang/rebar3",
              "packageURL": "pkg:github/erlang/rebar3",
              "product": "rebar3",
              "programFiles": [
                "apps/rebar/src/vendored/r3_hex_erl_tar.erl",
                "apps/rebar/src/vendored/r3_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "r3_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "r3_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "r3_hex_erl_tar:extract/1"
                },
                {
                  "name": "r3_hex_erl_tar:extract/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/2"
                },
                {
                  "name": "r3_hex_tarball:unpack/3"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "r3_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/erlang/rebar3",
              "vendor": "erlang",
              "versions": [
                {
                  "lessThan": "310e2ec8c7dd3df05d67af2b7fae23f30fc523c4",
                  "status": "affected",
                  "version": "23dbdb5d1f87f56902aef296c88a20049cd0c6e4",
                  "versionType": "git"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "mix_hex_erl_tar",
                "mix_hex_tarball"
              ],
              "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_erl_tar.erl",
                "src/mix_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "mix_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "mix_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "mix_hex_erl_tar:extract/1"
                },
                {
                  "name": "mix_hex_erl_tar:extract/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/3"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "2.5.3",
                  "status": "affected",
                  "version": "2.4.2",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "mix_hex_erl_tar",
                "mix_hex_tarball"
              ],
              "packageName": "hexpm/hex",
              "packageURL": "pkg:github/hexpm/hex",
              "product": "hex",
              "programFiles": [
                "src/mix_hex_erl_tar.erl",
                "src/mix_hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "mix_hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "mix_hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "mix_hex_erl_tar:extract/1"
                },
                {
                  "name": "mix_hex_erl_tar:extract/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/2"
                },
                {
                  "name": "mix_hex_tarball:unpack/3"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/2"
                },
                {
                  "name": "mix_hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex",
              "vendor": "hexpm",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "7847c23d09ab52113614c3718e1e7d368743da5d",
                      "status": "unaffected"
                    },
                    {
                      "at": "8e1067131a13949eff30623f31648a945ffd5418",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "5543a1919c709d8eb2b317f62aad76ca1eed375c",
                  "versionType": "git"
                }
              ]
            },
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "hex_erl_tar",
                "hex_tarball"
              ],
              "packageName": "hex_core",
              "packageURL": "pkg:hex/hex_core",
              "product": "hex_core",
              "programFiles": [
                "src/hex_erl_tar.erl",
                "src/hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "hex_erl_tar:extract/1"
                },
                {
                  "name": "hex_erl_tar:extract/2"
                },
                {
                  "name": "hex_tarball:unpack/2"
                },
                {
                  "name": "hex_tarball:unpack/3"
                },
                {
                  "name": "hex_tarball:unpack_docs/2"
                },
                {
                  "name": "hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex_core",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "0.20.1",
                  "status": "affected",
                  "version": "0.14.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "hex_erl_tar",
                "hex_tarball"
              ],
              "packageName": "hexpm/hex_core",
              "packageURL": "pkg:github/hexpm/hex_core",
              "product": "hex_core",
              "programFiles": [
                "src/hex_erl_tar.erl",
                "src/hex_tarball.erl"
              ],
              "programRoutines": [
                {
                  "name": "hex_erl_tar:do_sparse_read/3"
                },
                {
                  "name": "hex_erl_tar:stream_to_file_loop/3"
                },
                {
                  "name": "hex_erl_tar:extract/1"
                },
                {
                  "name": "hex_erl_tar:extract/2"
                },
                {
                  "name": "hex_tarball:unpack/2"
                },
                {
                  "name": "hex_tarball:unpack/3"
                },
                {
                  "name": "hex_tarball:unpack_docs/2"
                },
                {
                  "name": "hex_tarball:unpack_docs/3"
                }
              ],
              "repo": "https://github.com/hexpm/hex_core",
              "vendor": "hexpm",
              "versions": [
                {
                  "lessThan": "a2ece683e6e88a3ec95ad20b09aca426e08b372e",
                  "status": "affected",
                  "version": "13bb9fbba418a406af614790b8d5cd458259ee70",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.2",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:rebar3:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "3.28.0",
                      "versionStartIncluding": "3.27.1",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "2.5.3",
                      "versionStartIncluding": "2.4.2",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:hexpm:hex_core:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "0.20.1",
                      "versionStartIncluding": "0.14.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Eric Meadows-J\u00f6nsson"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Eric Meadows-J\u00f6nsson"
            }
          ],
          "dateAssigned": "2026-10-07T13:11:38.000Z",
          "datePublic": "2026-10-14T16:56:18.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eLoop with Unreachable Exit Condition (\u0027Infinite Loop\u0027) vulnerability in Erlang OTP stdlib (\u003ccode\u003eerl_tar\u003c/code\u003e module), hexpm hex_core (\u003ccode\u003ehex_erl_tar\u003c/code\u003e module), hexpm hex (\u003ccode\u003emix_hex_erl_tar\u003c/code\u003e module) and erlang rebar3 (\u003ccode\u003er3_hex_erl_tar\u003c/code\u003e module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member.\u003c/p\u003e\n\u003cp\u003eWhen \u003ccode\u003eerl_tar:extract/1,2\u003c/code\u003e writes a member to disk, \u003ccode\u003eerl_tar:stream_to_file_loop/3\u003c/code\u003e reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, \u003ccode\u003eerl_tar:do_sparse_read/3\u003c/code\u003e matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The \u003ccode\u003e{max_size, N}\u003c/code\u003e option prevents this only when N is below the real size of the member. Extraction with the \u003ccode\u003ememory\u003c/code\u003e option is not affected.\u003c/p\u003e\n\u003cp\u003ehex_core ships its own copy of \u003ccode\u003eerl_tar\u003c/code\u003e as \u003ccode\u003ehex_erl_tar\u003c/code\u003e, and Hex and rebar3 ship hex_core with prefixed module names (\u003ccode\u003emix_hex_erl_tar\u003c/code\u003e and \u003ccode\u003er3_hex_erl_tar\u003c/code\u003e). These copies contain the same code and do not call stdlib\u0027s \u003ccode\u003eerl_tar\u003c/code\u003e, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;29.0 before OTP\u0026nbsp;29.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027) vulnerability in Erlang OTP stdlib (`erl_tar` module), hexpm hex_core (`hex_erl_tar` module), hexpm hex (`mix_hex_erl_tar` module) and erlang rebar3 (`r3_hex_erl_tar` module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member.\n\nWhen `erl_tar:extract/1,2` writes a member to disk, `erl_tar:stream_to_file_loop/3` reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, `erl_tar:do_sparse_read/3` matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The `{max_size, N}` option prevents this only when N is below the real size of the member. Extraction with the `memory` option is not affected.\n\nhex_core ships its own copy of `erl_tar` as `hex_erl_tar`, and Hex and rebar3 ship hex_core with prefixed module names (`mix_hex_erl_tar` and `r3_hex_erl_tar`). These copies contain the same code and do not call stdlib\u0027s `erl_tar`, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3.\n\nThis issue affects OTP from OTP\u00a029.0 before OTP\u00a029.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1."
                }
              ],
              "value": "Loop with Unreachable Exit Condition (\u0027Infinite Loop\u0027) vulnerability in Erlang OTP stdlib (erl_tar module), hexpm hex_core (hex_erl_tar module), hexpm hex (mix_hex_erl_tar module) and erlang rebar3 (r3_hex_erl_tar module) allows an attacker who supplies a tar archive to cause a denial of service via a crafted GNU sparse member.\n\nWhen erl_tar:extract/1,2 writes a member to disk, erl_tar:stream_to_file_loop/3 reads it in chunks of 65536 bytes by default. For a GNU sparse member whose sparse map ends before its real size, erl_tar:do_sparse_read/3 matches its trailing-hole clause before its zero-length clause. After the chunk is used up, the trailing-hole clause reads zero bytes, does not advance the position, and recurses forever. A 2048-byte archive keeps the extracting process and one scheduler busy until the process is killed. The {max_size, N} option prevents this only when N is below the real size of the member. Extraction with the memory option is not affected.\n\nhex_core ships its own copy of erl_tar as hex_erl_tar, and Hex and rebar3 ship hex_core with prefixed module names (mix_hex_erl_tar and r3_hex_erl_tar). These copies contain the same code and do not call stdlib\u0027s erl_tar, so they are affected on any OTP version. OTP 28 is not affected, but an application running on OTP 28 is affected if it extracts archives through an affected version of hex_core, Hex or rebar3.\n\nThis issue affects OTP from OTP\u00a029.0 before OTP\u00a029.1.2, corresponding to stdlib from 8.0 before 8.1.1, and rebar3 from 3.27.1 before 3.28.0, and hex from 2.4.2 before 2.5.3; hex_core: from 0.14.0 before 0.20.1."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can get an application to extract a tar archive to disk keeps the extracting process and one scheduler busy forever. Each further archive occupies another scheduler, until the node stops responding.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can get an application to extract a tar archive to disk keeps the extracting process and one scheduler busy forever. Each further archive occupies another scheduler, until the node stops responding."
                    }
                  ],
                  "value": "An attacker who can get an application to extract a tar archive to disk keeps the extracting process and one scheduler busy forever. Each further archive occupies another scheduler, until the node stops responding."
                }
              ]
            }
          ],
          "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-835",
                  "description": "CWE-835 Loop with Unreachable Exit Condition",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:00:37.110Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-phm5-m6cj-5382"
            },
            {
              "name": "EEF CNA record for CVE-2026-96596",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-96596.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-96596",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-96596"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit fbf2c71 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/fbf2c7194f6fce4b7b66dc0bcaa4f6b4b85e088f"
            },
            {
              "name": "Fix commit 3086307 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/3086307f311b78b38644a7787a3aca6a3f95a9d5"
            },
            {
              "name": "Introducing commit 23dbdb5 in erlang/rebar3",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/rebar3/commit/23dbdb5d1f87f56902aef296c88a20049cd0c6e4"
            },
            {
              "name": "Fix commit 310e2ec in erlang/rebar3",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/rebar3/commit/310e2ec8c7dd3df05d67af2b7fae23f30fc523c4"
            },
            {
              "name": "Introducing commit 5543a19 in hexpm/hex",
              "tags": [
                "related"
              ],
              "url": "https://github.com/hexpm/hex/commit/5543a1919c709d8eb2b317f62aad76ca1eed375c"
            },
            {
              "name": "Fix commit 7847c23 in hexpm/hex",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/hexpm/hex/commit/7847c23d09ab52113614c3718e1e7d368743da5d"
            },
            {
              "name": "Fix commit 8e10671 in hexpm/hex",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/hexpm/hex/commit/8e1067131a13949eff30623f31648a945ffd5418"
            },
            {
              "name": "Introducing commit 13bb9fb in hexpm/hex_core",
              "tags": [
                "related"
              ],
              "url": "https://github.com/hexpm/hex_core/commit/13bb9fbba418a406af614790b8d5cd458259ee70"
            },
            {
              "name": "Fix commit a2ece68 in hexpm/hex_core",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/hexpm/hex_core/commit/a2ece683e6e88a3ec95ad20b09aca426e08b372e"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003ePass \u003ccode\u003e{chunks, N}\u003c/code\u003e together with \u003ccode\u003e{max_size, N}\u003c/code\u003e, with the same value N, to \u003ccode\u003eerl_tar:extract/2\u003c/code\u003e. Extraction then rejects any member larger than N, and reads each remaining member in one call, so the loop cannot occur.\u003c/p\u003e\n\u003cp\u003eAlternatively, extract with the \u003ccode\u003ememory\u003c/code\u003e option and write the returned files to disk in the application.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Pass `{chunks, N}` together with `{max_size, N}`, with the same value N, to `erl_tar:extract/2`. Extraction then rejects any member larger than N, and reads each remaining member in one call, so the loop cannot occur.\n\nAlternatively, extract with the `memory` option and write the returned files to disk in the application."
                }
              ],
              "value": "Pass {chunks, N} together with {max_size, N}, with the same value N, to erl_tar:extract/2. Extraction then rejects any member larger than N, and reads each remaining member in one call, so the loop cannot occur.\n\nAlternatively, extract with the memory option and write the returned files to disk in the application."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a 2048-byte tar that holds one GNU sparse member (typeflag \u003ccode\u003eS\u003c/code\u003e). Give it a stored size of 4 bytes, one sparse map entry of 4 bytes at offset 0, and a real size of 1048576 bytes. Follow the 512-byte header with a 512-byte block that starts with the 4 data bytes, then 1024 zero bytes.\u003c/li\u003e\n\u003cli\u003eIn a separate process, call \u003ccode\u003eerl_tar:extract({binary, Tar}, [{cwd, Dir}])\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eThe call does not return. After 5 seconds the process has used more than 10^9 reductions. On OTP 28 the same call returns \u003ccode\u003eok\u003c/code\u003e.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a 2048-byte tar that holds one GNU sparse member (typeflag `S`). Give it a stored size of 4 bytes, one sparse map entry of 4 bytes at offset 0, and a real size of 1048576 bytes. Follow the 512-byte header with a 512-byte block that starts with the 4 data bytes, then 1024 zero bytes.\n2. In a separate process, call `erl_tar:extract({binary, Tar}, [{cwd, Dir}])`.\n3. The call does not return. After 5 seconds the process has used more than 10^9 reductions. On OTP 28 the same call returns `ok`."
                }
              ],
              "value": "* Build a 2048-byte tar that holds one GNU sparse member (typeflag S). Give it a stored size of 4 bytes, one sparse map entry of 4 bytes at offset 0, and a real size of 1048576 bytes. Follow the 512-byte header with a 512-byte block that starts with the 4 data bytes, then 1024 zero bytes.\n* In a separate process, call erl_tar:extract({binary, Tar}, [{cwd, Dir}]).\n* The call does not return. After 5 seconds the process has used more than 10^9 reductions. On OTP 28 the same call returns ok."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Chunked extraction.\u003c/strong\u003e \u003ccode\u003eerl_tar:extract/2\u003c/code\u003e writes each member to disk through \u003ccode\u003estream_to_file_loop/3\u003c/code\u003e. This function calls \u003ccode\u003edo_read(Reader, ChunkSize)\u003c/code\u003e until the \u003ccode\u003enum_bytes\u003c/code\u003e field of the reader is 0. The default chunk size is 65536 bytes.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Clause order in \u003ccode\u003edo_sparse_read/3\u003c/code\u003e.\u003c/strong\u003e For a sparse member, \u003ccode\u003edo_read/2\u003c/code\u003e calls \u003ccode\u003edo_sparse_read/3\u003c/code\u003e. The clause for a trailing hole matches when \u003ccode\u003esparse_map\u003c/code\u003e is \u003ccode\u003e[]\u003c/code\u003e and \u003ccode\u003ePos \u0026lt; Size\u003c/code\u003e. It comes before the clause that returns when \u003ccode\u003eLen\u003c/code\u003e is 0.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Unbounded recursion.\u003c/strong\u003e The member is a GNU sparse member (typeflag \u003ccode\u003eS\u003c/code\u003e) whose real size is larger than one chunk and whose sparse map ends before the real size. After the data fragments, the trailing-hole clause reads the rest of the chunk and recurses with \u003ccode\u003eLen = 0\u003c/code\u003e. The same clause matches again, and \u003ccode\u003eread_sparse_hole/3\u003c/code\u003e returns an empty binary and leaves \u003ccode\u003ePos\u003c/code\u003e unchanged. The zero-length clause is never reached, so the call never returns.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. No mitigation from \u003ccode\u003emax_size\u003c/code\u003e.\u003c/strong\u003e For a sparse member, \u003ccode\u003e{max_size, N}\u003c/code\u003e is checked against the real size from the header. It stops the loop only when N is below that size. \u003ccode\u003eerl_tar:table/2\u003c/code\u003e lists the member as \u003ccode\u003eregular\u003c/code\u003e, so a caller cannot skip sparse members by type.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Chunked extraction.** `erl_tar:extract/2` writes each member to disk through `stream_to_file_loop/3`. This function calls `do_read(Reader, ChunkSize)` until the `num_bytes` field of the reader is 0. The default chunk size is 65536 bytes.\n\n**2. Clause order in `do_sparse_read/3`.** For a sparse member, `do_read/2` calls `do_sparse_read/3`. The clause for a trailing hole matches when `sparse_map` is `[]` and `Pos \u003c Size`. It comes before the clause that returns when `Len` is 0.\n\n**3. Unbounded recursion.** The member is a GNU sparse member (typeflag `S`) whose real size is larger than one chunk and whose sparse map ends before the real size. After the data fragments, the trailing-hole clause reads the rest of the chunk and recurses with `Len = 0`. The same clause matches again, and `read_sparse_hole/3` returns an empty binary and leaves `Pos` unchanged. The zero-length clause is never reached, so the call never returns.\n\n**4. No mitigation from `max_size`.** For a sparse member, `{max_size, N}` is checked against the real size from the header. It stops the loop only when N is below that size. `erl_tar:table/2` lists the member as `regular`, so a caller cannot skip sparse members by type."
                }
              ],
              "value": "1. Chunked extraction. erl_tar:extract/2 writes each member to disk through stream_to_file_loop/3. This function calls do_read(Reader, ChunkSize) until the num_bytes field of the reader is 0. The default chunk size is 65536 bytes.\n\n2. Clause order in do_sparse_read/3. For a sparse member, do_read/2 calls do_sparse_read/3. The clause for a trailing hole matches when sparse_map is [] and Pos \u003c Size. It comes before the clause that returns when Len is 0.\n\n3. Unbounded recursion. The member is a GNU sparse member (typeflag S) whose real size is larger than one chunk and whose sparse map ends before the real size. After the data fragments, the trailing-hole clause reads the rest of the chunk and recurses with Len = 0. The same clause matches again, and read_sparse_hole/3 returns an empty binary and leaves Pos unchanged. The zero-length clause is never reached, so the call never returns.\n\n4. No mitigation from max_size. For a sparse member, {max_size, N} is checked against the real size from the header. It stops the loop only when N is below that size. erl_tar:table/2 lists the member as regular, so a caller cannot skip sparse members by type."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-96596",
        "datePublished": "2026-10-14T16:56:18.530Z",
        "dateReserved": "2026-09-27T12:00:01.540Z",
        "dateUpdated": "2026-11-20T06:00:37.110Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-105236 (GCVE-0-2026-105236)

    Vulnerability from cvelistv5 – Published: 2026-10-14 16:55 – Updated: 2026-11-20 06:00
    VLAI
    Title
    TLS 1.2 session resumption in ssl crosses SNI virtual-host client-certificate trust boundaries
    Summary
    Improper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there. A server that serves several SNI names from one listen socket through sni_fun or sni_hosts keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to verify_peer without naming reuse_sessions, ssl_config:update_options/3 inherits the base listener's reuse_sessions value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake ssl_session:is_resumable/4 checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected. This issue affects OTP from OTP 18.0 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-10-16 20:09 UTC
    CWE
    • CWE-295 - Improper Certificate Validation
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 7.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 18.0 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 4fe38c4b8b2c8024afb60990e598ff823743fd54 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 16:55
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-105236",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-10-16T20:09:27.807992Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-10-16T20:09:49.566Z",
              "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_gen_statem",
                "ssl_config",
                "ssl_session",
                "ssl_handshake"
              ],
              "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_gen_statem.erl",
                "src/ssl_config.erl",
                "src/ssl_session.erl",
                "src/ssl_handshake.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_gen_statem:handle_sni_extension/2"
                },
                {
                  "name": "ssl_gen_statem:handle_sni_hostname/2"
                },
                {
                  "name": "ssl_gen_statem:update_ssl_options_from_sni/2"
                },
                {
                  "name": "ssl_gen_statem:fallback_options/2"
                },
                {
                  "name": "ssl_config:update_options/3"
                },
                {
                  "name": "ssl_config:opt_reuse_sessions/3"
                },
                {
                  "name": "ssl_session:server_select_session/5"
                },
                {
                  "name": "ssl_session:is_resumable/4"
                },
                {
                  "name": "ssl_session:reusable_options/2"
                },
                {
                  "name": "ssl_handshake:select_session/8"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.8",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "7.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_gen_statem",
                "ssl_config",
                "ssl_session",
                "ssl_handshake"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_gen_statem.erl",
                "lib/ssl/src/ssl_config.erl",
                "lib/ssl/src/ssl_session.erl",
                "lib/ssl/src/ssl_handshake.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_gen_statem:handle_sni_extension/2"
                },
                {
                  "name": "ssl_gen_statem:handle_sni_hostname/2"
                },
                {
                  "name": "ssl_gen_statem:update_ssl_options_from_sni/2"
                },
                {
                  "name": "ssl_gen_statem:fallback_options/2"
                },
                {
                  "name": "ssl_config:update_options/3"
                },
                {
                  "name": "ssl_config:opt_reuse_sessions/3"
                },
                {
                  "name": "ssl_session:server_select_session/5"
                },
                {
                  "name": "ssl_session:is_resumable/4"
                },
                {
                  "name": "ssl_session:reusable_options/2"
                },
                {
                  "name": "ssl_handshake:select_session/8"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.19",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "18.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_gen_statem",
                "ssl_config",
                "ssl_session",
                "ssl_handshake"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_gen_statem.erl",
                "lib/ssl/src/ssl_config.erl",
                "lib/ssl/src/ssl_session.erl",
                "lib/ssl/src/ssl_handshake.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_gen_statem:handle_sni_extension/2"
                },
                {
                  "name": "ssl_gen_statem:handle_sni_hostname/2"
                },
                {
                  "name": "ssl_gen_statem:update_ssl_options_from_sni/2"
                },
                {
                  "name": "ssl_gen_statem:fallback_options/2"
                },
                {
                  "name": "ssl_config:update_options/3"
                },
                {
                  "name": "ssl_config:opt_reuse_sessions/3"
                },
                {
                  "name": "ssl_session:server_select_session/5"
                },
                {
                  "name": "ssl_session:is_resumable/4"
                },
                {
                  "name": "ssl_session:reusable_options/2"
                },
                {
                  "name": "ssl_handshake:select_session/8"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "0c20f3683b3c81fd30b46047195be9b3d2c69d76",
                      "status": "unaffected"
                    },
                    {
                      "at": "10ee925d0fee8413f1170cc21bfcf123c8d22454",
                      "status": "unaffected"
                    },
                    {
                      "at": "4d76adbf39d547a931048544df09c3c087e56618",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "4fe38c4b8b2c8024afb60990e598ff823743fd54",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eExploitation requires all of the following. One TLS listener serves at least two SNI names through \u003ccode\u003esni_fun\u003c/code\u003e or \u003ccode\u003esni_hosts\u003c/code\u003e. The names use the same server certificate but select different client CAs with \u003ccode\u003everify_peer\u003c/code\u003e. TLS 1.2 or earlier is enabled. No SNI option set sets \u003ccode\u003ereuse_sessions\u003c/code\u003e to false while the base listener\u0027s effective value is true, which is the default when the base listener uses \u003ccode\u003everify_none\u003c/code\u003e. The attacker holds a client certificate that the lower-trust name accepts.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Exploitation requires all of the following. One TLS listener serves at least two SNI names through `sni_fun` or `sni_hosts`. The names use the same server certificate but select different client CAs with `verify_peer`. TLS 1.2 or earlier is enabled. No SNI option set sets `reuse_sessions` to false while the base listener\u0027s effective value is true, which is the default when the base listener uses `verify_none`. The attacker holds a client certificate that the lower-trust name accepts."
                }
              ],
              "value": "Exploitation requires all of the following. One TLS listener serves at least two SNI names through sni_fun or sni_hosts. The names use the same server certificate but select different client CAs with verify_peer. TLS 1.2 or earlier is enabled. No SNI option set sets reuse_sessions to false while the base listener\u0027s effective value is true, which is the default when the base listener uses verify_none. The attacker holds a client certificate that the lower-trust name accepts."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.19",
                      "versionStartIncluding": "18.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.8",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.2",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Yonghwa Lee / Xint by Theori"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Yonghwa Lee / Xint by Theori"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Ingela Anderton Andin"
            }
          ],
          "dateAssigned": "2026-10-08T15:40:48.000Z",
          "datePublic": "2026-10-14T16:55:51.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there.\u003c/p\u003e\n\u003cp\u003eA server that serves several SNI names from one listen socket through \u003ccode\u003esni_fun\u003c/code\u003e or \u003ccode\u003esni_hosts\u003c/code\u003e keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to \u003ccode\u003everify_peer\u003c/code\u003e without naming \u003ccode\u003ereuse_sessions\u003c/code\u003e, \u003ccode\u003essl_config:update_options/3\u003c/code\u003e inherits the base listener\u0027s \u003ccode\u003ereuse_sessions\u003c/code\u003e value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake \u003ccode\u003essl_session:is_resumable/4\u003c/code\u003e checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;18.0 before OTP\u0026nbsp;27.3.4.19, OTP\u0026nbsp;28.5.0.8, and OTP\u0026nbsp;29.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there.\n\nA server that serves several SNI names from one listen socket through `sni_fun` or `sni_hosts` keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to `verify_peer` without naming `reuse_sessions`, `ssl_config:update_options/3` inherits the base listener\u0027s `reuse_sessions` value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake `ssl_session:is_resumable/4` checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected.\n\nThis issue affects OTP from OTP\u00a018.0 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8."
                }
              ],
              "value": "Improper Certificate Validation vulnerability in the ssl application in Erlang/OTP allows a client that holds a certificate trusted by one SNI virtual host to authenticate to a second SNI virtual host on the same listener by resuming its TLS 1.2 session there.\n\nA server that serves several SNI names from one listen socket through sni_fun or sni_hosts keeps one pre-TLS 1.3 session cache per listener and does not bind a cached session to the SNI name or client trust policy that established it. When an SNI option set switches to verify_peer without naming reuse_sessions, ssl_config:update_options/3 inherits the base listener\u0027s reuse_sessions value of true, so the default that disables reuse for client-authenticating servers does not apply. On an abbreviated handshake ssl_session:is_resumable/4 checks only that the cached session uses one of the current server certificates and carries some peer certificate, and never revalidates that certificate against the CA selected for the requested name. The names must share a server certificate, which is common with wildcard or multi-SAN certificates. TLS 1.3 does not use this cache and is not affected.\n\nThis issue affects OTP from OTP\u00a018.0 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 7.0 before 11.2.12.14, 11.6.0.7, and 11.7.8."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-114",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eA client holding a certificate issued by the lower-trust SNI name\u0027s CA connects to the higher-trust name as a fully authenticated mTLS peer and obtains whatever that service grants on a successful client-certificate handshake. Multi-tenant or partner-facing listeners that separate trust domains by SNI name are affected.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "A client holding a certificate issued by the lower-trust SNI name\u0027s CA connects to the higher-trust name as a fully authenticated mTLS peer and obtains whatever that service grants on a successful client-certificate handshake. Multi-tenant or partner-facing listeners that separate trust domains by SNI name are affected."
                    }
                  ],
                  "value": "A client holding a certificate issued by the lower-trust SNI name\u0027s CA connects to the higher-trust name as a fully authenticated mTLS peer and obtains whatever that service grants on a successful client-certificate handshake. Multi-tenant or partner-facing listeners that separate trust domains by SNI name are affected."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 6.3,
                "baseSeverity": "MEDIUM",
                "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:L/VI:L/VA:N/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "LOW",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-295",
                  "description": "CWE-295 Improper Certificate Validation",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:00:43.503Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-2g23-cgjh-34gq"
            },
            {
              "name": "EEF CNA record for CVE-2026-105236",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-105236.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-105236",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-105236"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 4fe38c4 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/4fe38c4b8b2c8024afb60990e598ff823743fd54"
            },
            {
              "name": "Fix commit 0c20f36 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/0c20f3683b3c81fd30b46047195be9b3d2c69d76"
            },
            {
              "name": "Fix commit 10ee925 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/10ee925d0fee8413f1170cc21bfcf123c8d22454"
            },
            {
              "name": "Fix commit 4d76adb in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/4d76adbf39d547a931048544df09c3c087e56618"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "TLS 1.2 session resumption in ssl crosses SNI virtual-host client-certificate trust boundaries",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cul\u003e\n\u003cli\u003eSet \u003ccode\u003e{reuse_sessions, false}\u003c/code\u003e in each SNI service\u0027s option set, or in the base listener options. The reporter\u0027s proof of concept confirmed that this blocks the cross-name resumption.\u003c/li\u003e\n\u003cli\u003eServe distinct SNI trust domains on separate listen sockets, which gives each its own session cache.\u003c/li\u003e\n\u003cli\u003eRestrict the listener to TLS 1.3 with \u003ccode\u003e{versions, [\u0027tlsv1.3\u0027]}\u003c/code\u003e. TLS 1.3 does not use the session-ID cache.\u003c/li\u003e\n\u003c/ul\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "- Set `{reuse_sessions, false}` in each SNI service\u0027s option set, or in the base listener options. The reporter\u0027s proof of concept confirmed that this blocks the cross-name resumption.\n- Serve distinct SNI trust domains on separate listen sockets, which gives each its own session cache.\n- Restrict the listener to TLS 1.3 with `{versions, [\u0027tlsv1.3\u0027]}`. TLS 1.3 does not use the session-ID cache."
                }
              ],
              "value": "* Set {reuse_sessions, false} in each SNI service\u0027s option set, or in the base listener options. The reporter\u0027s proof of concept confirmed that this blocks the cross-name resumption.\n* Serve distinct SNI trust domains on separate listen sockets, which gives each its own session cache.\n* Restrict the listener to TLS 1.3 with {versions, [\u0027tlsv1.3\u0027]}. TLS 1.3 does not use the session-ID cache."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eCreate one server certificate with subject alternative names \u003ccode\u003elow.test\u003c/code\u003e and \u003ccode\u003ehigh.test\u003c/code\u003e, two self-signed client CAs (\u003ccode\u003elow-ca\u003c/code\u003e, \u003ccode\u003ehigh-ca\u003c/code\u003e), and one client certificate signed by \u003ccode\u003elow-ca\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eStart an \u003ccode\u003essl:listen/2\u003c/code\u003e server on TLS 1.2 with \u003ccode\u003e{verify, verify_none}\u003c/code\u003e and an \u003ccode\u003esni_fun\u003c/code\u003e that returns \u003ccode\u003e{verify, verify_peer}\u003c/code\u003e, \u003ccode\u003e{fail_if_no_peer_cert, true}\u003c/code\u003e and the \u003ccode\u003elow-ca\u003c/code\u003e or \u003ccode\u003ehigh-ca\u003c/code\u003e \u003ccode\u003ecacertfile\u003c/code\u003e for the respective name. Do not set \u003ccode\u003ereuse_sessions\u003c/code\u003e anywhere.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003eopenssl s_client -servername high.test -tls1_2 -no_ticket\u003c/code\u003e using the low client certificate. The server rejects the handshake with \u003ccode\u003eunknown_ca\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003e-servername low.test\u003c/code\u003e and the same certificate, saving the session with \u003ccode\u003e-sess_out\u003c/code\u003e. The handshake succeeds.\u003c/li\u003e\n\u003cli\u003eConnect with \u003ccode\u003e-servername high.test\u003c/code\u003e and \u003ccode\u003e-sess_in\u003c/code\u003e pointing at the saved session. The server resumes the session, \u003ccode\u003essl:connection_information/2\u003c/code\u003e reports \u003ccode\u003esession_resumption\u003c/code\u003e true for \u003ccode\u003ehigh.test\u003c/code\u003e, and the application behind the protected name serves the request to a client whose certificate \u003ccode\u003ehigh-ca\u003c/code\u003e never issued.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Create one server certificate with subject alternative names `low.test` and `high.test`, two self-signed client CAs (`low-ca`, `high-ca`), and one client certificate signed by `low-ca`.\n2. Start an `ssl:listen/2` server on TLS 1.2 with `{verify, verify_none}` and an `sni_fun` that returns `{verify, verify_peer}`, `{fail_if_no_peer_cert, true}` and the `low-ca` or `high-ca` `cacertfile` for the respective name. Do not set `reuse_sessions` anywhere.\n3. Connect with `openssl s_client -servername high.test -tls1_2 -no_ticket` using the low client certificate. The server rejects the handshake with `unknown_ca`.\n4. Connect with `-servername low.test` and the same certificate, saving the session with `-sess_out`. The handshake succeeds.\n5. Connect with `-servername high.test` and `-sess_in` pointing at the saved session. The server resumes the session, `ssl:connection_information/2` reports `session_resumption` true for `high.test`, and the application behind the protected name serves the request to a client whose certificate `high-ca` never issued."
                }
              ],
              "value": "* Create one server certificate with subject alternative names low.test and high.test, two self-signed client CAs (low-ca, high-ca), and one client certificate signed by low-ca.\n* Start an ssl:listen/2 server on TLS 1.2 with {verify, verify_none} and an sni_fun that returns {verify, verify_peer}, {fail_if_no_peer_cert, true} and the low-ca or high-ca cacertfile for the respective name. Do not set reuse_sessions anywhere.\n* Connect with openssl s_client -servername high.test -tls1_2 -no_ticket using the low client certificate. The server rejects the handshake with unknown_ca.\n* Connect with -servername low.test and the same certificate, saving the session with -sess_out. The handshake succeeds.\n* Connect with -servername high.test and -sess_in pointing at the saved session. The server resumes the session, ssl:connection_information/2 reports session_resumption true for high.test, and the application behind the protected name serves the request to a client whose certificate high-ca never issued."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. One session cache per listener.\u003c/strong\u003e \u003ccode\u003etls_socket:listen/3\u003c/code\u003e starts one pre-TLS 1.3 session-ID tracker per listen socket via \u003ccode\u003esession_id_tracker/2\u003c/code\u003e. Every SNI virtual host served from that socket shares it, and the cached \u003ccode\u003e#session{}\u003c/code\u003e record stores the peer and server certificates but no SNI name and no client trust policy.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. The SNI option set inherits session reuse.\u003c/strong\u003e When the ClientHello carries a server name, \u003ccode\u003essl_gen_statem:handle_sni_extension/2\u003c/code\u003e and \u003ccode\u003ehandle_sni_hostname/2\u003c/code\u003e call \u003ccode\u003eupdate_ssl_options_from_sni/2\u003c/code\u003e, which passes the base listener options as fallback into \u003ccode\u003essl_config:update_options/3\u003c/code\u003e. The base listener\u0027s \u003ccode\u003everify_none\u003c/code\u003e has already produced \u003ccode\u003ereuse_sessions = true\u003c/code\u003e. \u003ccode\u003essl_config:opt_reuse_sessions/3\u003c/code\u003e computes a \u003ccode\u003efalse\u003c/code\u003e default for \u003ccode\u003everify_peer\u003c/code\u003e, but \u003ccode\u003eget_opt_bool/4\u003c/code\u003e finds the inherited value and keeps it when the SNI option list does not mention \u003ccode\u003ereuse_sessions\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Resumption does not revalidate the peer certificate.\u003c/strong\u003e On an abbreviated handshake \u003ccode\u003essl_handshake:select_session/8\u003c/code\u003e calls \u003ccode\u003essl_session:server_select_session/5\u003c/code\u003e, which accepts the cached session when \u003ccode\u003essl_session:is_resumable/4\u003c/code\u003e finds that it is marked resumable, that \u003ccode\u003eis_owncert/2\u003c/code\u003e matches one of the current server certificates, that \u003ccode\u003ereusable_options/2\u003c/code\u003e sees any cached peer certificate when \u003ccode\u003efail_if_no_peer_cert\u003c/code\u003e is set, and that the \u003ccode\u003ereuse_session\u003c/code\u003e fun agrees. Nothing compares the ClientHello server name with the name that created the session, and the cached peer certificate is not validated against the CA selected for the new name.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Result.\u003c/strong\u003e A client whose certificate chains to the lower-trust name\u0027s CA completes a full handshake there, then presents the same session ID with the higher-trust server name. The server resumes the session, reports \u003ccode\u003esession_resumption\u003c/code\u003e as true and the low-trust peer certificate through \u003ccode\u003essl:peercert/1\u003c/code\u003e, and the application behind the protected name sees an authenticated mTLS peer. \u003ccode\u003eis_owncert/2\u003c/code\u003e is why both names must share a server certificate.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. One session cache per listener.** `tls_socket:listen/3` starts one pre-TLS 1.3 session-ID tracker per listen socket via `session_id_tracker/2`. Every SNI virtual host served from that socket shares it, and the cached `#session{}` record stores the peer and server certificates but no SNI name and no client trust policy.\n\n**2. The SNI option set inherits session reuse.** When the ClientHello carries a server name, `ssl_gen_statem:handle_sni_extension/2` and `handle_sni_hostname/2` call `update_ssl_options_from_sni/2`, which passes the base listener options as fallback into `ssl_config:update_options/3`. The base listener\u0027s `verify_none` has already produced `reuse_sessions = true`. `ssl_config:opt_reuse_sessions/3` computes a `false` default for `verify_peer`, but `get_opt_bool/4` finds the inherited value and keeps it when the SNI option list does not mention `reuse_sessions`.\n\n**3. Resumption does not revalidate the peer certificate.** On an abbreviated handshake `ssl_handshake:select_session/8` calls `ssl_session:server_select_session/5`, which accepts the cached session when `ssl_session:is_resumable/4` finds that it is marked resumable, that `is_owncert/2` matches one of the current server certificates, that `reusable_options/2` sees any cached peer certificate when `fail_if_no_peer_cert` is set, and that the `reuse_session` fun agrees. Nothing compares the ClientHello server name with the name that created the session, and the cached peer certificate is not validated against the CA selected for the new name.\n\n**4. Result.** A client whose certificate chains to the lower-trust name\u0027s CA completes a full handshake there, then presents the same session ID with the higher-trust server name. The server resumes the session, reports `session_resumption` as true and the low-trust peer certificate through `ssl:peercert/1`, and the application behind the protected name sees an authenticated mTLS peer. `is_owncert/2` is why both names must share a server certificate."
                }
              ],
              "value": "1. One session cache per listener. tls_socket:listen/3 starts one pre-TLS 1.3 session-ID tracker per listen socket via session_id_tracker/2. Every SNI virtual host served from that socket shares it, and the cached #session{} record stores the peer and server certificates but no SNI name and no client trust policy.\n\n2. The SNI option set inherits session reuse. When the ClientHello carries a server name, ssl_gen_statem:handle_sni_extension/2 and handle_sni_hostname/2 call update_ssl_options_from_sni/2, which passes the base listener options as fallback into ssl_config:update_options/3. The base listener\u0027s verify_none has already produced reuse_sessions = true. ssl_config:opt_reuse_sessions/3 computes a false default for verify_peer, but get_opt_bool/4 finds the inherited value and keeps it when the SNI option list does not mention reuse_sessions.\n\n3. Resumption does not revalidate the peer certificate. On an abbreviated handshake ssl_handshake:select_session/8 calls ssl_session:server_select_session/5, which accepts the cached session when ssl_session:is_resumable/4 finds that it is marked resumable, that is_owncert/2 matches one of the current server certificates, that reusable_options/2 sees any cached peer certificate when fail_if_no_peer_cert is set, and that the reuse_session fun agrees. Nothing compares the ClientHello server name with the name that created the session, and the cached peer certificate is not validated against the CA selected for the new name.\n\n4. Result. A client whose certificate chains to the lower-trust name\u0027s CA completes a full handshake there, then presents the same session ID with the higher-trust server name. The server resumes the session, reports session_resumption as true and the low-trust peer certificate through ssl:peercert/1, and the application behind the protected name sees an authenticated mTLS peer. is_owncert/2 is why both names must share a server certificate."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-105236",
        "datePublished": "2026-10-14T16:55:51.495Z",
        "dateReserved": "2026-10-08T14:45:01.411Z",
        "dateUpdated": "2026-11-20T06:00:43.503Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-94200 (GCVE-0-2026-94200)

    Vulnerability from cvelistv5 – Published: 2026-10-14 16:55 – Updated: 2026-11-20 06:00
    VLAI
    Title
    TLS 1.3 client ticket store crashed by NewSessionTicket with empty early_data extension in ssl
    Summary
    Improper Validation of Consistency within Input vulnerability in Erlang OTP ssl (tls_handshake_1_3, ssl_handshake and tls_client_ticket_store modules) allows a malicious TLS 1.3 server to cause a denial of service of the ssl application on the client node. The TLS 1.3 client decodes the extensions of a NewSessionTicket message as if they came from EncryptedExtensions. It therefore accepts a 0-length early_data extension, a form that is only valid in ClientHello and EncryptedExtensions. With {session_tickets, auto}, the client stores the ticket in the node-global tls_client_ticket_store. On the next automatic resumption, tls_handshake_1_3:get_max_early_data/1 crashes the store with a case_clause. Repeated crashes can exceed the restart intensity of the ssl supervisors, which use the rest_for_one strategy, and take down ssl for all connections on the node. This issue affects OTP from OTP 23.3 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-10-16 20:08 UTC
    CWE
    • CWE-1288 - Improper Validation of Consistency within Input
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 10.3 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 23.3 , < * (otp)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Erlang OTP Affected: 0abe6f66db0d295cd06b0efab3bdb3caa2803930 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-10-14 16:55
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-94200",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-10-16T20:08:52.033542Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-10-16T20:09:04.559Z",
              "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",
                "tls_handshake_1_3",
                "tls_client_ticket_store"
              ],
              "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/tls_handshake_1_3.erl",
                "src/tls_client_ticket_store.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:decode_extensions/4"
                },
                {
                  "name": "tls_handshake_1_3:decode_handshake/2"
                },
                {
                  "name": "tls_handshake_1_3:get_max_early_data/1"
                },
                {
                  "name": "tls_client_ticket_store:find_ticket/5"
                },
                {
                  "name": "tls_client_ticket_store:get_tickets/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "11.2.12.14",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.6.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "11.7.8",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "10.3",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "tls_handshake_1_3",
                "tls_client_ticket_store"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/tls_handshake_1_3.erl",
                "lib/ssl/src/tls_client_ticket_store.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:decode_extensions/4"
                },
                {
                  "name": "tls_handshake_1_3:decode_handshake/2"
                },
                {
                  "name": "tls_handshake_1_3:get_max_early_data/1"
                },
                {
                  "name": "tls_client_ticket_store:find_ticket/5"
                },
                {
                  "name": "tls_client_ticket_store:get_tickets/2"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.19",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.8",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "23.3",
                  "versionType": "otp"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "ssl_handshake",
                "tls_handshake_1_3",
                "tls_client_ticket_store"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/ssl/src/ssl_handshake.erl",
                "lib/ssl/src/tls_handshake_1_3.erl",
                "lib/ssl/src/tls_client_ticket_store.erl"
              ],
              "programRoutines": [
                {
                  "name": "ssl_handshake:decode_extensions/4"
                },
                {
                  "name": "tls_handshake_1_3:decode_handshake/2"
                },
                {
                  "name": "tls_handshake_1_3:get_max_early_data/1"
                },
                {
                  "name": "tls_client_ticket_store:find_ticket/5"
                },
                {
                  "name": "tls_client_ticket_store:get_tickets/2"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "00a333bcf2800b69f540369b54167e897dae7219",
                      "status": "unaffected"
                    },
                    {
                      "at": "66febc190e6dc42a5c4aedbfe250bf9a2edc2d5e",
                      "status": "unaffected"
                    },
                    {
                      "at": "cd0334854bf3ef56dc16f9fb728efe88fb05c4ac",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "0abe6f66db0d295cd06b0efab3bdb3caa2803930",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eOnly TLS 1.3 clients that set the \u003ccode\u003essl\u003c/code\u003e option \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e are affected. The default value of \u003ccode\u003esession_tickets\u003c/code\u003e is \u003ccode\u003edisabled\u003c/code\u003e, and clients that use \u003ccode\u003emanual\u003c/code\u003e ticket handling do not store tickets in the node-global ticket store. The client must also connect to a server that the attacker controls, or that the attacker can impersonate.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Only TLS 1.3 clients that set the `ssl` option `{session_tickets, auto}` are affected. The default value of `session_tickets` is `disabled`, and clients that use `manual` ticket handling do not store tickets in the node-global ticket store. The client must also connect to a server that the attacker controls, or that the attacker can impersonate."
                }
              ],
              "value": "Only TLS 1.3 clients that set the ssl option {session_tickets, auto} are affected. The default value of session_tickets is disabled, and clients that use manual ticket handling do not store tickets in the node-global ticket store. The client must also connect to a server that the attacker controls, or that the attacker can impersonate."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.19",
                      "versionStartIncluding": "23.3",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.8",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.2",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Lukas Backstr\u00f6m / Erlang Solutions"
            },
            {
              "lang": "en",
              "type": "analyst",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "coordinator",
              "value": "Jonatan M\u00e4nnchen / EEF"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Ingela Anderton Andin"
            }
          ],
          "dateAssigned": "2026-10-01T08:50:00.000Z",
          "datePublic": "2026-10-14T16:55:23.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eImproper Validation of Consistency within Input vulnerability in Erlang OTP ssl (\u003ccode\u003etls_handshake_1_3\u003c/code\u003e, \u003ccode\u003essl_handshake\u003c/code\u003e and \u003ccode\u003etls_client_ticket_store\u003c/code\u003e modules) allows a malicious TLS 1.3 server to cause a denial of service of the \u003ccode\u003essl\u003c/code\u003e application on the client node.\u003c/p\u003e\n\u003cp\u003eThe TLS 1.3 client decodes the extensions of a \u003ccode\u003eNewSessionTicket\u003c/code\u003e message as if they came from \u003ccode\u003eEncryptedExtensions\u003c/code\u003e. It therefore accepts a 0-length \u003ccode\u003eearly_data\u003c/code\u003e extension, a form that is only valid in \u003ccode\u003eClientHello\u003c/code\u003e and \u003ccode\u003eEncryptedExtensions\u003c/code\u003e. With \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e, the client stores the ticket in the node-global \u003ccode\u003etls_client_ticket_store\u003c/code\u003e. On the next automatic resumption, \u003ccode\u003etls_handshake_1_3:get_max_early_data/1\u003c/code\u003e crashes the store with a \u003ccode\u003ecase_clause\u003c/code\u003e. Repeated crashes can exceed the restart intensity of the \u003ccode\u003essl\u003c/code\u003e supervisors, which use the \u003ccode\u003erest_for_one\u003c/code\u003e strategy, and take down \u003ccode\u003essl\u003c/code\u003e for all connections on the node.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;23.3 before OTP\u0026nbsp;27.3.4.19, OTP\u0026nbsp;28.5.0.8, and OTP\u0026nbsp;29.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Improper Validation of Consistency within Input vulnerability in Erlang OTP ssl (`tls_handshake_1_3`, `ssl_handshake` and `tls_client_ticket_store` modules) allows a malicious TLS 1.3 server to cause a denial of service of the `ssl` application on the client node.\n\nThe TLS 1.3 client decodes the extensions of a `NewSessionTicket` message as if they came from `EncryptedExtensions`. It therefore accepts a 0-length `early_data` extension, a form that is only valid in `ClientHello` and `EncryptedExtensions`. With `{session_tickets, auto}`, the client stores the ticket in the node-global `tls_client_ticket_store`. On the next automatic resumption, `tls_handshake_1_3:get_max_early_data/1` crashes the store with a `case_clause`. Repeated crashes can exceed the restart intensity of the `ssl` supervisors, which use the `rest_for_one` strategy, and take down `ssl` for all connections on the node.\n\nThis issue affects OTP from OTP\u00a023.3 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8."
                }
              ],
              "value": "Improper Validation of Consistency within Input vulnerability in Erlang OTP ssl (tls_handshake_1_3, ssl_handshake and tls_client_ticket_store modules) allows a malicious TLS 1.3 server to cause a denial of service of the ssl application on the client node.\n\nThe TLS 1.3 client decodes the extensions of a NewSessionTicket message as if they came from EncryptedExtensions. It therefore accepts a 0-length early_data extension, a form that is only valid in ClientHello and EncryptedExtensions. With {session_tickets, auto}, the client stores the ticket in the node-global tls_client_ticket_store. On the next automatic resumption, tls_handshake_1_3:get_max_early_data/1 crashes the store with a case_clause. Repeated crashes can exceed the restart intensity of the ssl supervisors, which use the rest_for_one strategy, and take down ssl for all connections on the node.\n\nThis issue affects OTP from OTP\u00a023.3 before OTP\u00a027.3.4.19, OTP\u00a028.5.0.8, and OTP\u00a029.1.2, corresponding to ssl from 10.3 before 11.2.12.14, 11.6.0.7, and 11.7.8."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-153",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eA malicious TLS 1.3 server can crash the client node\u0027s session ticket store, and by repeating the attack it can stop the \u003ccode\u003essl\u003c/code\u003e application for all TLS connections on that node. Only clients that use \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e are affected.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "A malicious TLS 1.3 server can crash the client node\u0027s session ticket store, and by repeating the attack it can stop the `ssl` application for all TLS connections on that node. Only clients that use `{session_tickets, auto}` are affected."
                    }
                  ],
                  "value": "A malicious TLS 1.3 server can crash the client node\u0027s session ticket store, and by repeating the attack it can stop the ssl application for all TLS connections on that node. Only clients that use {session_tickets, auto} are affected."
                }
              ]
            }
          ],
          "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-1288",
                  "description": "CWE-1288 Improper Validation of Consistency within Input",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:00:49.047Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-m5mh-q53w-67jq"
            },
            {
              "name": "EEF CNA record for CVE-2026-94200",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-94200.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-94200",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-94200"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Introducing commit 0abe6f6 in erlang/otp",
              "tags": [
                "related"
              ],
              "url": "https://github.com/erlang/otp/commit/0abe6f66db0d295cd06b0efab3bdb3caa2803930"
            },
            {
              "name": "Fix commit 00a333b in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/00a333bcf2800b69f540369b54167e897dae7219"
            },
            {
              "name": "Fix commit 66febc1 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/66febc190e6dc42a5c4aedbfe250bf9a2edc2d5e"
            },
            {
              "name": "Fix commit cd03348 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/cd0334854bf3ef56dc16f9fb728efe88fb05c4ac"
            }
          ],
          "source": {
            "discovery": "INTERNAL"
          },
          "title": "TLS 1.3 client ticket store crashed by NewSessionTicket with empty early_data extension in ssl",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eDo not set \u003ccode\u003e{session_tickets, auto}\u003c/code\u003e on TLS 1.3 clients. Use \u003ccode\u003emanual\u003c/code\u003e ticket handling, or keep the default value \u003ccode\u003edisabled\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Do not set `{session_tickets, auto}` on TLS 1.3 clients. Use `manual` ticket handling, or keep the default value `disabled`."
                }
              ],
              "value": "Do not set {session_tickets, auto} on TLS 1.3 clients. Use manual ticket handling, or keep the default value disabled."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Decoding.\u003c/strong\u003e \u003ccode\u003etls_handshake_1_3:decode_handshake/2\u003c/code\u003e decodes the extensions of a \u003ccode\u003eNewSessionTicket\u003c/code\u003e with the message type \u003ccode\u003eencrypted_extensions\u003c/code\u003e. \u003ccode\u003essl_handshake:decode_extensions/4\u003c/code\u003e does not check the message type for most extensions. A 0-length \u003ccode\u003eearly_data\u003c/code\u003e extension therefore decodes to \u003ccode\u003e#early_data_indication{}\u003c/code\u003e, the \u003ccode\u003eClientHello\u003c/code\u003e and \u003ccode\u003eEncryptedExtensions\u003c/code\u003e form, and not to \u003ccode\u003e#early_data_indication_nst{}\u003c/code\u003e, the 4-byte \u003ccode\u003emax_early_data_size\u003c/code\u003e form that RFC 8446 requires in a \u003ccode\u003eNewSessionTicket\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Storage.\u003c/strong\u003e In \u003ccode\u003eauto\u003c/code\u003e mode the client sends the ticket to the node-global \u003ccode\u003etls_client_ticket_store\u003c/code\u003e gen_server, which keeps it for later resumption.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Crash.\u003c/strong\u003e When a later connection resumes automatically, the store calls \u003ccode\u003etls_handshake_1_3:get_max_early_data/1\u003c/code\u003e on the stored extensions, from \u003ccode\u003emaybe_use_ticket\u003c/code\u003e and \u003ccode\u003eget_tickets\u003c/code\u003e. That function only handles \u003ccode\u003eundefined\u003c/code\u003e and \u003ccode\u003e#early_data_indication_nst{}\u003c/code\u003e, so the store process crashes with a \u003ccode\u003ecase_clause\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Escalation.\u003c/strong\u003e The store is a \u003ccode\u003epermanent\u003c/code\u003e child of \u003ccode\u003essl_admin_sup\u003c/code\u003e. Each restart of the store also restarts the children after it, because the supervisor uses \u003ccode\u003erest_for_one\u003c/code\u003e. A server that keeps sending the malformed ticket makes the crashes repeat. When the crashes exceed the supervisor restart intensity, the failure goes up through \u003ccode\u003essl_sup\u003c/code\u003e and stops the \u003ccode\u003essl\u003c/code\u003e application for the whole node.\u003c/p\u003e\n\u003cp\u003eThe fix makes \u003ccode\u003essl_handshake:decode_extensions/4\u003c/code\u003e accept each extension form only in the handshake messages where it is permitted, and decodes \u003ccode\u003eNewSessionTicket\u003c/code\u003e extensions with the message type \u003ccode\u003enew_session_ticket\u003c/code\u003e.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Decoding.** `tls_handshake_1_3:decode_handshake/2` decodes the extensions of a `NewSessionTicket` with the message type `encrypted_extensions`. `ssl_handshake:decode_extensions/4` does not check the message type for most extensions. A 0-length `early_data` extension therefore decodes to `#early_data_indication{}`, the `ClientHello` and `EncryptedExtensions` form, and not to `#early_data_indication_nst{}`, the 4-byte `max_early_data_size` form that RFC 8446 requires in a `NewSessionTicket`.\n\n**2. Storage.** In `auto` mode the client sends the ticket to the node-global `tls_client_ticket_store` gen_server, which keeps it for later resumption.\n\n**3. Crash.** When a later connection resumes automatically, the store calls `tls_handshake_1_3:get_max_early_data/1` on the stored extensions, from `maybe_use_ticket` and `get_tickets`. That function only handles `undefined` and `#early_data_indication_nst{}`, so the store process crashes with a `case_clause`.\n\n**4. Escalation.** The store is a `permanent` child of `ssl_admin_sup`. Each restart of the store also restarts the children after it, because the supervisor uses `rest_for_one`. A server that keeps sending the malformed ticket makes the crashes repeat. When the crashes exceed the supervisor restart intensity, the failure goes up through `ssl_sup` and stops the `ssl` application for the whole node.\n\nThe fix makes `ssl_handshake:decode_extensions/4` accept each extension form only in the handshake messages where it is permitted, and decodes `NewSessionTicket` extensions with the message type `new_session_ticket`."
                }
              ],
              "value": "1. Decoding. tls_handshake_1_3:decode_handshake/2 decodes the extensions of a NewSessionTicket with the message type encrypted_extensions. ssl_handshake:decode_extensions/4 does not check the message type for most extensions. A 0-length early_data extension therefore decodes to #early_data_indication{}, the ClientHello and EncryptedExtensions form, and not to #early_data_indication_nst{}, the 4-byte max_early_data_size form that RFC 8446 requires in a NewSessionTicket.\n\n2. Storage. In auto mode the client sends the ticket to the node-global tls_client_ticket_store gen_server, which keeps it for later resumption.\n\n3. Crash. When a later connection resumes automatically, the store calls tls_handshake_1_3:get_max_early_data/1 on the stored extensions, from maybe_use_ticket and get_tickets. That function only handles undefined and #early_data_indication_nst{}, so the store process crashes with a case_clause.\n\n4. Escalation. The store is a permanent child of ssl_admin_sup. Each restart of the store also restarts the children after it, because the supervisor uses rest_for_one. A server that keeps sending the malformed ticket makes the crashes repeat. When the crashes exceed the supervisor restart intensity, the failure goes up through ssl_sup and stops the ssl application for the whole node.\n\nThe fix makes ssl_handshake:decode_extensions/4 accept each extension form only in the handshake messages where it is permitted, and decodes NewSessionTicket extensions with the message type new_session_ticket."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-94200",
        "datePublished": "2026-10-14T16:55:23.328Z",
        "dateReserved": "2026-09-21T12:15:01.330Z",
        "dateUpdated": "2026-11-20T06:00:49.047Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-65634 (GCVE-0-2026-65634)

    Vulnerability from cvelistv5 – Published: 2026-09-22 08:49 – Updated: 2026-11-20 06:02
    VLAI
    Title
    Superlinear CPU denial of service in Erlang/OTP ASN.1 OBJECT IDENTIFIER decoder
    Summary
    Inefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake. The BER OID decoder asn1rtt_ber:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_ber.erl and the equivalent PER helper asn1rtt_per_common:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_per_common.erl accumulate a base-128 subidentifier into an unbounded integer using (Av bsl 7) + H per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper asn1rtt_jer:json2oid/1 in lib/asn1/src/asn1rtt_jer.erl exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware. The vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including OTP-PUB-KEY which is reached during X.509 certificate parsing via public_key:pkix_decode_cert/2. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates). This vulnerability is associated with program files lib/asn1/src/asn1rtt_ber.erl, lib/asn1/src/asn1rtt_per_common.erl and lib/asn1/src/asn1rtt_jer.erl and program routines asn1rtt_ber:dec_subidentifiers/3, asn1rtt_per_common:dec_subidentifiers/3 and asn1rtt_jer:json2oid/1. This issue affects OTP from OTP 17.0 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP 17.0, corresponding to asn1 before 3.0, is affected is unknown.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2026-09-22 10:12 UTC
    CWE
    • CWE-407 - Inefficient Algorithmic Complexity
    Impacted products
    Vendor Product Version
    Erlang OTP Affected: 3.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 , < 0fe2c02fdc06fab1c63be9db1a7456993d20f838 (git)
    Unaffected: 0fe2c02fdc06fab1c63be9db1a7456993d20f838 , < * (git)
        cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
    Create a notification for this product.
    Date Public
    2026-09-22 08:49
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-65634",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-09-22T10:12:07.686442Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-09-22T10:15:28.691Z",
              "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": [
                "asn1rtt_ber",
                "asn1rtt_per_common",
                "asn1rtt_jer"
              ],
              "packageName": "asn1",
              "packageURL": "pkg:otp/asn1?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp\u0026vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
              "product": "OTP",
              "programFiles": [
                "src/asn1rtt_ber.erl",
                "src/asn1rtt_per_common.erl",
                "src/asn1rtt_jer.erl"
              ],
              "programRoutines": [
                {
                  "name": "asn1rtt_ber:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_per_common:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_jer:json2oid/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "5.3.4.3",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.4.3.1",
                      "status": "unaffected"
                    },
                    {
                      "at": "5.5.2",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "3.0",
                  "versionType": "otp"
                }
              ]
            },
            {
              "cpes": [
                "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unknown",
              "modules": [
                "asn1rtt_ber",
                "asn1rtt_per_common",
                "asn1rtt_jer"
              ],
              "packageName": "otp",
              "packageURL": "pkg:software-id/erlang.org/otp",
              "product": "OTP",
              "programFiles": [
                "lib/asn1/src/asn1rtt_ber.erl",
                "lib/asn1/src/asn1rtt_per_common.erl",
                "lib/asn1/src/asn1rtt_jer.erl"
              ],
              "programRoutines": [
                {
                  "name": "asn1rtt_ber:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_per_common:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_jer:json2oid/1"
                }
              ],
              "vendor": "Erlang",
              "versions": [
                {
                  "changes": [
                    {
                      "at": "27.3.4.18",
                      "status": "unaffected"
                    },
                    {
                      "at": "28.5.0.7",
                      "status": "unaffected"
                    },
                    {
                      "at": "29.1.1",
                      "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": [
                "asn1rtt_ber",
                "asn1rtt_per_common",
                "asn1rtt_jer"
              ],
              "packageName": "erlang/otp",
              "packageURL": "pkg:github/erlang/otp",
              "product": "OTP",
              "programFiles": [
                "lib/asn1/src/asn1rtt_ber.erl",
                "lib/asn1/src/asn1rtt_per_common.erl",
                "lib/asn1/src/asn1rtt_jer.erl"
              ],
              "programRoutines": [
                {
                  "name": "asn1rtt_ber:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_per_common:dec_subidentifiers/3"
                },
                {
                  "name": "asn1rtt_jer:json2oid/1"
                }
              ],
              "repo": "https://github.com/erlang/otp",
              "vendor": "Erlang",
              "versions": [
                {
                  "lessThan": "0fe2c02fdc06fab1c63be9db1a7456993d20f838",
                  "status": "affected",
                  "version": "84adefa331c4159d432d22840663c38f155cd4c1",
                  "versionType": "git"
                },
                {
                  "lessThan": "*",
                  "status": "unaffected",
                  "version": "0fe2c02fdc06fab1c63be9db1a7456993d20f838",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "27.3.4.18",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "28.5.0.7",
                      "versionStartIncluding": "28.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "29.1.1",
                      "versionStartIncluding": "29.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "reporter",
              "value": "Lukas Backstr\u00f6m"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "tynus2"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "John H\u00f6gberg"
            }
          ],
          "datePublic": "2026-09-22T08:49:25.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eInefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake.\u003c/p\u003e\n\u003cp\u003eThe BER OID decoder \u003ccode\u003easn1rtt_ber:dec_subidentifiers/3\u003c/code\u003e in \u003ccode\u003elib/asn1/src/asn1rtt_ber.erl\u003c/code\u003e and the equivalent PER helper \u003ccode\u003easn1rtt_per_common:dec_subidentifiers/3\u003c/code\u003e in \u003ccode\u003elib/asn1/src/asn1rtt_per_common.erl\u003c/code\u003e accumulate a base-128 subidentifier into an unbounded integer using \u003ccode\u003e(Av bsl 7) + H\u003c/code\u003e per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper \u003ccode\u003easn1rtt_jer:json2oid/1\u003c/code\u003e in \u003ccode\u003elib/asn1/src/asn1rtt_jer.erl\u003c/code\u003e exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware.\u003c/p\u003e\n\u003cp\u003eThe vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including \u003ccode\u003eOTP-PUB-KEY\u003c/code\u003e which is reached during X.509 certificate parsing via \u003ccode\u003epublic_key:pkix_decode_cert/2\u003c/code\u003e. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates).\u003c/p\u003e\n\u003cp\u003eThis vulnerability is associated with program files \u003ccode\u003elib/asn1/src/asn1rtt_ber.erl\u003c/code\u003e, \u003ccode\u003elib/asn1/src/asn1rtt_per_common.erl\u003c/code\u003e and \u003ccode\u003elib/asn1/src/asn1rtt_jer.erl\u003c/code\u003e and program routines \u003ccode\u003easn1rtt_ber:dec_subidentifiers/3\u003c/code\u003e, \u003ccode\u003easn1rtt_per_common:dec_subidentifiers/3\u003c/code\u003e and \u003ccode\u003easn1rtt_jer:json2oid/1\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eThis issue affects OTP from OTP\u0026nbsp;17.0 before OTP\u0026nbsp;27.3.4.18, OTP\u0026nbsp;28.5.0.7, and OTP\u0026nbsp;29.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP\u0026nbsp;17.0, corresponding to asn1 before 3.0, is affected is unknown.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Inefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake.\n\nThe BER OID decoder `asn1rtt_ber:dec_subidentifiers/3` in `lib/asn1/src/asn1rtt_ber.erl` and the equivalent PER helper `asn1rtt_per_common:dec_subidentifiers/3` in `lib/asn1/src/asn1rtt_per_common.erl` accumulate a base-128 subidentifier into an unbounded integer using `(Av bsl 7) + H` per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper `asn1rtt_jer:json2oid/1` in `lib/asn1/src/asn1rtt_jer.erl` exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware.\n\nThe vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including `OTP-PUB-KEY` which is reached during X.509 certificate parsing via `public_key:pkix_decode_cert/2`. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates).\n\nThis vulnerability is associated with program files `lib/asn1/src/asn1rtt_ber.erl`, `lib/asn1/src/asn1rtt_per_common.erl` and `lib/asn1/src/asn1rtt_jer.erl` and program routines `asn1rtt_ber:dec_subidentifiers/3`, `asn1rtt_per_common:dec_subidentifiers/3` and `asn1rtt_jer:json2oid/1`.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP\u00a017.0, corresponding to asn1 before 3.0, is affected is unknown."
                }
              ],
              "value": "Inefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake.\n\nThe BER OID decoder asn1rtt_ber:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_ber.erl and the equivalent PER helper asn1rtt_per_common:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_per_common.erl accumulate a base-128 subidentifier into an unbounded integer using (Av bsl 7) + H per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper asn1rtt_jer:json2oid/1 in lib/asn1/src/asn1rtt_jer.erl exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware.\n\nThe vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including OTP-PUB-KEY which is reached during X.509 certificate parsing via public_key:pkix_decode_cert/2. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates).\n\nThis vulnerability is associated with program files lib/asn1/src/asn1rtt_ber.erl, lib/asn1/src/asn1rtt_per_common.erl and lib/asn1/src/asn1rtt_jer.erl and program routines asn1rtt_ber:dec_subidentifiers/3, asn1rtt_per_common:dec_subidentifiers/3 and asn1rtt_jer:json2oid/1.\n\nThis issue affects OTP from OTP\u00a017.0 before OTP\u00a027.3.4.18, OTP\u00a028.5.0.7, and OTP\u00a029.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP\u00a017.0, corresponding to asn1 before 3.0, is affected is unknown."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-229",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-229 Serialized Data Parameter Blowup"
                }
              ]
            }
          ],
          "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-407",
                  "description": "CWE-407 Inefficient Algorithmic Complexity",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-20T06:02:43.166Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "GitHub Advisory",
              "tags": [
                "related",
                "vendor-advisory"
              ],
              "url": "https://github.com/erlang/otp/security/advisories/GHSA-qghx-23m5-r55m"
            },
            {
              "name": "EEF CNA record for CVE-2026-65634",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-65634.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-65634",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-65634"
            },
            {
              "name": "Erlang/OTP version ordering",
              "tags": [
                "x_version-scheme"
              ],
              "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
            },
            {
              "name": "Fix commit 0fe2c02 in erlang/otp",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/erlang/otp/commit/0fe2c02fdc06fab1c63be9db1a7456993d20f838"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Superlinear CPU denial of service in Erlang/OTP ASN.1 OBJECT IDENTIFIER decoder"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-65634",
        "datePublished": "2026-09-22T08:49:24.743Z",
        "dateReserved": "2026-07-22T13:58:26.233Z",
        "dateUpdated": "2026-11-20T06:02:43.166Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }