The optional rsyslog imdtls input processes its UDP listener and connected DTLS clients in one event loop. A remote client can leave a DTLS handshake incomplete after the cookie exchange, causing the listener thread to wait in a blocking SSL_accept call before any client certificate is presented. A client that completes a DTLS session can leave the thread waiting in a blocking SSL_read call for up to the configured timeout (1800 seconds by default). While the thread waits on one client, it serves no other client of that input; the interruption can be repeated. At the default tls.authmode, a trusted client certificate is not required for the idle-session path.
Separately, an imdtls input configured with tls.authmode="name" or "fingerprint" and tls.permittedpeer can accept a syslog message from a CA-signed client that is not a permitted peer. By pacing the final DTLS handshake flight, the client can cause SSL_accept to return before the handshake completes. When the handshake finishes during SSL_read, affected versions can process application data without running the permitted-peer check. This permits message injection into an input intended for pinned peers. The path was reproduced with a short configured timeout on current public main using OpenSSL 3.0.13 and 3.5.5; success on other timing, kernel, or OpenSSL combinations has not been established. The earlier GHSA-8v8w-f8wf-475j fix closed a session after a failed check; this path skips that check.
The advisory's primary structured CVSS v3.1 score is High / 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) for the two availability paths, which do not require a trusted client certificate. The permitted-peer bypass has separate prerequisites and a conditional integrity impact on the pinned input's log stream. Its proposed subscore is Medium / 4.3 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N), treating possession of a CA-signed but non-permitted client certificate as low privilege. That integrity impact is not included in the 7.5 vector. Both CWE-400 and CWE-295 are listed to reflect these distinct effects.
The fix makes connected-client sockets nonblocking, advances incomplete handshakes when ready, services DTLS retransmission and idle timers, bounds read work per client event, and verifies a completed handshake against the configured permitted-peer policy before accepting application data. This affects deployments that explicitly configure and expose imdtls. Update to 2026-11-17 daily stable or later. Until then, restrict network access to the imdtls listener and keep client-certificate issuance under tight control. Timeout changes alone are not a reliable substitute for the fix.
Coordinated public disclosure took place on 2026-11-17 at 16:00 UTC.
We thank Fairuzan Roslan (@fairuzan) for reporting these issues, providing the original reproducer, and supplying the follow-up handshake-timing evidence that enabled confirmation of the permitted-peer bypass.