
CVE catalog
CVE-2026-10512
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.
- Severity
- Low · CVSS 2.3
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.45% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | wolfssl | sid | 5.9.2-1.2 | fixed |
| Debian | wolfssl | trixie | 5.7.2-0.1+deb13u2 | vulnerable |
| Debian | wolfssl | bookworm | 5.5.4-2+deb12u2 | vulnerable |
| Debian | wolfssl | bookworm-security | 5.5.4-2+deb12u3 | vulnerable |
| Cpe | wolfssl | Not reported | 5.9.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | wolfssl | source | sid | 5.9.2-1 | not yet assigned | Not reported | Not reported |
| Debian | wolfssl | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | wolfssl | source | bookworm | (unfixed) | end-of-life | Not reported | Not reported |
| Cpe | wolfssl | cpe | Not reported | 5.9.2 | Not reported | Not reported | Not reported |
Notes
[trixie] wolfssl: Minor issue; can be fixed in point release
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libwolfssl35]Affected
Source package: [wolfssl]
Details (4)
5.5.4-2+deb12u2· amd64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u2· arm64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· amd64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· arm64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
- [libwolfssl-dev]Affected
Source package: [wolfssl]
Details (4)
5.5.4-2+deb12u2· amd64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u2· arm64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· amd64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· arm64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
[Debian 13 (Trixie)]
- [libwolfssl42t64]Affected
Source package: [wolfssl]
Details (2)
5.7.2-0.1+deb13u1· amd64 · trixieAffected
nvd · wolfssl · debian · 13
5.7.2-0.1+deb13u1· arm64 · trixieAffected
nvd · wolfssl · debian · 13
- [libwolfssl-dev]Affected
Source package: [wolfssl]
Details (2)
5.7.2-0.1+deb13u1· amd64 · trixieAffected
nvd · wolfssl · debian · 13
5.7.2-0.1+deb13u1· arm64 · trixieAffected
nvd · wolfssl · debian · 13
Observed: