phpseclib/phpseclib · Security

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

GHSA ID
GHSA-94g3-g5v7-q4jg
CVE ID
CVE-2026-32935
Severity
high
Published
Updated
CVSS v4
8.2 · CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

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

CWEs

References