Vulnerability · Published Jun 25, 2026 · Assigned by wolfSSL

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

Low 2.3

In plain English

A low-severity security flaw in wolfSSL from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.3Low
Exploit odds (30 days)0.5%top 60.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.24wolfssl5.9.2-r0ALPINE-CVE-2026-10512
Debian:12wolfsslno fix listedDEBIAN-CVE-2026-10512
Debian:13wolfsslno fix listedDEBIAN-CVE-2026-10512
Ubuntu:22.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-10512
Ubuntu:24.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-10512
Ubuntu:25.10wolfsslno fix listedUBUNTU-CVE-2026-10512
Ubuntu:26.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-10512
Ubuntu:26.10wolfsslno fix listedUBUNTU-CVE-2026-10512

Affected products (as reported)

VendorProductVersions
wolfSSL wolfSSL 5.6.4 – through 5.9.1

Weakness: CWE-682 · Vector: 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

References