{"id":"ALPINE-CVE-2026-10512","details":"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.","modified":"2026-11-03T06:32:52.172538734Z","published":"2026-06-25T20:17:09.513Z","upstream":["CVE-2026-10512"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2026-10512"}],"affected":[{"package":{"name":"wolfssl","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/wolfssl?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.6.4"},{"fixed":"5.9.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2026-10512.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}