CVE-2026-32935Observable Timing Discrepancy in Phpseclib

Severity
8.2HIGHNVD
EPSS
0.0%
top 97.43%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 20
Latest updateApr 10

Description

phpseclib is a PHP secure communications library. Projects using versions 1.0.26 and below, 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.

CVSS vector

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

Affected Packages7 packages

debiandebian/phpseclib< php-phpseclib 2.0.42-1+deb12u3 (bookworm)
NVDphpseclib/phpseclib2.0.02.0.52+2
Packagistphpseclib/phpseclib2.0.02.0.53+5
debiandebian/php-phpseclib< php-phpseclib 2.0.42-1+deb12u3 (bookworm)
debiandebian/php-phpseclib3< php-phpseclib 2.0.42-1+deb12u3 (bookworm)

Patches

🔴Vulnerability Details

4
GHSA
phpseclib has a variable-time HMAC comparison in SSH2::get_binary_packet() using != instead of hash_equals()2026-04-10
OSV
CVE-2026-32935: phpseclib is a PHP secure communications library2026-03-20
OSV
phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack2026-03-19
GHSA
phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack2026-03-19

📋Vendor Advisories

1
Debian
CVE-2026-32935: php-phpseclib - phpseclib is a PHP secure communications library. Projects using versions 1.0.26...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-32935 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

3
Bugzilla
CVE-2026-32935 nextcloud: phpseclib: Information disclosure via padding oracle timing attack when using AES in CBC mode [epel-all]2026-03-20
Bugzilla
CVE-2026-32935 nextcloud: phpseclib: Information disclosure via padding oracle timing attack when using AES in CBC mode [fedora-43]2026-03-20
Bugzilla
CVE-2026-32935 nextcloud: phpseclib: Information disclosure via padding oracle timing attack when using AES in CBC mode [fedora-42]2026-03-20