Kernel Kit / Infix / v26.10.0latest
CVE-2026-84782
8.2highlibopenssl3.5.8 · 3.4.3 · 3.4.1in 4 of 4 releases
Reach libopenssl · 8 builds in 4 of 4 releases
full reviewcross-check✓ a member decided
Description · NVD
Issue summary: The DTLS retransmission logic does not correctly handle a handshake message write that is suspended part-way through. The retransmitted message can be read past the message buffer and the retransmission overwrites the internal state the suspended write needs to resume correctly.
Impact summary: The retransmitted message can disclose a heap memory to the peer as plaintext handshake data or cause a crash and a Denial of Service when the read reaches an unmapped memory region.
CWE: CWE-125: Out-of-bounds Read
Description: DTLS handshake messages can be written out in multiple fragments, and a write can suspend mid-message (returning WANT_WRITE) if the underlying transport temporarily cannot accept more data. While such a write is suspended, the DTLS retransmission timer may independently fire and ask the retransmission logic to resend an earlier, already-acknowledged-as-sent message from its retransmit queue.
The retransmission logic reused the same internal buffer and position tracking as the message that was still being written, without resetting the position back to the start of the message being retransmitted. As a result the retransmission was read starting from wherever the suspended write had left off, producing a mislabelled message whose body was leftover bytes from the other, larger message still in flight - content that was never meant to be sent at that point, and which could run past the end of the allocated buffer.
Separately, even when the retransmission is positioned correctly, allowing it to run to completion while another write is suspended overwrites the same shared bookkeeping that the suspended write depends on to resume. When the application later resumes the suspended write (via a subsequent SSL_read(), SSL_write(), SSL_accept(), or SSL_connect() call), it finds that bookkeeping in a state inconsistent with the message and aborts the process in a debugging build.
The fix resets the retransmission's read position to the start of the message before resending, and skips retransmission entirely whenever a handshake write is still suspended, deferring to the next call that resumes it instead.
FIPS impact: no The affected code is outside the FIPS module boundary.
Published 2026-09-29NVD
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
- High
- Scope
- Unchanged
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
References 6
- github.com/openssl/openssl/commit/906cf0ef1c85ca40ce69163e9086d6d3fe292943
- github.com/openssl/openssl/commit/9f6b34422af7eb5dac61322e33dac1ae989fa628
- github.com/openssl/openssl/commit/a383dafdd754eb5b22bf45e37e1bff9d07277a58
- github.com/openssl/openssl/commit/d951e02ede8f6a6ff8150546db44b34f0518192c
- openssl-library.org/news/secadv/20260929.txt
- cert-portal.siemens.com/productcert/html/ssa-457936.html
Fable 5.1 · medium confidence · 2026-11-05
The vulnerable DTLS retransmission code is present and compiled into the target libssl: ssl/statem/statem_dtls.c dtls1_retransmit_message() sets init_num but never resets init_off before calling dtls1_do_write(), and dtls1_handle_timeout()/dtls1_retransmit_buffered_messages() have no suspended-write guard; none of the 4 Buildroot patches touch it and DTLS is not disabled in the configure options.
However no shipped service speaks DTLS: the only DTLS-capable daemon (snmpd, built with --with-transports=DTLSUDP,TLSTCP) is off by default (finit unit in available/, engine/enabled default false) and confd only ever writes UDP agentaddress lines, with the ietf-snmp-tls 'tlstm' feature not enabled in the loaded YANG, so DTLS cannot be configured via NETCONF/RESTCONF/CLI.
Reaching the code requires a root shell to run socat/ncat (or a custom program) as a DTLS endpoint over a non-blocking transport.
Evidence 11
memcpy into init_buf and s->init_num set, but s->init_off is not reset to 0 before dtls1_do_write(); the fix commit's position reset is absent
output/build/libopenssl-3.5.8/ssl/statem/statem_dtls.c:1218-1245 (dtls1_retransmit_message)
Timer path calls dtls1_retransmit_buffered_messages() unconditionally; no check that a handshake write is suspended (second half of the fix absent)
output/build/libopenssl-3.5.8/ssl/d1_lib.c:390-410 (dtls1_handle_timeout) and statem_dtls.c:1104-1121
Only 4 Buildroot build-system patches applied; none touch ssl/statem or DTLS
output/build/libopenssl-3.5.8/.applied_patches_list
OpenSSL 3.5.8, within the affected range (fix released after 3.5.8 per advisory 20260929)
output/build/libopenssl-3.5.8/VERSION.dat / include/openssl/opensslv.h:90
Configure options contain no 'no-dtls'; OPENSSL_NO_DTLS is not defined, so DTLS is compiled into libssl
output/build/libopenssl-3.5.8/configdata.pm:247 and include/openssl/configuration.h
libopenssl is a target package; DTLS-API users built for target are netsnmp (snmpd), socat and ncat
output/.config: BR2_PACKAGE_LIBOPENSSL=y, BR2_PACKAGE_NETSNMP=y, BR2_PACKAGE_SOCAT=y, BR2_PACKAGE_NMAP_NCAT=y
snmpd built with --with-transports=DTLSUDP,TLSTCP, so DTLS server transport is linked in
output/build/netsnmp-5.9.3/config.log:7 (buildroot/package/netsnmp/netsnmp.mk:80)
confd only emits 'agentaddress udp:…/udp6:…' lines; no dtlsudp transport is ever configured
src/confd/src/snmp.c:86-116 (agentaddress)
ietf-snmp loaded with no features; the dtls listen case is if-feature tlstm, so DTLS is not configurable through YANG/CLI/web
src/confd/yang/snmp.inc:2-7 and src/confd/yang/confd/ietf-snmp-tls@2014-12-10.yang:77-108
snmpd engine/enabled defaults to false, unit lives in available/ (enabled/ has only mstpd, netconf, rauc); confd enables it only when operator sets engine/enabled
src/confd/yang/confd/ietf-snmp-engine@2014-12-10.yang:62-64; package/skeleton-init-finit/skeleton/etc/finit.d/available/snmpd.conf; board/common/rootfs/etc/finit.d/enabled/
socat has DTLS support compiled but is not exposed via CLI or any service; requires a root shell
output/build/socat-1.8.1.3/config.log:5513-5514; src/klish-plugin-infix (no socat/ncat refs)
Version and patches
Affected: OpenSSL 3.5.x up to and including 3.5.8 (and other branches per advisory 20260929); fixed in the next 3.5 release (3.5.9) via commits 906cf0ef/9f6b3442/a383dafd/d951e02e. This tree is 3.5.8 with no stable backport; the 4 Buildroot patches (reproducible build, ppc64 ELFv2, revert static fix, serialize install) are unrelated.
Recommendation
Document as not exposed in the shipped configuration; pick up OpenSSL 3.5.9 (or backport the four fix commits) at the next routine Buildroot/libopenssl bump rather than as an emergency. Re-evaluate immediately if the ietf-snmp 'tlstm' feature is enabled in src/confd/yang/snmp.inc or any DTLS-based service (e.g. RADIUS/DTLS, CoAP, DTLS VPN) is added to the image.
Open questions
Could not verify from the tree whether any third-party container workloads or the web UI backend use DTLS (none found in confd/finit). The target rootfs under output/target was not fully inspected for every binary linking libssl, but a source grep of all output/build packages found only netsnmp, socat and nmap referencing DTLS APIs.
Members of Kernel Kit decide. Sign in if you are one.