CVE-2026-10512
HIGHX25519 x86_64 assembly final reduction leaves non-canonical field element
Title source: cnaDescription
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.
References (2)
Core 2
Core References
Patch patch
https://github.com/wolfSSL/wolfssl/pull/10536
Scores
CVSS v3
7.5
EPSS
0.0026
EPSS Percentile
18.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-682
Status
published
Products (2)
wolfSSL/wolfSSL
5.6.4 - 5.9.1
wolfssl/wolfssl
5.6.4 - 5.9.2
Published
Jun 25, 2026
Tracked Since
Jun 26, 2026