Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
On AArch64 builds with barrier detection, the choice between the sb and isb speculation barriers in XFENCE() is held in aarch64_use_sb, a non-const int declared extern in a public header. Code already running in the process can clear it to downgrade every barrier to isb, or set it on a CPU without sb to cause an illegal-instruction fault.
wolfSSL keeps its CPU capability flags in static atomic storage behind accessor functions, but the flag that selects the AArch64 speculation barrier for XFENCE(), aarch64_use_sb, is a plain exported int read without atomics. It did not receive the protection the library applies to its other capability-gating state.
// No embargoed advisories.