Information Exposure Through Timing Discrepancy in phpseclib - #VU145995
Published: August 27, 2026
Vulnerability details
The vulnerability allows a local user to recover a private key.
The vulnerability exists due to observable timing discrepancy in the pure-PHP X25519 scalar multiplication implementation when performing scalar multiplication operations. A local user can observe per-ladder-step timing or libgmp call counts to recover a private key.
Exploitation requires a reused or long-lived X25519 private key, knowledge of the victim\'s public key, and execution of the pure-PHP path with per-ladder-step observation capability.