{"id":"CVE-2026-32935","published":"2026-03-20T02:48:59Z","modified":"2026-05-08T15:19:11Z","title":"phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack","vendor":"phpseclib","product":"phpseclib","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00425,"percentile":0.37674,"provenance":"source"},"cwes":[{"id":"CWE-208","name":"Observable Timing Discrepancy"}],"references":[{"url":"https://github.com/phpseclib/phpseclib/security/advisories/GHSA-94g3-g5v7-q4jg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":7.53},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"phpseclib","affectedVersions":[{"vendor":"phpseclib","product":"phpseclib","versions":[">= 3.0.0, < 3.0.50",">= 2.0.0, < 2.0.52",">= 0.1.1, < 1.0.27"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-03-20T16:31:59.292752Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpseclib/phpseclib","vulnerableRanges":[">=3.0.0, <3.0.50",">=2.0.0, <2.0.52",">=0.1.1, <1.0.27"],"patched":["3.0.50","2.0.52","1.0.27"],"from":["GHSA-94g3-g5v7-q4jg"],"provenance":"source"}],"summary":{"text":"phpseclib, a PHP secure communications library, contains a flaw in its AES-CBC unpadding routine that is susceptible to a padding oracle timing attack. An attacker with network access can exploit it without authentication or user interaction by observing timing differences in responses, though the attack is considered high complexity and requires that the affected application expose a distinguishable padding-validation path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:25Z"},"euvd":{"id":"EUVD-2026-13507","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-49316","published":"2023-11-27","fixed":"3.0.34","kev":false},{"cve":"CVE-2024-27354","published":"2024-03-01","fixed":"3.0.36","kev":false},{"cve":"CVE-2024-27355","published":"2024-03-01","fixed":"3.0.36","kev":false},{"cve":"CVE-2026-32935","published":"2026-03-20","fixed":"3.0.50","kev":false},{"cve":"CVE-2026-40194","published":"2026-04-10","fixed":"3.0.51","kev":false,"link":{"from":"CVE-2026-32935","to":"CVE-2026-40194","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpseclib/phpseclib","fromFixed":"1.0.27","toFixed":"1.0.28","daysApart":21},{"kind":"version-step","provenance":"source","package":"Packagist:phpseclib/phpseclib","fromFixed":"2.0.52","toFixed":"2.0.53","daysApart":21}]}},{"cve":"CVE-2026-44167","published":"2026-05-12","fixed":"3.0.52","kev":false},{"cve":"CVE-2026-55599","published":"2026-06-22","fixed":"3.0.54","kev":false}],"package":"Packagist:phpseclib/phpseclib"}}