CVE-2026-10512
published low CVSS 4.0 · 2.3X25519 x86_64 assembly final reduction leaves non-canonical field element
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wolfSSL | — | wolfSSL5.6.4 through 5.9.1 · Other versions: unaffected | Affected | Not stated | wolfSSL |
| Alpine Linux | edge | wolfssl | Fixed | 5.9.2-r0 | Package fix record |
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.9.2-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.3 / 10
- Severity
- low
- Provider
- wolfSSL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wolfSSL | wolfSSL | 5.6.4 through 5.9.1 (affected · semver)Default: unaffected | wolfSSL · cna |
Weaknesses
1- CWE-682 CWE-682 Incorrect Calculation
References
2Provider assertions
2wolfSSL · cna
X25519 x86_64 assembly final reduction leaves non-canonical field element
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 715af10d52246432fa383b427a92fa2f46202af178222194ff1d992722ee5e2c
- Ingested
- 23 Sep 2026, 09:00:12 UTC
- Source record
- Official CVE record