bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-95690

5.3medium

libopenssl3.5.8in 2 of 4 releases

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

v25.03.1not in NVD's range
v26.01.0not in NVD's range
v26.09.03.5.8
v26.10.0latest3.5.8
aarch64_minimal
x86_64
aarch64_minimal–
x86_64–
aarch64_minimal–
x86_64–
aarch64_minimalAAwaiting reviewx86_64AAwaiting reviewaarch64_minimalAAwaiting reviewx86_64AAwaiting review

Description · NVD

Issue summary: Receiving crafted out-of-sequence DTLS handshake fragments may cause OpenSSL to allocate a full message-length reassembly buffer for each buffered message, so a small amount of wire data consumes a large amount of memory.

Impact summary: A remote attacker can send a few small crafted DTLS handshake fragments to make a DTLS server or client allocate well over a megabyte of memory per connection, which may lead to memory exhaustion and Denial of Service if many connections are made.

CWE: CWE-770: Allocation of Resources Without Limits or Throttling

Description: DTLS handshake messages can arrive out of order and fragmented, so OpenSSL buffers fragments of up to ten out-of-sequence messages until reassembly is possible. When the first fragment of a new message arrives, OpenSSL allocates a buffer sized to the full message length declared in the fragment header, plus a reassembly bitmap, instead of storing only the bytes actually received. The declared length is capped by the maximum certificate list size, 128KB by default, and that cap applies to every handshake message type rather than only to Certificate messages.

Only DTLS endpoints reach this code. TLS, QUIC and applications that do not use DTLS are unaffected. An attacker sends fragments that declare a large message length but carry almost no data, using up to ten distinct message sequence numbers.

A single connection can then hold roughly 1.4MB of buffers from about 156 bytes on the wire. Because the number of buffered messages is capped, memory exhaustion requires many connections or many peers, which is why the severity is Low.

FIPS impact: no The affected code is outside the FIPS module boundary.

Published 2026-11-18NVD

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
None
Integrity
None
Availability
Low
Scope
Unchanged

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References 2
Review Av26.10.0x86_64Not exposedFable 5.2 · medium confidence · 2026-11-19

The DTLS handshake reassembly code in the built libopenssl 3.5.8 still allocates a full message-length buffer for each buffered out-of-sequence fragment, and DTLS is compiled into the target libssl. I found no fix in the source or in the four Buildroot patches, so the build is affected.

Nothing in the product opens a DTLS endpoint, either by default or through YANG, the CLI or the web UI. The only daemon with DTLS support is net-snmp snmpd (built with --with-transports="DTLSUDP,TLSTCP"). It is off by default, and when enabled via /ietf-snmp:snmp/engine/enabled, confd only writes udp:/udp6: listen addresses. The tlstm YANG feature that would add a DTLS listener is not enabled.

Reaching the code needs a root shell: hand-editing /etc/snmp/snmpd.conf to add a dtlsudp: address, or manually running socat, ncat, openssl s_server/s_client or the net-snmp client tools with DTLS. If someone did that, the code would be network-reachable over UDP without authentication.

