Home

Description

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 Reserved 2026-06-01 | Published 2026-06-25 | Updated 2026-06-26 | Assigner wolfSSL




LOW: 2.3CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Problem types

CWE-682 Incorrect Calculation

Product status

Default status
unaffected

5.6.4 (semver)
affected

Credits

Haruki Oyama finder

References

github.com/wolfSSL/wolfssl/pull/10536 patch

www.wolfssl.com/docs/security-vulnerabilities/

cve.org (CVE-2026-10512)

nvd.nist.gov (CVE-2026-10512)

Download JSON