CVE-2026-32935: phpseclib/phpseclib · phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack
Affects phpseclib/phpseclibSource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 3.0.50 soon.
Data as of 27 Oct 2026, 00:07 UTC
- Patch
- Available – fixed in 3.0.50, 2.0.52, 1.0.27
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade phpseclib/phpseclib to 3.0.50; phpseclib/phpseclib to 2.0.52; phpseclib/phpseclib to 1.0.27.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistphpseclib/phpseclib | Affected
| Fixed in
|
| Packagistphpseclib/phpseclib | Affected
| Fixed in
|
| Packagistphpseclib/phpseclib | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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
References
- github.com/phpseclib/phpseclib/security/advisories/GHSA-94g3-g5v7-q4jg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-32935 (opens in a new tab)
- github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788 (opens in a new tab)
- github.com/phpseclib/phpseclib (opens in a new tab)