GHSA-94g3-g5v7-q4jg
phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack
At a glance
- Published
- Updated
- CVE
- CVE-2026-32935
- CVSS_V4
- 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
Affected packages
| Package | Versions |
|---|---|
| Packagist · phpseclib/phpseclib | introduced 3.0.0, fixed 3.0.50 |
| Packagist · phpseclib/phpseclib | introduced 2.0.0, fixed 2.0.52 |
| Packagist · phpseclib/phpseclib | introduced 0.1.1, fixed 1.0.27 |
References
- https://github.com/phpseclib/phpseclib/security/advisories/GHSA-94g3-g5v7-q4jg WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-32935 ADVISORY
- https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788 WEB
- https://github.com/phpseclib/phpseclib PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |