CVE-2026-84782
DTLS Retransmits Handshake Messages From a Stale Buffer Offset
Description
Issue summary: The DTLS retransmission logic does not correctly handle a handshake message write that is suspended part-way through. The retransmitted message can be read past the message buffer and the retransmission overwrites the internal state the suspended write needs to resume correctly.
Impact summary: The retransmitted message can disclose a heap memory to the peer as plaintext handshake data or cause a crash and a Denial of Service when the read reaches an unmapped memory region.
CWE: CWE-125: Out-of-bounds Read
Description: DTLS handshake messages can be written out in multiple fragments, and a write can suspend mid-message (returning WANT_WRITE) if the underlying transport temporarily cannot accept more data. While such a write is suspended, the DTLS retransmission timer may independently fire and ask the retransmission logic to resend an earlier, already-acknowledged-as-sent message from its retransmit queue.
The retransmission logic reused the same internal buffer and position tracking as the message that was still being written, without resetting the position back to the start of the message being retransmitted. As a result the retransmission was read starting from wherever the suspended write had left off, producing a mislabelled message whose body was leftover bytes from the other, larger message still in flight - content that was never meant to be sent at that point, and which could run past the end of the allocated buffer.
Separately, even when the retransmission is positioned correctly, allowing it to run to completion while another write is suspended overwrites the same shared bookkeeping that the suspended write depends on to resume. When the application later resumes the suspended write (via a subsequent SSL_read(), SSL_write(), SSL_accept(), or SSL_connect() call), it finds that bookkeeping in a state inconsistent with the message and aborts the process in a debugging build.
The fix resets the retransmission's read position to the start of the message before resending, and skips retransmission entirely whenever a handshake write is still suspended, deferring to the next call that resumes it instead.
FIPS impact: no The affected code is outside the FIPS module boundary.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.fpliu.ndk.pkg.prefab.android.21 » opensslpreliminary | < 906cf0ef1c85ca40ce69163e9086d6d3fe292943< 9f6b34422af7eb5dac61322e33dac1ae989fa628< a383dafdd754eb5b22bf45e37e1bff9d07277a58< d951e02ede8f6a6ff8150546db44b34f0518192c>= 1.0.2, < 1.0.2zs>= 1.1.1, < 1.1.1zj>= 3.0.0, < 3.0.23>= 3.4.0, < 3.4.8>= 3.5.0, < 3.5.9>= 3.6.0, < 3.6.5>= 4.0.0, < 4.0.3 | 906cf0ef1c85ca40ce69163e9086d6d3fe292943, 9f6b34422af7eb5dac61322e33dac1ae989fa628, a383dafdd754eb5b22bf45e37e1bff9d07277a58, d951e02ede8f6a6ff8150546db44b34f0518192c, 1.0.2zs, 1.1.1zj, 3.0.23, 3.4.8, 3.5.9, 3.6.5, 4.0.3 |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-84782 | github.com |
| Advisory | NVD CVE-2026-84782 | nvd.nist.gov |
| Advisory | news/secadv/20260929.txt | openssl-library.org |
| Fix | openssl/openssl commit 906cf0e | github.com |
| Fix | openssl/openssl commit 9f6b344 | github.com |
| Fix | openssl/openssl commit a383daf | github.com |
| Fix | openssl/openssl commit d951e02 | github.com |
| Web | productcert/html/ssa-457936.html | cert-portal.siemens.com |
