Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
wolfSSL_BIO_new_accept converts its port string with atoi and casts the result to a 16-bit field with no range check. A port string of "-1" becomes 65535 and "70000" becomes 4464, and wolfSSL_BIO_do_accept then binds that port and reports success.
wolfSSL_BIO_set_conn_port rejects a port of zero or below but has no upper bound. A value above 65535 is truncated to 16 bits when stored, so "70000" becomes 4464 and "65536" becomes 0, and the function returns success. A later connect uses the truncated port.
// No embargoed advisories.