CVE-2026-32935
MEDIUM5.9EPSS 0.02%phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack
Published: 3/19/2026Modified: 5/27/2026
Description
phpseclib is a PHP secure communications library. Projects using versions 0.1.1 through 1.0.26, 2.0.0 through 2.0.51, and 3.0.0 through 3.0.49 are vulnerable to a to padding oracle timing attack when using AES in CBC mode. This issue has been fixed in versions 1.0.27, 2.0.52 and 3.0.50.
Affected packages (7)
- Debian/php-phpseclibfrom 0, < 2.0.42-1+deb12u3
- Debian/php-phpseclibfrom 0
- Debian/php-phpseclib3from 0, < 3.0.19-1+deb12u4
- Debian/php-phpseclib3from 0, < 3.0.19-1+deb12u4
- Debian/phpseclibfrom 0, < 1.0.20-1+deb12u3
- Debian/phpseclibfrom 0, < 1.0.19-3+deb11u3
- Packagist/phpseclib/phpseclib>= 3.0.0, < 3.0.50
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-32935
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-32935
- PATCHhttps://github.com/phpseclib/phpseclib
- WEBhttps://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788
- WEBhttps://github.com/phpseclib/phpseclib/security/advisories/GHSA-94g3-g5v7-q4jg