{"id":"CVE-2026-10512","published":"2026-06-25T19:58:16Z","modified":"2026-06-26T13:49:49Z","title":"X25519 x86_64 assembly final reduction leaves non-canonical field element","vendor":"wolfSSL","product":"wolfSSL","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.3,"severity":"LOW","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00451,"percentile":0.31081,"provenance":"source"},"cwes":[{"id":"CWE-682","name":"Incorrect Calculation"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10536","tags":["patch"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":[]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":6.22},{"name":"CVSS severity","points":1.61}]},"vendorSlug":"wolfssl","affectedVersions":[{"vendor":"wolfSSL","product":"wolfSSL","versions":[">= 5.6.4, <= 5.9.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-26T13:49:37.963089Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39552","exploited":false,"provenance":"source"}}