Ce mail provient de l'extérieur, restons vigilants

=====================================================================


                            CERT-Renater

                Note d'Information No. 2026/VULN1219

_____________________________________________________________________

DATE                : 30/11/2026

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running erlang OTP versions prior to
                            29.0.3, 28.5.0.9, 27.3.4.14,
                     ssl (OTP) versions prior to 11.7.3, 11.6.0.8,
                                      11.2.12.10,
                     inets (otp) versions prior to 9.8.2, 9.6.2.5,
                                       9.3.2.9,
                    snmp (otp) versions prior to 5.20.7, 5.20.2.4,
                                      5.18.2.3,
             erts (OTP) versions prior to 17.1.2, 16.4.0.8, 15.2.7.15.

====================================================================
https://github.com/erlang/otp/security/advisories/GHSA-7mff-v332-665j
https://github.com/erlang/otp/security/advisories/GHSA-7fjc-wcvc-vp96
https://github.com/erlang/otp/security/advisories/GHSA-9p2q-5p4x-rhpq
https://github.com/erlang/otp/security/advisories/GHSA-6qhv-446c-985v
_____________________________________________________________________

TLS 1.2 Client Completes Handshake Without a Server Certificate

This report was submitted with AI assistance
Critical
IngelaAndin published GHSA-7mff-v332-665j

Package
OTP

Affected versions
>= 17.0

Patched versions
29.0.3, 28.5.0.9, 27.3.4.14

ssl (OTP)
Affected versions
>= 5.3.4
Patched versions
11.7.3, 11.6.0.8, 11.2.12.10


Description

Description

An Erlang/OTP TLS client configured with full server authentication
completes a TLS 1.2 handshake for example an ECDHE_RSA cipher suite
when a malicious server sends no Certificate message and an unsigned
ServerKeyExchange (that is, anonymous ECDH presented as an
authenticated suite).


Impact

An attacker in a man-in-the-middle position can therefore impersonate
any TLS server to an affected client, and read and modify all traffic,
even when the client is configured for full server authentication,
for example:

[{verify, verify_peer},
     {cacerts, public_key:cacerts_get()},
     {server_name_indication, "www.example.com"}]

The attacker chooses the cipher suite, so the type of key in the real
server's certificate does not matter. Any client that offers TLS 1.2
and one of the affected key exchanges is vulnerable, which is the case
for the default client configuration.

TLS 1.3 connections are not affected. Cipher suites that do not use
a ServerKeyExchange (RSA key transport, ECDH_RSA, ECDH_ECDSA) are
not affected. Servers are not affected.


Workarounds

    Use TLS-1.3 only

As a last resort, a client that must use TLS 1.2 and cannot yet take
the fix can offer only static RSA key transport suites, which have no
ServerKeyExchange and so are not subject to the unsigned-SKX bypass.
Can looks something like:

      RsaOnly = ssl:filter_cipher_suites(
                  ssl:cipher_suites(all, 'tlsv1.2'),
                  [{key_exchange, fun(rsa) -> true; (_) -> false end}]),
      Opts = [{verify, verify_peer},
              {cacerts, public_key:cacerts_get()},
              {versions, ['tlsv1.2']},
              {ciphers, RsaOnly},
              {server_name_indication, "www.example.com"},
              {customize_hostname_check,
               [{match_fun, public_key:pkix_verify_hostname_match_fun(https)}]}].

This is not recommended. Static RSA key transport provides no forward
secrecy, and many servers no longer accept it, so the handshake may
simply fail. Prefer a patched release, or restrict the client to
TLS 1.3 ({versions, ['tlsv1.3']}), which is unaffected.


Affected/Unaffected Versions

A version larger than or equal to one of the listed patched versions
is unaffected; otherwise, a version that satisfies an expression
listed under affected versions is affected, and if it does not,
it is unaffected.

The documentation of the new OTP version scheme describes how
versions should be compared. Note that versions used prior to
OTP 17.0, when the new OTP version scheme was introduced, are
never listed since it is not well defined how to compare those
versions.

In this case the vulnerability was introduced in OTP-17.0,
however that does not make it a good idea to run those older
versions that probably are affected by other vulnerabilities
and since many years not supported which also applies to OTP-17.

Note that the issue was fixed on the OTP-29, and OTP-27 prior
to this advisory as hardening fix for a different scenario but
by accident was not included for the OTP-28 track.
Credits

Thanks to Philip Calvin for finding and responsibly disclosing
this vulnerability to the Erlang/OTP project.


Severity
Critical
9.1/ 10

CVSS v4 base metrics
Exploitability Metrics
Attack Vector Network
Attack Complexity Low
Attack Requirements Present
Privileges Required None
User interaction None
Vulnerable System Impact Metrics
Confidentiality High
Integrity High
Availability None
Subsequent System Impact Metrics
Confidentiality None
Integrity None
Availability None
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

CVE ID
CVE-2026-124286

Weaknesses
Weakness CWE-347

