CVE-2026-32935Phpseclib
High 8.2 No auth needed
Follow: this CVE · Phpseclib · Phpseclib We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Mar 20, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-208
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Phpseclib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | phpseclib/phpseclib |
≥ 3.0.0 < 3.0.50 |
3.0.50 |
composer require "phpseclib/phpseclib:^3.0.50" |
| Packagist | phpseclib/phpseclib |
≥ 2.0.0 < 2.0.52 |
2.0.52 |
composer require "phpseclib/phpseclib:^2.0.52" |
| Packagist | phpseclib/phpseclib |
≥ 0.1.1 < 1.0.27 |
1.0.27 |
composer require "phpseclib/phpseclib:^1.0.27" |
Per OSV / GitHub Advisories (GHSA-94g3-g5v7-q4jg). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| phpseclib | phpseclib | < 1.0.27 |
| phpseclib | phpseclib | ≥ 2.0.0 < 2.0.52 |
| phpseclib | phpseclib | ≥ 3.0.0 < 3.0.50 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch Vendor Advisory