OpenSSL 4.1.0 Adds DTLS 1.3 Support but Ships with Four Critical DTLS Bugs
What Happened – The OpenSSL project released version 4.1.0 on 26 October 2026. The headline feature is native support for Datagram TLS 1.3 (DTLS 1.3), defined in RFC 9147, plus performance‑focused optimisations for post‑quantum algorithms (ML‑KEM, ML‑DSA) and AES‑CBC on modern CPUs.
Alongside the new protocol, the release notes enumerate four known bugs in the DTLS code path that can break server‑side applications:
- A permanent receive failure on a DTLS listener is reported as
SSL_ERROR_WANT_READ. Because the error is interpreted as “wait for more data”, subsequent polling oraccept()calls may miss the condition, leaving the application stuck on a dead connection. - A retryable write failure on a non‑blocking accepted connection surfaces as
SSL_ERROR_SYSCALL. If the application treats this as fatal, it may close a connection that is still viable. - During a handshake, a DTLS 1.3 server can abort with an
unexpected_messagealert when the client acknowledges part (or all) of the server’s first flight before replying—an event that can be triggered by normal packet loss. - The handling of the KeyUpdate message is flawed: when OpenSSL receives a KeyUpdate, it discards all outstanding post‑handshake records from its retransmission buffer. If a
NewSessionTicketwas lost on its first trip, the server will never resend it, breaking session‑resume flows. The project has a fix “in progress” for this bug; the other three have no fix status yet.
The release also removes two misleading build‑configuration flags (no-ecdsa and no-ecdh) because they failed to actually strip the corresponding code. Users are now directed to the no-ec flag to disable elliptic‑curve support entirely.
Two additional breaking changes affect legacy environments: the Windows‑on‑Itanium and Windows CE build targets are dropped, and the tsget time‑stamping utility now depends on the Perl module Net::Curl::Easy (replacing the abandoned WWW::Curl::Easy). Operators who rely on tsget must install the new module before upgrading.
Performance‑oriented enhancements include NTT‑optimised post‑quantum math for ppc64le, AVX‑512‑accelerated SHAKE for ML‑DSA on x86_64, and AVX‑512/VAES optimisations for AES‑CBC decryption. The release also adds RFC 8701 GREASE support, an IKEv2 key‑derivation function, and initial support for the Elbrus2000 architecture.
The OpenSSL team ships a new manual page (ossl‑guide‑dtlsv13(7)) that warns developers not to treat SSL_ERROR_WANT_READ or SSL_ERROR_SYSCALL as definitive success until the bugs are patched.
Why It Matters for Trust & Control Assurance – The DTLS bugs expose a gap in cryptographic protocol implementation and secure configuration controls, directly testing an organization’s ability to maintain defensible evidence that cryptographic services are correctly deployed and monitored.
Who Is Affected – Any organization that runs TLS/DTLS termination points, including cloud service providers, telecom carriers, IoT platform operators, and enterprises that expose UDP‑based services (e.g., video streaming, VoIP, gaming).
Recommended Actions –
- Inventory all systems that use OpenSSL 4.x for DTLS 1.3 or rely on the SSL listener API.
- Temporarily disable DTLS 1.3 on production listeners until patches are available, or implement application‑level guards that correctly handle
SSL_ERROR_WANT_READandSSL_ERROR_SYSCALL. - Validate build configurations: replace
no-ecdsa/no-ecdhwithno-ecwhere elliptic‑curve code must be excluded. - Update
tsgetdependencies on any Windows or Perl‑based timestamping workflows. - Map these findings to your cryptographic control objectives (e.g., “ensure cryptographic implementations are securely configured and continuously monitored”) and capture remediation evidence in your audit repository.
Technical Notes –
- Attack vector – Not an exploit; the bugs are implementation defects that can cause denial‑of‑service or session‑resume failures.
- CVEs – No CVE identifiers have been assigned yet; the issues are tracked internally by the OpenSSL project.
- Data types – Affected only at the transport layer; no application‑level data leakage reported.
- References – OpenSSL 4.1.0 release notes,
ossl‑guide‑dtlsv13(7)manual page.