Credits

    @pnc pnc Reporter
    @IngelaAndin IngelaAndin Remediation developer

_____________________________________________________________________


Attacker-controlled ESI headers cause persistent atom-table growth
in `inets`

High
Whaileee published GHSA-7fjc-wcvc-vp96

Package
OTP

Affected versions
>= 17.0

Patched versions
29.1.3, 28.5.0.9, 27.3.4.20

inets (otp)
Affected versions
>= 5.10
Patched versions
9.8.2, 9.6.2.5, 9.3.2.9


Description

Impact

An inets httpd server that serves Erlang Server Interface (ESI) scripts,
i.e. one configured with erl_script_alias (with mod_esi in modules,
which it is by default), creates a new atom from the name of request
headers sent by the client when it builds the environment passed to
the ESI callback.

httpd_script_env:http_env_element/3 only accepts a header name that
already exists as an atom, but then unconditionally creates the atom
http_<header-name> with list_to_atom/1. Atoms are never garbage
collected, so each such atom stays in the atom table for the
lifetime of the node. Because every newly created atom is itself
an existing atom, it can seed the next request: a header named
node creates http_node, a header named http_node then creates
http_http_node, and so on. An unauthenticated remote client can
therefore keep growing the atom table with a stream of ordinary
HTTP requests to any ESI URL.

When the atom table reaches its limit (+t, default 1,048,576 atoms)
the whole Erlang VM aborts, taking down every application running on
that node, not only httpd. Below the limit, the growth is still
permanent and only goes away when the node is restarted. How many
atoms an attacker can reach depends on how many atoms the node
already contains, so larger systems are more exposed.

You are affected if all of the following hold:

    inets httpd is running with at least one erl_script_alias
configured, and
    the ESI URL prefix can be reached by untrusted clients
(directly, or through a proxy that forwards arbitrary request headers).

If ESI is only reachable after authentication (for example via
mod_auth or mod_security directory protection placed in front
of mod_esi), only authenticated clients can trigger the issue.

httpd servers without erl_script_alias, CGI scripts served by
mod_cgi, and the httpc client are not affected.


Workarounds

    Remove erl_script_alias from the httpd configuration (or
remove mod_esi from modules) if ESI is not needed.
    Restrict access to ESI URL prefixes to trusted clients,
for example with mod_auth/mod_security directory protection,
bind_address, or network-level filtering.
    Put httpd behind a reverse proxy that forwards only an
allowlist of standard HTTP request headers to the ESI URL
prefixes.
    Monitor erlang:system_info(atom_count) against
erlang:system_info(atom_limit) and alert on steady
growth.


Affected/Unaffected Versions

A version larger than or equal to one of the listed patched
versions is unaffected; otherwise, a version that satisfies
an expression listed under affected versions is affected, and
if it does not, it is unaffected.

The documentation of the new OTP version scheme describes how
versions should be compared. Note that versions used prior to
OTP 17.0, when the new OTP version scheme was introduced,
are never listed since it is not well defined how to compare
those versions.

In the case of this vulnerability, versions prior to OTP 17.0
are likely also affected.


Credits

Thanks to jtdowney finding and responsibly disclosing this
vulnerability to the Erlang/OTP project.

Severity
High
8.2/ 10

CVSS v4 base metrics
Exploitability Metrics
Attack Vector Network
Attack Complexity Low
Attack Requirements Present
Privileges Required None
User interaction None
Vulnerable System Impact Metrics
Confidentiality None
Integrity None
Availability High
Subsequent System Impact Metrics
Confidentiality None
Integrity None
Availability None
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

CVE ID
CVE-2026-116382

Weaknesses
Weakness CWE-770

Credits

    @jtdowney jtdowney Reporter
    @garazdawi garazdawi Finder
_____________________________________________________________________

Quadratic CPU Denial of Service in SNMP BER Object Identifier
Sub-Identifier Decoding

High
Whaileee published GHSA-9p2q-5p4x-rhpq last week

Package
OTP
Affected versions
>=17.0
Patched versions
29.1.3, 28.5.0.9, 27.3.4.20

snmp (otp)
Affected versions
>=4.25.1
Patched versions
5.20.7, 5.20.2.4, 5.18.2.3


Description

Summary

Impact

The BER decoder in the snmp application (snmp_pdus:dec_oid_element/3) does
not limit the number of base-128 octets in a single OBJECT IDENTIFIER
sub-identifier, nor the number of sub-identifiers in an OID. A sub-identifier
may span the entire datagram. Once the accumulated value exceeds the native
integer size it becomes a bignum, and every further octet re-allocates and
copies it, so decoding time grows quadratically with the length of the
sub-identifier. Roughly 230 ms of CPU is consumed for a single 64 kB
sub-identifier.

The OIDs are decoded before any authentication takes place:

    SNMP agent: for SNMPv1 and SNMPv2c the PDU, including varbind OIDs, is
    decoded before the community string is checked; for SNMPv3 the scoped PDU
    of an unauthenticated USM discovery message is decoded with no user and no
    key.
    SNMP manager: inbound messages (responses, traps, informs) are decoded
    before they are matched against a known agent or user.

