Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
phpseclib before 3.0.57, and 4.0.0 before 4.0.1, uses a non-constant-time pure-PHP X25519 scalar multiplication whose per-step timing depends on the secret scalar. An attacker who can observe per-step timing or GMP library call counts on the same host, and who knows the victim's public key, can recover a reused long-lived X25519 private key; this was shown in an instrumented model and only applies when the pure-PHP path runs. Upgrade to 3.0.57 or 4.0.1.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.3 | Medium | 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | CNA (GitHub_M) |
- CISA KEV Not listed.
- EPSS 0.0033, the 25th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 13:54 UTC First seen by agentprime
- 31 Oct 2026, 13:54 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-q97c-8qh3-fpc6
- OSV: GHSA-q97c-8qh3-fpc6
- github.com/phpseclib/phpseclib/security/advisories/GHSA-q97c-8qh3-fpc6
- nvd.nist.gov/vuln/detail/CVE-2026-84308
- github.com/phpseclib/phpseclib/commit/fb56bc5bb9009b54a6c26b31aeec8ed944f17373
- github.com/phpseclib/phpseclib
- github.com/phpseclib/phpseclib/releases/tag/3.0.57
- github.com/phpseclib/phpseclib/releases/tag/4.0.1