{"id":"JLSEC-2026-695","aliases":["JLSEC-2026-695"],"related":["CVE-2026-10512","GHSA-gjm7-vch5-hch8","EUVD-2026-39552"],"kind":"vulnerability","state":"published","title":"The X25519 `x86_64` assembly implementation fails to clear the most significant bit during the final...","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.","summaryFormat":"markdown","summarySource":"jlsec","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.","format":"markdown","source":"jlsec"}],"published":"2026-07-14T21:41:35.775Z","modified":"2026-07-25T18:24:46.492Z","severity":{"scorer":"Julia Security Advisories","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"},"severities":[{"scorer":"Julia Security Advisories","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"},{"scorer":"Julia Security Advisories","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"5.7.2+0","status":"affected","fixed":"5.9.2+0"}],"ecosystem":"Julia","package":"wolfSSL_jll","purl":"pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5","source":"jlsec"}],"references":[{"url":"https://github.com/advisories/GHSA-gjm7-vch5-hch8","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/wolfSSL/wolfssl/pull/10536","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10512","tags":["web"],"sources":["jlsec"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities","tags":["web"],"sources":["jlsec"]},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-695","url":"https://osv.dev/vulnerability/JLSEC-2026-695","licence":"CC-BY-4.0","modified":"2026-07-25T18:24:46.492Z"}],"updatedAt":"2026-11-25T22:56:26.205Z"}