Allocation of Resources Without Limits or Throttling in phpseclib - #VU164362
Published: November 10, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a CPU-exhaustion denial of service and starve PHP workers.
The vulnerability exists due to missing upper bounds on password-based key derivation iteration counts in phpseclib when loading untrusted encrypted PKCS#8 keys, PKCS#12 containers, or CMS password-recipient structures with a password. A remote attacker can supply a crafted file with an ASN.1 iterationCount near PHP_INT_MAX to force excessive hashing before decryption, exhausting worker capacity even when the ciphertext is invalid.