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.

Project Subscriptions

No data.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-94g3-g5v7-q4jg phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 20 Mar 2026 03:15:00 +0000

Type Values Removed Values Added
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.
Title phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack
Weaknesses CWE-208
References
Metrics cvssV4_0

{'score': 8.2, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-03-20T02:48:59.778Z

Reserved: 2026-03-17T00:05:53.282Z

Link: CVE-2026-32935

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-03-20T03:16:00.763

Modified: 2026-03-20T03:16:00.763

Link: CVE-2026-32935

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses