Vulnerability in Wolfssl
CVE-2026-10512
The X25519 x86_64 assembly implementation fails to clear the most significant bit during the final modular reduction, so the computed result may not be fully reduced modulo the field prime 2^255 - 19. This can leave the field element in a non-canonical form, producing an incorrect result from the scalar multiplication and potentially a wrong shared secret. The final carry-propagation chains in the x64 and AVX2 reduction routines could overflow into the top bit, and the high limb was not masked afterward, so the 255-bit field element was left non-canonical.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 39.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Wolfssl — versions 5.6.4
Weakness classification (CWE)
References
- github.com/wolfSSL/wolfssl/pull/10536 (Patch, patch, Issue Tracking)
- www.wolfssl.com/docs/security-vulnerabilities/ (Vendor Advisory)