Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
When a session with an oversized ticket is added to the session cache, wolfSSL allocates the temporary ticket buffer with a NULL heap hint but one error path frees it with the session's static-pool hint. In static-memory builds the system-heap block is linked into the pool's free list.
When a session cache entry is overwritten, wolfSSL frees the old entry's dynamically allocated TLS 1.3 ticket nonce with the heap hint of the connection doing the overwrite, not the one that allocated it. In static-memory builds that mix heap hints over the shared cache, the buffer goes to the wrong allocator.
wolfSSL_NewSession allocates a session from the caller's heap hint, zeroes it, and on a reference-count mutex failure frees it using the zeroed heap field. In static-memory builds the pool block is passed to the system free(), or to a different pool, instead of the pool it came from.
// No embargoed advisories.