Decoding is performed inline in the single network interface process
(snmpa_net_if / snmpm_net_if), which does not read the next datagram
until decoding completes. An unauthenticated remote attacker able to send a
low rate of crafted UDP datagrams to the SNMP port can therefore keep that
process busy, and the agent or manager stops processing legitimate SNMP
traffic for as long as the attack continues. Other parts of the Erlang node
are not directly affected, apart from the CPU consumed on one scheduler.

You are affected if you run the snmp agent or manager and its UDP port is
reachable by untrusted hosts. Applications that do not start the SNMP agent
or manager, and do not call snmp_pdus decoding functions on untrusted
data, are not affected.

The fix enforces the bounds stated in RFC 2578 section 3.5: at most 128
sub-identifiers per OID, at most 5 octets per sub-identifier, and a maximum
sub-identifier value of 2^32-1. Messages violating these bounds are discarded
and counted in snmpInASNParseErrs.
Workarounds

    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.

Note that community strings and SNMPv3 credentials do not mitigate this
issue, since decoding happens before they are checked.
Affected/Unaffected Versions

A version larger than or equal to one of the listed patched versions is
unaffected; otherwise, a version that satisfies an expression listed
under affected versions is affected, and if it does not, it is unaffected.

The documentation of the new OTP version scheme describes how versions
should be compared. Note that versions used prior to OTP 17.0, when
the new OTP version scheme was introduced, are never listed since it
is not well defined how to compare those versions.

In the case of this vulnerability, versions prior to OTP 17.0 are
likely also affected.


Severity
High
8.7/ 10

CVSS v4 base metrics
Exploitability Metrics
Attack Vector Network
Attack Complexity Low
Attack Requirements None
Privileges Required None
User interaction None
Vulnerable System Impact Metrics
Confidentiality None
Integrity None
Availability High
Subsequent System Impact Metrics
Confidentiality None
Integrity None
Availability None
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
CVE ID
CVE-2026-116225
Weaknesses
Weakness CWE-770
Credits

    @Whaileee Whaileee Remediation developer
    @garazdawi garazdawi Finder


_____________________________________________________________________


binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID
Words Aborts the VM

High
sverker published GHSA-6qhv-446c-985v

Package
OTP

Affected versions
>= 17.0

Patched versions
29.1.3, 28.5.0.9, 27.3.4.20

erts (OTP)
Affected versions
>= 6.0
Patched versions
17.1.2, 16.4.0.8, 15.2.7.15


Description

Impact

Calling binary_to_term/1,2 with an Erlang reference incorrectly
encoded with NEW_REFERENCE_EXT (114) or NEWER_REFERENCE_EXT (90)
could cause the Erlang VM to abort. In particular the 16-bit Len
field encoded as zero. The abort takes down every process on the
node; neither supervision, try/catch nor [safe] option can
intercept it. It's also possible to cause binary_to_term to
return a term containing binary data read past the end of the
input buffer.

Any application that calls binary_to_term/1,2 or
enif_binary_to_term() on data from an untrusted source is
vulnerable. The Erlang distribution protocol also decodes
incoming terms through the same code path; however,
distribution is assumed to run only in trusted networks
per the OTP Secure Coding Guidelines.


Workarounds

    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.
    If distribution is exposed to untrusted networks, configure
it to use TLS with client certificate verification.
    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.


Affected/Unaffected Versions

A version larger than or equal to one of the listed patched
versions is unaffected; otherwise, a version that satisfies
an expression listed under affected versions is affected,
and if it does not, it is unaffected.

The documentation of the new OTP version scheme describes
how versions should be compared. Note that versions used
prior to OTP 17.0, when the new OTP version scheme was
introduced, are never listed since it is not well defined
how to compare those versions.

In the case of this vulnerability, versions prior to OTP
17.0 are likely also affected.
Credits

Thanks to Sungho Park (@gigio1023), Khaled Suliman (@kjsxz),
Alexander Leishman (@leishman) and Özgün Kültekin,
Wakefield (@oz9un) for finding and responsibly disclosing
this vulnerability to the Erlang/OTP project.


Severity
High
7.0/ 10

CVSS v4 base metrics
Exploitability Metrics
Attack Vector Local
Attack Complexity Low
Attack Requirements None
Privileges Required None
User interaction None
Vulnerable System Impact Metrics
Confidentiality Low
Integrity None
Availability High
Subsequent System Impact Metrics
Confidentiality None
Integrity None
Availability None
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

CVE ID
CVE-2026-116293

Weaknesses
Weakness CWE-125
Weakness CWE-787
Weakness CWE-1284

Credits

    @gigio1023 gigio1023 Reporter
    @sverker sverker Remediation developer
    @kjsxz kjsxz Reporter
    @oz9un oz9un Reporter


=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================




