CVE 2.3 LOW

X25519 x86_64 assembly final reduction leaves non-canonical field element_CVE-2026-10512

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

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.

Basic Information

ID CVE-2026-10512
Source wolfSSL
Published Jun 25, 2026 at 19:58

Affected Product

Vendor wolfSSL
Product wolfSSL
Version 5.6.4
Affected Versions wolfSSL wolfSSL 5.6.4

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.