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 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.