NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

CVE-2026-32935: phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack

highCVSS 4.0 8.2GHSA-94g3-g5v7-q4jg

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

Published Mar 19, 2026 · Updated May 8, 2026

Affected packages

phpseclib/phpseclib

Ecosystem
Composer (PHP)
Affected
>= 3.0.0, <= 3.0.49
Fixed in
3.0.50
Check
composer show phpseclib/phpseclib

phpseclib/phpseclib

Ecosystem
Composer (PHP)
Affected
>= 2.0.0, <= 2.0.51
Fixed in
2.0.52
Check
composer show phpseclib/phpseclib

phpseclib/phpseclib

Ecosystem
Composer (PHP)
Affected
>= 0.1.1, <= 1.0.26
Fixed in
1.0.27
Check
composer show phpseclib/phpseclib

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries