OpenSSL fixes a DTLS bug that can leak heap memory to a peer

In short

14 flaws in the advisory; 1 / 1 / 12 High / Moderate / Low; 4 releases with the fix: 4.0.3, 3.6.5, 3.5.9, 3.4.8; 43 days from the High report (17 August) to the advisory (29 September); our count

What is the DTLS handshake bug?

TLS protects most web traffic. DTLS is the same protection for UDP, a transport that can lose or reorder packets, so DTLS has to resend handshake messages itself when a timer runs out. A handshake message can also be sent in several fragments, and a write can pause part-way (the library returns WANT_WRITE) when the network cannot take more data right then.

The advisory describes what happens when those two things overlap. While a large message is half-written, the retransmission timer fires and the library resends an earlier message. It reused the same buffer and the same position marker as the paused write, and did not move the position back to the start of the message being resent. The result was a mislabelled message whose body was "leftover bytes from the other, larger message still in flight", and the read could run past the end of the allocated buffer.

The advisory classes this as an out-of-bounds read (CWE-125). Its impact statement says the resent message "can disclose a heap memory to the peer as plaintext handshake data", or crash the program with a denial of service if the read reaches unmapped memory.

What does heap memory disclosure mean? (our explanation) The heap is where a program keeps data it allocates while running. Memory next to a buffer can hold anything the program handled recently. The advisory does not say what the leaked bytes might contain in practice, and we do not guess.

There is a second effect. Even a correctly positioned retransmission that finishes while another write is paused overwrites the shared bookkeeping the paused write needs. When the application resumes, the state no longer matches, and the advisory says the process aborts "in a debugging build".

What is the fix?

Two changes, in the advisory's words: reset the retransmission's read position to the start of the message before resending, and skip retransmission entirely whenever a handshake write is still suspended, leaving it to the next call that resumes the write. Ryan Hooper developed it. Laurent Gaffie (secorizon.com) reported the bug on 17 August 2026.

OpenSSL 4.0, 3.6, 3.5, 3.4, 3.0, 1.1.1 and 1.0.2 are all vulnerable. Users should move to 4.0.3, 3.6.5, 3.5.9 or 3.4.8. For the other three branches the fixes (3.0.23, 1.1.1zj, 1.0.2zs) are for premium support customers only. The advisory states "FIPS impact: no": the affected code is outside the FIPS module boundary.

The advisory says nothing about the bug being exploited, and gives no condition beyond a paused write overlapping a retransmission. Only programs that use DTLS are in scope; ordinary TLS over TCP does not use this retransmission logic (our reading, not stated in the advisory).

What else is in the advisory?

One Moderate flaw: CVE-2026-84783, a use-after-free in OpenSSL 4.0 only. When several threads decode the same X.509 certificate for the first time, one can free cached extension data another is still using. A remote, unauthenticated peer could crash a multi-threaded TLS client, or a server that asks for client certificates, but only if the first chains to the same trusted CA are built by several connections at the same moment. Tim Becker (Xint.io) reported it on 27 August 2026, and aydinmercan independently in a public report on 31 August; Bob Beck wrote the fix.

The 12 Low entries, grouped by us:

The side-channel entries say the leak is very small and needs "a large number of measurements"; over many signatures a lattice attack could recover the private key. The NIST curves P-256, P-384 and P-521 have dedicated constant-time code and are not affected, so the FIPS modules are not either. Red Hat's Alicja Kario and George Pantelakis found the generic-curve issue by "Minerva-style analysis", based on a report from Youngjae Choi of Korea University dated 20 January 2026.

Who is credited, and what does the AI credit say?

Two Low entries carry the words "in collaboration with OpenAI":

The credit line says "in collaboration with OpenAI" and nothing more. It does not say what an AI system did, or that one found the bug. The other 12 entries name only people (and, mostly, their employers) and say nothing about AI.

What should teams do?

Upgrade to the fixed release for your branch. Check first whether your product uses DTLS at all (VPNs, WebRTC stacks, and IoT and telecom software commonly do; this list is our general knowledge, not the advisory's). The advisory covers only supported releases: 3.1, 3.2 and 3.3 are out of support and were not analysed. Its own text says the online version "may be updated with additional details over time"; we did not check for changes.

Sources

Sources

Related stories

More from Vulnerability Research

All stories from Vulnerability Research