Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpseclib/phpseclib
  4. ›
  5. CVE-2026-32935

CVE-2026-32935: phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack

March 19, 2026 (updated May 8, 2026)

Those using AES in CBC mode may be susceptible to a padding oracle timing attack.

References

  • github.com/advisories/GHSA-94g3-g5v7-q4jg
  • github.com/phpseclib/phpseclib
  • github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788
  • github.com/phpseclib/phpseclib/security/advisories/GHSA-94g3-g5v7-q4jg
  • nvd.nist.gov/vuln/detail/CVE-2026-32935

Code Behaviors & Features

Detect and mitigate CVE-2026-32935 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.1.1 before 1.0.27, all versions starting from 2.0.0 before 2.0.52, all versions starting from 3.0.0 before 3.0.50

Fixed versions

  • 3.0.50
  • 2.0.52
  • 1.0.27

Solution

Upgrade to versions 1.0.27, 2.0.52, 3.0.50 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy

Source file

packagist/phpseclib/phpseclib/CVE-2026-32935.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:10 +0000.