CVE-2026-32935 PUBLISHED

phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack

Assigner: GitHub_M
Reserved: 17.03.2026 Published: 20.03.2026 Updated: 20.03.2026

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.

Metrics

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
CVSS Score: 8.2

Product Status

Vendor phpseclib
Product phpseclib
Versions
  • Version >= 3.0.0, < 3.0.50 is affected
  • Version >= 2.0.0, < 2.0.52 is affected
  • Version < 1.0.27 is affected

References

Problem Types

  • CWE-208: Observable Timing Discrepancy CWE