bitVakt

Kernel Kit / Infix / v26.10.0latest

CVE-2026-75806

5.3medium

libopenssl3.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: An established DTLS 1.2 association using an AEAD cipher suite can be terminated by a single unauthenticated datagram whose encrypted fragment is shorter than the mandatory explicit IV and authentication tag overhead.

Impact summary: An attacker who can send a datagram that is routed to an existing DTLS 1.2 association can tear that association down without knowing any key material. This is a Denial of Service limited to the targeted association. There is no memory safety or confidentiality impact.

CWE: CWE-1284: Improper Validation of Specified Quantity in Input

Description: In TLS 1.2 and DTLS 1.2 every record protected by an AEAD cipher suite carries an explicit IV followed by the ciphertext and an authentication tag. When decrypting such a record the record layer passed the record length to the cipher implementation before checking that the record was long enough to contain the explicit IV and the tag. For a record shorter than that overhead the cipher implementation rejected the impossible length, and the record layer treated this as an internal failure and raised a fatal internal_error alert instead of treating the record as one that failed authentication.

In TLS 1.2 the same record causes a fatal internal_error alert instead of the expected bad_record_mac alert. Since any undecryptable record already terminates a TLS connection, this is a protocol conformance issue rather than a security issue in TLS.

The fix validates the record length against the explicit IV and tag length before any AEAD processing, so that TLS reports bad_record_mac and DTLS silently discards the record.

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
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 6
Review Av26.10.0x86_64Not exposed✓ accepted by a member, 2026-11-18 · settles 8 of 8

Fable 5.1 · high confidence · 2026-11-05

The vulnerable record-layer code is present unmodified in this build: ssl/record/methods/tls1_meth.c tls1_cipher() passes the record length to the AEAD cipher via EVP_CTRL_AEAD_TLS1_AAD and raises SSL_AD_INTERNAL_ERROR on failure before any explicit-IV/tag length check, and none of the four Buildroot patches touch it. libssl is built with DTLS enabled (no 'no-dtls' in configdata.pm; dtls_meth.o is compiled).

However the only security-relevant impact is DoS of an *existing DTLS 1.2 association*, and nothing on the shipped device establishes one: the only DTLS-capable daemon, net-snmp (built with DTLSUDP transport), is configured by confd solely with udp:/udp6: agentaddress entries and the ietf-snmp-tls YANG module is deliberately not loaded; the other DTLS-capable binaries (socat, ncat, openssl s_server/s_client) are shell tools only. Reaching the code requires a root shell (e.g. CLI 'shell' command) to hand-run a DTLS endpoint or edit snmpd.conf outside confd.

Evidence 12
  1. EVP_CTRL_AEAD_TLS1_AAD is issued with recs[ctr].length and a <=0 result is turned into RLAYERfatal(SSL_AD_INTERNAL_ERROR); no prior check that reclen >= explicit IV + tag length — the exact pre-fix behaviour described by the CVE.

    output/build/libopenssl-3.5.8/ssl/record/methods/tls1_meth.c:286-291 (tls1_cipher)

  2. Explicit-IV (EVP_GCM/CCM_TLS_EXPLICIT_IV_LEN) is only skipped after the cipher call; no upstream-style length validation exists anywhere in tls1_meth.c/tls_common.c/dtls_meth.c (grep for EXPLICIT_IV_LEN / tag length checks).

    output/build/libopenssl-3.5.8/ssl/record/methods/tls1_meth.c:391-442

  3. Only the four Buildroot build-system patches (0001-0004) are applied; none touch ssl/record.

    output/build/libopenssl-3.5.8/.applied_patches_list

  4. Source is exactly 3.5.8 (released 25 Aug 2026, before the 29 Sep 2026 advisory); no stable backport present.

    output/build/libopenssl-3.5.8/VERSION.dat, include/openssl/opensslv.h:90

  5. libopenssl including libssl is selected for the target image.

    output/.config (BR2_PACKAGE_LIBOPENSSL=y, BR2_PACKAGE_LIBOPENSSL_ENABLE_SSL=y)

  6. Configure options contain no 'no-dtls'/'no-tls1_2'; ssl/record/methods/libssl-shlib-dtls_meth.o is built, so the DTLS record layer is compiled in.

    output/build/libopenssl-3.5.8/configdata.pm:247 (options) and :10230

  7. net-snmp is built with --with-transports=DTLSUDP,TLSTCP, i.e. snmpd is the one daemon in the image that could terminate DTLS.

    buildroot/package/netsnmp/netsnmp.mk:79-80; output/build/netsnmp-5.9.3/config.log:7

  8. confd only ever writes udp:/udp6: agentaddress lines to snmpd.conf (defaults to udp:0.0.0.0:161,udp6:[::]:161); no dtlsudp: listener can be generated.

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

  9. Only ietf-snmp and infix-snmp are loaded; comment states 'UDP is the only transport we serve ... TLS/SSH/TSM transports ... stay out of the tree' — no YANG node can enable DTLS.

    src/confd/yang/snmp.inc

  10. SNMPv3 (engine/version/v3) and usm are deviated not-supported, so TSM/DTLS security model is not even configurable.

    src/confd/yang/confd/infix-snmp.yang:74-80

  11. Factory-default services are only mstpd, netconf (SSH) and rauc; snmpd is enabled by confd only when /ietf-snmp:snmp/engine/enabled is set (src/confd/src/snmp.c:418-423), and even then UDP-only.

    board/common/rootfs/etc/finit.d/enabled/

  12. socat/ncat/openssl(1) have DTLS support but are not wrapped by any CLI/YANG; using them requires the admin 'shell' escape to a root shell.

    output/build/socat-1.8.1.3/config.log:5513-5514; src/klish-plugin-infix/xml/shell.xml:9

Version and patches

NVD/upstream: affected OpenSSL 3.5.x up to and including 3.5.8 (advisory 2026-09-29, tree's VERSION.dat dates 3.5.8 to 25 Aug 2026); fix expected in 3.5.9. The build's tls1_meth.c lacks the length pre-check added by the fix commits. Buildroot patches applied: 0001 reproducible build, 0002 ppc64 ELFv2, 0003 revert -static fix, 0004 serialize install — none are security patches.

Recommendation

Document as not exposed in the shipped configuration (no DTLS association exists by default or via YANG/CLI/web UI; TLS-over-TCP services are only affected by an alert-type conformance difference, not a new DoS). Pick up the fix with the next routine libopenssl bump to 3.5.9+; no urgent backport needed. Re-evaluate if a DTLS transport (ietf-snmp-tls, RadSec, CoAP, etc.) is ever added to the management model.

Open questions

Fixed version (3.5.9) could not be verified from the tree since the upstream advisory is not available offline. output/target is a trimmed skeleton, so the installed binary list was inferred from output/.config and the build directories rather than from the final rootfs.

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