Not yet analysed by NVD. Matched on the vendor's record; this may change when NVD has analysed it.
Reach libopenssl · 4 builds in 2 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
Issue summary: A server configured with the Suite B certificate flag through SSL_CTX_set_cert_flags() and with TLS 1.3 enabled may read past the end of a fixed group list when it processes a ClientHello whose supported_groups and key_share contain no Suite B group.
Impact summary: A remote client can send a ClientHello that makes the server read past the end of a static array. The values read are never returned to the client, so no memory is disclosed; on builds with sanitizers or hardened allocators the read may crash the process, causing Denial of Service.
CWE: CWE-125: Out-of-bounds Read
Description: When the Suite B certificate flag is set, OpenSSL restricts the accepted groups to P-256 and P-384 by substituting a fixed two-element list for the configured group list. The tuple machinery used for key-share selection was not updated for this substitution: tls1_get_group_tuples() still returns the configured tuples, which by default describe eight groups. The server-side walk in tls_parse_ctos_key_share() then advances through the two-element list using those tuple counts without checking the cumulative offset against the number of groups present.
Only applications that call SSL_CTX_set_cert_flags() with SSL_CERT_FLAG_SUITEB_128_LOS and leave TLS 1.3 enabled are affected. The openssl s_server -suiteB_128 option sets an X.509 verification parameter instead, so the stock command line server is not vulnerable. Default configurations do not reach this code.
A client that offers only groups outside the Suite B set, such as X25519, forces every tuple to be walked and the read to run past the array. The bytes read are compared against client group IDs and never sent back, so no memory is disclosed. On builds with address sanitizers or hardened allocators the read can abort the process; in ordinary release builds it reads a few bytes of adjacent constant data.
FIPS impact: no The affected code is outside the FIPS module boundary.
Published 2026-11-17NVD
CVSS 3.1Network · no privileges · no user interaction
How it is reached
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
The vulnerable code is present and compiled into the target libssl (3.5.8, TLS 1.3 enabled, no fix backported), but nothing in the image puts a TLS server into Suite B mode, so the out-of-bounds walk in tls_parse_ctos_key_share() cannot be reached on a shipped device.
No package in the image calls SSL_CTX_set_cert_flags() / SSL_set_cert_flags() with a Suite B flag. The flag can also be set by a SUITEB128 / SUITEB128ONLY / SUITEB128C2 / SUITEB192 cipher string (check_suiteb_cipher_list()), a route the advisory text does not mention, so I checked that too: the only TLS server cipher string Infix sets is nginx's hard-coded HIGH:!aNULL:!MD5, and no YANG node or CLI command exposes a cipher string.
Reaching the code would require stepping outside the product: a root shell to hand-edit /etc/nginx/ssl.conf or a hostapd config, or adding a custom application that sets the flag.
Evidence 12
Source built is OpenSSL 3.5.8 (release date 25 Aug 2026), which predates the 2026-11-17 advisory.
output/build/libopenssl-3.5.8/VERSION.dat
Only the four Buildroot patches are applied (reproducible build, ppc64 ELFv2, static revert, serialised install); none touches `ssl/` or names this CVE.
output/build/libopenssl-3.5.8/.applied_patches_list
Unfixed code: the loop advances `first_group_in_tuple` by `srvrtuples[current_tuple]` for every tuple and never checks the cumulative offset against `srvr_num_groups`.
output/build/libopenssl-3.5.8/ssl/statem/extensions_srvr.c:915-983 (tls_parse_ctos_key_share)
In Suite B mode `tls1_get_supported_groups()` substitutes the two-element `suiteb_curves` (line 207), while `tls1_get_group_tuples()` has no Suite B case and still returns the configured tuples.
output/build/libopenssl-3.5.8/ssl/t1_lib.c:786-798 and 841-853
Configure options contain no `no-tls1_3` and no `no-ec`, so the TLS 1.3 key_share path is compiled; `no-asan`/`no-ubsan` means an ordinary release build.
output/build/libopenssl-3.5.8/configdata.pm:247
`BR2_PACKAGE_OPENSSL=y` and `BR2_PACKAGE_LIBOPENSSL=y` select it for the target, and `libopenssl` installs `./usr/lib/libssl.so.3` into the image (it is not host-only).
output/.config:2198-2200; output/build/packages-file-list.txt:22008
Cipher strings starting with `SUITEB128`, `SUITEB128ONLY`, `SUITEB128C2` or `SUITEB192` also set the Suite B bits in `cert_flags`, so cipher strings are a second way to enter the affected mode besides `SSL_CTX_set_cert_flags()`.
output/build/libopenssl-3.5.8/ssl/ssl_ciph.c:1213-1232 (check_suiteb_cipher_list)
No target package sets a Suite B cert flag: the only `set_cert_flags`-style hits are unrelated `gnupg2` symbols; hostapd/wpa_supplicant only compare the string `SUITEB192` in `src/crypto/tls_openssl.c:3661,5849` inside BoringSSL branches.
tree-wide search of output/build (excluding libopenssl and host-*)
The nginx TLS server (web UI / RESTCONF) gets a hard-coded `ssl_ciphers HIGH:!aNULL:!MD5`; `web_ssl_conf()` only takes the certificate name from YANG, not a cipher string.
src/confd/src/services.c:818; board/common/rootfs/etc/nginx/ssl.conf:5
confd generates hostapd configs only for open, WPA2-PSK and SAE; no `ieee8021x`, `eap_server` or `openssl_ciphers` line is written, so hostapd never acts as a TLS server. `output/build/hostapd-2.12/hostapd/.config:60` also has `CONFIG_EAP_TLS` commented out.
src/confd/src/hardware.c:653-700
libnetconf2 passes cipher suites translated from IANA identity names to explicit OpenSSL cipher names; the `SUITEB*` aliases are not among them, so NETCONF-over-TLS configuration cannot select Suite B mode.
output/build/libnetconf2-4.6.4/src/session_openssl.c:2217-2224
The `openssl` binary's `-suiteB_*` options set `X509_V_FLAG_SUITEB_*` verification flags only, matching the advisory's statement that the stock `s_server` is not affected.
output/build/libopenssl-3.5.8/apps/lib/opt.c:854-861
Version and patches
The build uses OpenSSL 3.5.8 with only four Buildroot build-system patches; the source still contains the unbounded tuple walk, so the fix is not present. I could not read the upstream advisory or fix commits (no network access), so the exact affected range and the fixed 3.5.x version are not confirmed; the tuple-based key-share selection exists in the 3.5 series and 3.5.8 predates the advisory, so the NVD match looks correct.
Recommendation
Document as not exposed; no urgent backport is needed. Pick up the fix with the next routine libopenssl bump to the fixed 3.5.x release.
If a future change makes TLS cipher strings operator-configurable (for example an nginx ssl_ciphers or hostapd openssl_ciphers YANG leaf), re-triage first, because a SUITEB* cipher string would then enable the affected mode.
Open questions
The advisory and fix commits could not be consulted offline, so the fixed version number and whether upstream also treats the SUITEB* cipher-string route as a trigger are unconfirmed; I treated it as one, based on check_suiteb_cipher_list().
output/target in this tree does not contain the shared libraries themselves, so the presence of libssl.so.3 in the image rests on output/build/packages-file-list.txt and .stamp_target_installed rather than on the binary.
Containers that an operator runs on the device ship their own userland and were not considered. I did not audit every TLS-capable package (for example ttyd, rousette, socat) beyond the tree-wide search for Suite B flags and cipher strings, which found none.
The brief labels libopenssl a host package; output/.config shows it is also selected for the target, which is what this review assessed.
Members of Kernel Kit decide. Sign in if you are one.