Evidence 12
  1. A new out-of-sequence fragment triggers `dtls1_hm_fragment_new(msg_hdr->msg_len, 1)`, i.e. a buffer sized to the full claimed message length regardless of how little data arrived. This matches the CVE description; no fix is present.

    output/build/libopenssl-3.5.8/ssl/statem/statem_dtls.c:638 (dtls1_reassemble_fragment)

  2. `dtls1_hm_fragment_new` mallocs `frag_len` plus a bitmask. The only bounds are `dtls1_max_handshake_message_len` (at least 16 KB, or `max_cert_list`) and a window of 10 future sequence numbers.

    output/build/libopenssl-3.5.8/ssl/statem/statem_dtls.c:70-102, 445-451, 752

  3. The 3.5.8 changelog has a different DTLS memory fix (future-epoch record buffering, CVE-2026-54874). There is no entry for handshake fragment reassembly or CVE-2026-95690.

    output/build/libopenssl-3.5.8/CHANGES.md:137-150

  4. Only the four Buildroot patches are applied (reproducible build, ppc64 ELFv2, revert static, serialize install). None touches `ssl/`.

    output/build/libopenssl-3.5.8/.applied_patches_list

  5. `dtls` is not in `%disabled` (only `sctp`, `ssl3` and others are), and `ssl/statem/libssl-shlib-statem_dtls.o` is a `libssl` build object. `buildroot/package/libopenssl/libopenssl.mk:81-128` passes no `no-dtls`.

    output/build/libopenssl-3.5.8/configdata.pm:534-574, 10273-10282

  6. `BR2_PACKAGE_OPENSSL=y` and `BR2_PACKAGE_LIBOPENSSL=y` are set for the target (not only the host package), with `BR2_PACKAGE_LIBOPENSSL_BIN=y` installing the `openssl` binary.

    output/.config:2199 and configs/x86_64_defconfig:54

  7. net-snmp is built with `--with-security-modules="tsm,usm" --with-transports="DTLSUDP,TLSTCP"`, and `NETSNMP_TRANSPORT_DTLSUDP_DOMAIN` is defined. `snmpd` is the only daemon in the image with a DTLS transport.

    buildroot/package/netsnmp/netsnmp.mk:79-80; output/build/netsnmp-5.9.3/include/net-snmp/net-snmp-config.h:2316

  8. `snmpd.conf` is installed only under finit `available/` with no `enabled/` symlink (unlike `mini-snmpd`). It is started only when `confd` enables it via `/ietf-snmp:snmp/engine/enabled`.

    package/skeleton-init-finit/skeleton-init-finit.mk:152-156; package/skeleton-init-finit/skeleton/etc/finit.d/available/snmpd.conf

  9. `confd` only reads the `udp` child of `/snmp/engine/listen` and emits `agentaddress udp:...`/`udp6:...`, falling back to `udp:0.0.0.0:161,udp6:[::]:161`. It never emits `dtlsudp:` or `tlstcp:`.

    src/confd/src/snmp.c:86-115 (agentaddress)

  10. `ietf-snmp` is loaded with no features enabled. The `dtls` listen and target cases are behind `if-feature tlstm`, so no YANG node for a DTLS listener exists in the running schema.

    src/confd/yang/snmp.inc:2-7; src/confd/yang/confd/ietf-snmp-tls@2014-12-10.yang:68-108

  11. The Infix deviation module states that transports other than UDP are not enabled, and SNMPv3/USM is deviated `not-supported`.

    src/confd/yang/confd/infix-snmp.yang:23-27, 76-88

  12. The only other target packages referencing DTLS methods are `socat` and `ncat` (plus the `openssl` binary and net-snmp client tools). These are interactive shell tools with no finit service, and a search of `src/klish-plugin-infix` and `src/bin` found no CLI wrapper.

    output/build/socat-1.8.1.3, output/build/nmap-7.95 (configs/x86_64_defconfig:87-95)

Version and patches

Package is exactly 3.5.8 (output/build/libopenssl-3.5.8/VERSION.dat), released 25 Aug 2026, before the CVE was published on 2026-11-18.

The upstream PRs (openssl/openssl#33620, #33729) could not be fetched in this read-only review, so the affected range and fixed version are not confirmed from the advisory. The source check stands in for that: dtls1_reassemble_fragment still allocates msg_len up front, CHANGES.md has no entry for this issue, and none of the four applied Buildroot patches touches ssl/statem/statem_dtls.c.

Verdict: fix not present, build treated as affected.

Recommendation

No urgent backport needed. Document as not exposed: no DTLS endpoint exists in the default or operator-configurable product, and the impact is bounded memory use (availability only, CVSS 5.3).

Pick up the fix with the next routine libopenssl 3.5.x bump that includes it.

Re-triage if the tlstm feature is ever enabled in src/confd/yang/snmp.inc, if src/confd/src/snmp.c starts emitting dtlsudp: agent addresses, or if another DTLS-using service is added. snmpd is already linked with the DTLS transport, so that change alone would move this to USED_WHEN_ENABLED.

Open questions

The upstream advisory and fix commits were not available offline. The exact affected range, the fixed 3.5.x release and the shape of the fix are unconfirmed; "affected" rests on the unfixed allocation pattern in the tree.

DTLS consumers were identified by searching sources under output/build for the DTLS method APIs (hits: netsnmp, socat, nmap/ncat, libopenssl itself). A package that used DTLS through a wrapper that does not name those APIs would not have been found.

Container workloads that operators run via podman bring their own userspace and are outside this assessment.

Members of Kernel Kit decide. Sign in if you are one.