{"id":"CVE-2026-10512","aliases":["CVE-2026-10512"],"related":[],"kind":"vulnerability","state":"published","title":"X25519 x86_64 assembly final reduction leaves non-canonical field element","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-06-25T19:58:16.013Z","modified":"2026-06-26T16:53:52.440Z","severity":{"scorer":"wolfSSL","scheme":"CVSS: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","score":2.3,"rating":"LOW"},"severities":[{"scorer":"wolfSSL","scheme":"CVSS: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","score":2.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-682"],"affected":[{"ranges":[{"type":"semver","introduced":"5.6.4","lastAffected":"5.9.1","status":"affected"}],"vendor":"wolfSSL","product":"wolfSSL","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6.4","fixed":"5.9.2"}],"vendor":"wolfssl","product":"wolfssl","cpe":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10536","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Haruki Oyama"],"assigner":"wolfSSL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-26T13:49:37.963Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10512","url":"https://www.cve.org/CVERecord?id=CVE-2026-10512","licence":"CVE Terms of Use","modified":"2026-06-26T13:49:49.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10512","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10512","licence":"Public domain","modified":"2026-06-26T16:53:52.440Z"}],"updatedAt":"2026-11-25T22:59:26.426Z","epss":{"score":0.00263,"percentile":0.1939,"date":"2026-12-01T12:00:22.000Z"}}