Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
On heap-math builds a TLS 1.2 server computes the DHE pre-master secret into a 512-byte buffer (578 with PSK) without checking it against its configured DH prime. A server that uses a prime above 4096 bits writes past the buffer whenever a client completes a DHE key exchange, before the client is authenticated.
A wolfSSL TLS 1.2 client tests the server's Diffie-Hellman prime for primality, but the two flags that control the test are set once per object and never re-armed. After one handshake, a client object reused through wolfSSL_clear() accepts any later server prime, including a composite modulus, without the test.
A TLS 1.2 DHE client writes the DH shared secret into a 512-byte buffer (heap-math builds) without checking it against the prime from the ServerKeyExchange. With wolfSSL's own key generation an oversized prime fails earlier with an error. The write is reachable when a PK callback generates the client's DH key pair.
A wolfSSL TLS 1.2 client tests the server's Diffie-Hellman prime for primality once per connection object and remembers the result in a flag that renegotiation does not reset. A server that sends different DH parameters in a renegotiation has them accepted without the primality test, so the renegotiated key exchange can run over a composite modulus.
// No embargoed advisories.