All reports
High

phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack

Affected versions

Affected versions
>= 3.0.0, <= 3.0.49
Fixed version
3.0.50
Affected versions
>= 0.1.1, <= 1.0.26
Fixed version
1.0.27
Affected versions
>= 2.0.0, <= 2.0.51
Fixed version
2.0.52

Exploitation

CVE-2026-32935

Probability of exploitation in the next 30 days: 0.43%

FIRST EPSS · 2026-11-21

Description

Impact

Those using AES in CBC mode may be susceptible to a padding oracle timing attack.

Patches

https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788

Workarounds

Use AES in CTR, CFB or OFB modes

References

https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788

Links