CVE-2026-10512
JSON

2.3low

X25519 x86_64 assembly final reduction leaves non-canonical field element

Severity
2.3low CVSS:4.0 by wolfSSL
Exploit likelihood
0.26% (higher than 19% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
wolfSSL

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.

Affected

Product or packageVersionsReported by
wolfSSL wolfSSLfrom 5.6.4 up to 5.9.1, from 5.6.4 before 5.9.2CVE List, NVD

All scores

wolfSSL2.3low CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-682

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-10512 changed 2026-06-26CVE Terms of Use
NVDCVE-2026-10512 changed 2026-06-26Public domain