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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-03-19T16:42:18.000Z
- Modified: 2026-09-10T03:50:38.415Z
- Also known as: GHSA-94g3-g5v7-q4jg
- Weaknesses: CWE-208
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- phpseclib phpseclib: >= 3.0.0, < 3.0.50; >= 2.0.0, < 2.0.52; >= 0.1.1, < 1.0.27; before 1.0.27; from 2.0.0 before 2.0.52; from 3.0.0 before 3.0.50
- phpseclib/phpseclib (Packagist): from 3.0.0 before 3.0.50; from 2.0.0 before 2.0.52; from 0.1.1 before 1.0.27

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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: CVSS:4.0 High `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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/phpseclib/phpseclib/security/advisories/GHSA-94g3-g5v7-q4jg> (patch, vendor-advisory, web)
- <https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-32935> (advisory)
- <https://github.com/phpseclib/phpseclib> (package)

## Sources

- CVE List: [CVE-2026-32935](https://www.cve.org/CVERecord?id=CVE-2026-32935), CVE Terms of Use, modified 2026-05-08
- GitHub Advisory Database: [GHSA-94g3-g5v7-q4jg](https://github.com/advisories/GHSA-94g3-g5v7-q4jg), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-32935](https://nvd.nist.gov/vuln/detail/CVE-2026-32935), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-32935 · Whole record: https://cve.day/CVE-2026-32935.json · Rebuilt by cve.day 2026-11-25T22:59:16.265Z
