CVE-2026-32935

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

State
Published
Severity
8.2 High
Published
Mar 20, 2026
Updated
May 8, 2026
Reserved
Mar 17, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.2 HighCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-208 Observable Timing Discrepancy

Affected Products

ProductVersions
phpseclibphpseclib
  • >= 3.0.0, < 3.0.50Affected
  • >= 2.0.0, < 2.0.52Affected
  • >= 0.1.1, < 1.0.27Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.