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: QUIC, when performing automated peer detection, may allow uninitialized stack data to leak into the received address which is then used as the destination for outgoing packets.
Impact summary: Applications using QUIC's automated peer detection mechanism may receive an invalid address, leading to connection loss and disclosure of uninitialized stack data to an attacker observing the outgoing network traffic.
CWE: CWE-457 (Use of Uninitialized Variable)
Description: The OpenSSL QUIC stack contains a feature in which, when using an already connected socket, it will auto-detect the peer address during the SSL handshake. This feature uses the getpeername() function, passing a buffer of sufficient length to hold any supported address family, but passes a buffer length that is only sized such that larger addresses, such as IPv6, cannot be retrieved. The getpeername() function however, still returns the full address length, which is accepted as the valid input buffer length, leading to the address buffer containing uninitialized stack data instead of the actual peer address. The invalid peer address is then used as destination for the outgoing packets which leads to a connectivity breakage and a leakage of the uninitialized stack data to passive network observers.
FIPS impact: no The FIPS modules in 4.0, 3.6, 3.5, 3.4, and 3.0 are not affected by this CVE as the affected protocol is not implemented in the FIPS module.
Published 2026-11-10NVD
CVSS 3.1Adjacent network · no privileges · no user interaction
How it is reached
- Attack vector
- Adjacent network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
What it costs
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Scope
- Unchanged
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
The vulnerable code is in the image: libopenssl 3.5.8 is built for the target with QUIC enabled, and BIO_CTRL_DGRAM_DETECT_PEER_ADDR in crypto/bio/bss_dgram.c still passes sizeof(xaddr.sa) to getpeername(), exactly as the CVE describes. No Buildroot or Infix patch touches it.
Nothing on a shipped device calls it, though. No other package in output/build uses the OpenSSL QUIC stack: libcurl is built without HTTP/3, nginx has no HTTP/3 module, and no finit service, confd code or YANG node starts a QUIC endpoint. Even the bundled openssl s_client -quic uses an unconnected socket and sets the peer address explicitly, so it skips auto-detection.
Reaching the bug would need a root shell plus a custom or third-party program that creates an OpenSSL QUIC client on an already-connected IPv6 UDP socket without calling SSL_set1_initial_peer_addr(). Confidence is medium only because I could not read the upstream advisory or fix commits (no network access), so "affected" rests on the source matching the CVE text.
Evidence 12
`BIO_CTRL_DGRAM_DETECT_PEER_ADDR` sets `xaddr_len = sizeof(xaddr.sa)` (a plain `struct sockaddr`), calls `getpeername()` into a stack `BIO_ADDR`, then copies `BIO_ADDR_sockaddr_size(p)` bytes out. For IPv6 the tail of the address is uninitialised stack. The vulnerable pattern is present and unfixed.
output/build/libopenssl-3.5.8/crypto/bio/bss_dgram.c:762-781
`csm_analyse_init_peer_addr()` calls `BIO_dgram_detect_peer_addr()` only when no initial peer address has been set, and feeds the result to `ossl_quic_channel_set_peer_addr()`. This is the only QUIC caller.
output/build/libopenssl-3.5.8/ssl/quic/quic_impl.c:1140-1146, 1926-1930
The source is 3.5.8, released 25 Aug 2026, before the CVE was published on 2026-11-10. `CHANGES.md` has no entry mentioning this CVE or `getpeername`.
output/build/libopenssl-3.5.8/VERSION.dat
Only the four Buildroot patches are applied (reproducible build, ppc64 ABI, static revert, install serialisation). None touches `bss_dgram.c` or QUIC, and `patches/` has no `libopenssl` directory.
output/build/libopenssl-3.5.8/.applied_patches_list
`BR2_PACKAGE_LIBOPENSSL=y` and `BR2_PACKAGE_LIBOPENSSL_ENABLE_QUIC=y`: the package is selected for the target with QUIC on.
output/.config:2153, 2186
`no-quic` is passed only when `BR2_PACKAGE_LIBOPENSSL_ENABLE_QUIC` is unset, so it is not passed in this build.
buildroot/package/libopenssl/libopenssl.mk:122
The `%disabled` list does not contain `quic`, and `include/openssl/configuration.h` has no `OPENSSL_NO_QUIC`. QUIC is compiled into `libssl`, and `.stamp_target_installed` shows it was installed to the target.
output/build/libopenssl-3.5.8/configdata.pm:531-574
The only in-image user of `OSSL_QUIC_client_method()` is `openssl s_client -quic`. It calls `init_client()` with `doconn = !isquic` (socket left unconnected) and then `SSL_set1_initial_peer_addr()`, so the auto-detect path is not taken.
output/build/libopenssl-3.5.8/apps/s_client.c:1445, 2262-2263, 2346-2348
`OPENSSL_QUIC_API2` and `USE_NGHTTP3` are both undefined: `curl` is built without HTTP/3 or QUIC.
output/build/libcurl-8.22.0/lib/curl_config.h:746, 847
`nginx` is built with the HTTP, SSL and HTTP/2 modules only; no `BR2_PACKAGE_NGINX_HTTP_V3_MODULE`.
output/.config:3278-3340
No file in any other built package references `OSSL_QUIC_client_method`, `OSSL_QUIC_server_method`, `SSL_set1_initial_peer_addr`, `BIO_dgram_detect_peer_addr` or `SSL_new_listener`.
output/build (recursive search outside libopenssl)
Default services are `mstpd`, `netconf` and `rauc`; none uses QUIC. The only QUIC mentions in the product's YANG are firewall service names (`dns-over-quic`, `http3`), which open ports and do not start any OpenSSL QUIC endpoint.
board/common/rootfs/etc/finit.d/enabled, src/confd/yang/confd/infix-firewall-services.yang:54, 84
Version and patches
The tree is OpenSSL 3.5.8 (VERSION.dat, released 25 Aug 2026) and the vulnerable getpeername() call is present unmodified in crypto/bio/bss_dgram.c:764-767. The four applied Buildroot patches do not touch it, and there is no IGNORE_CVES entry.
The upstream advisory and fix commits could not be fetched, so the exact affected range and fixed version are not confirmed. The CVE text implies the 3.5 branch is affected, and the fix is presumably in a 3.5.x release after 3.5.8.
Recommendation
No urgent action is needed: document the finding as not exposed, because nothing in the image uses OpenSSL QUIC peer auto-detection.
Pick up the fix with the next routine libopenssl bump to the 3.5.x release that contains it, or backport the upstream bss_dgram.c change if a bump is delayed.
Re-evaluate if a QUIC consumer is added later, for example curl with OpenSSL-QUIC HTTP/3, or a container or customer application that links the system libssl. If QUIC is not needed, setting BR2_PACKAGE_LIBOPENSSL_ENABLE_QUIC to off would remove the code entirely.
Open questions
The upstream advisory (secadv/20261110.txt) and the three fix commits were not readable from this environment, so the exact affected range and first fixed 3.5.x version are unconfirmed.
Prebuilt objects were not inspected. That QUIC is compiled in is inferred from configdata.pm, configuration.h and the .mk file, not from symbols in the installed libssl.so.
Operator-supplied container workloads use their own userspace and are outside this assessment.
One read-only command combining cd with cat was blocked by the sandbox. I reran it with root-relative paths, so nothing was lost.
Members of Kernel Kit decide. Sign in if you are one.