Public Security Advisories
Coordinated vulnerability disclosures from Argus. Findings, impact, and remediation, published in good faith.
The constant-time conditional swap in sp_int.c masks the 16-bit digit counts of its operands with a limb-wide mask. With 8-bit limbs only the low byte of each count is swapped. The in-tree ECC ladder never passes operands large enough to show it; the defect is latent unless the ECC size limit is raised past 2040 bits or the function is called directly.
The encrypted-memory variants of the SP modular exponentiation ladders select their working value with a conditional copy whose length mask is truncated to 8 bits on 8-bit limb builds. For moduli of 2041 bits or more the working value is copied with the wrong digit count and the exponentiation returns zero, another wrong value, or an error.
The constant-time conditional copy in sp_int.c builds its mask at limb width and reuses it for the 16-bit digit count. With 8-bit limbs only the low byte of the count is copied, so modular exponentiation with a modulus of 2041 bits or more returns a wrong result or an error.
// No embargoed advisories.