Resource exhaustion in phpseclib - #VU169002

 

Resource exhaustion in phpseclib - #VU169002

Published: November 21, 2026


Vulnerability identifier: #VU169002
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by exhausting CPU resources.

The vulnerability exists due to an unbounded derived-key length in phpseclib's PBES2/PBKDF2 implementation when processing password-encrypted input, so an iteration limit alone does not bound CPU usage. A remote attacker can submit a malformed password-encrypted key, PKCS#12/PFX keystore, or CMS password-recipient message to trigger excessive key derivation work.


Affected software

phpseclib

Remediation

Install security update from vendor's website.

phpseclib - update to 4.0.4

External References

Related Security Bulletins