CVE-2026-32935
phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack
HIGH 8.2
At a glance
- Source
- NVD
- EPSS
- EPSS 0.39 % · percentile 33 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-208 — Observable Timing Discrepancy
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.2 | 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 | GitHub_M |
| CVSS 4.0 | HIGH 8.2 | 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 | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-94g3-g5v7-q4jg — phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack
European references
- ENISA EUVD · EUVD-2026-13507
- GCVE · GCVE-0-2026-32935
Affected configurations (NVD CPE)
cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*< 1.0.27cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*≥ 2.0.0 < 2.0.52cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*≥ 3.0.0 < 3.0.50
Affected products
| Product | Versions |
|---|---|
| phpseclib · phpseclib | affected >= 3.0.0, < 3.0.50 ; affected >= 2.0.0, < 2.0.52 ; affected >= 0.1.1, < 1.0.27 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |