Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
The wolfSSL sniffer grows its decrypted-data buffer with a realloc for each application-data record. When the allocator moves the block, the old block is released with the plaintext decoded so far still in it. The failure path of the same call clears the buffer; the success path does not.
When AddSessionToCache overwrites an existing cache entry and the new ticket needs a larger buffer, the previous dynamically allocated ticket is freed without being wiped. The old ticket stays in freed heap memory until the allocator reuses the block.
CreateTicket switches the session back to its static ticket buffer before building a new ticket. If the session's ticket was in a heap buffer, that buffer is freed without being wiped, and the previously installed ticket stays in freed heap memory.
When a server restores TLS 1.3 session state from a client ticket and the session's ticket nonce is in a heap buffer, the old nonce buffer is freed without being wiped. The path exists only in builds with WOLFSSL_TICKET_NONCE_MALLOC.
When DTLS handshake fragments overlap or bridge two reassembly buckets, DtlsMsgCombineFragBuckets grows a bucket with a realloc. The old bucket is released without being wiped, in both the realloc and the no-realloc builds, and its handshake fragment bytes stay in freed heap memory.
wolfSSL keeps plaintext copies of DTLS handshake messages for retransmission and reassembly. DtlsMsgDelete, DtlsMsgDestroyFragBucket and the DTLS 1.3 retransmit and fragment buffer releases free these copies without wiping them, so handshake bytes including Finished verify_data stay in freed heap memory.
The wolfSSL sniffer frees its per-flow TCP reassembly buffers without clearing them when a monitored session is torn down. Captured TLS records, with their headers and ciphertext, remain in freed heap memory of the sniffing process.
When a connection is freed, wolfSSL clears keys and secrets but releases the handshake reassembly buffer, the threaded-crypt staging buffers and the WOLFSSL object's inline record buffers without clearing them. Decrypted handshake data, and in some builds application plaintext, remains in freed heap memory.
When the record layer needs a larger output buffer, wolfSSL copies the queued record bytes to a new block and frees the old one without clearing it. The shrink paths clear the same buffers before freeing them. The input buffer is cleared on growth only while send-side encryption is on.
In builds with dynamic ticket nonces, SessionTicketNoncePopulate frees the previous TLS 1.3 ticket nonce without clearing it before it stores a new one. The old nonce stays in freed heap memory on every ticket renewal and on session deserialization.
When a new session ticket replaces a stored one, SetTicket and wolfSSL_set_SessionTicket free the previous heap-allocated ticket without clearing it. The old ticket, which a server may still accept, remains in freed heap memory after every renewal.
When wolfSSL_d2i_SSL_SESSION parses a serialized session into a session object that already holds a heap-allocated ticket, it frees the old ticket without clearing it. The previous ticket remains in freed heap memory.
When wolfSSL_DupSessionEx copies a session over one that already holds a heap-allocated ticket, the old ticket buffer is freed or reallocated without being cleared on every path. The previous ticket remains in freed heap memory.
wolfSSL_FreeSession clears the master secret and session id before freeing a session but releases the heap-allocated session ticket and TLS 1.3 ticket nonce without clearing them. EvictSessionFromCache has the same gap. Ticket material remains in freed heap memory.
During a session cache lookup, wolfSSL_GetSessionFromCache frees the destination session's existing heap-allocated ticket without clearing it before it installs a preallocated buffer. The previous ticket remains in freed heap memory on the resumption path.
// No embargoed advisories.