{
  "id": "CVE-2026-10512",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-10512",
  "published_at": "2026-06-25T19:58:16.013Z",
  "title": "X25519 x86_64 assembly final reduction leaves non-canonical field element",
  "vendor": "wolfSSL",
  "product": "wolfSSL",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-682",
  "cpes": [
    "cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 2.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "wolfSSL",
        "product": "wolfSSL",
        "ranges": [
          "\u003e= 5.6.4, \u003c= 5.9.1"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/wolfSSL/wolfssl/pull/10536"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
