CVE-2026-10512: X25519 x86_64 assembly final reduction leaves non-canonical field element

Published Jun 25, 2026
·
Updated

The X25519 x8664 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 Software

2 affected components
X25519 x86_64 assembly
wolfSSL wolfssl>=5.6.4<5.9.2

Event History

Jun 25, 2026
CVE Published
via MITRE·07:58 PM
Data Sourced
via MITRE·07:58 PM
DescriptionWeakness
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-10512?

CVE-2026-10512 has a severity rating of low, with a CVSS score of 4.0.

2

How do I fix CVE-2026-10512?

To fix CVE-2026-10512, you should apply the available patch provided by wolfSSL.

3

What is the impact of CVE-2026-10512?

CVE-2026-10512 may lead to incorrect results in cryptographic operations due to non-canonical field elements.

4

What software is affected by CVE-2026-10512?

CVE-2026-10512 affects the X25519 x86_64 assembly implementation in wolfSSL.

5

When was CVE-2026-10512 published?

CVE-2026-10512 was published on June 25, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203