{"id":"CVE-2026-32935","aliases":["CVE-2026-32935","GHSA-94g3-g5v7-q4jg"],"related":[],"kind":"vulnerability","state":"published","title":"phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThose using AES in CBC mode may be susceptible to a padding oracle timing attack.\n\n### Patches\nhttps://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788\n\n### Workarounds\nUse AES in CTR, CFB or OFB modes\n\n### References\nhttps://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788","format":"markdown","source":"ghsa"},{"lang":"es","text":"phpseclib es una biblioteca PHP de comunicaciones seguras. Los proyectos que utilizan las versiones 1.0.26 e inferiores, 2.0.0 hasta 2.0.51, y 3.0.0 hasta 3.0.49 son vulnerables a un ataque de temporización de oráculo de relleno al usar AES en modo CBC. Este problema ha sido solucionado en las versiones 1.0.27, 2.0.52 y 3.0.50.","source":"nvd"}],"published":"2026-03-19T16:42:18.000Z","modified":"2026-09-10T03:50:38.415Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-208"],"affected":[{"ranges":[{"version":">= 3.0.0, < 3.0.50","status":"affected"},{"version":">= 2.0.0, < 2.0.52","status":"affected"},{"version":">= 0.1.1, < 1.0.27","status":"affected"}],"vendor":"phpseclib","product":"phpseclib","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.0.50"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.52"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0.1.1","status":"affected","fixed":"1.0.27"}],"ecosystem":"Packagist","package":"phpseclib/phpseclib","purl":"pkg:composer/phpseclib/phpseclib","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.0.27"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.52"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.50"}],"vendor":"phpseclib","product":"phpseclib","cpe":"cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/phpseclib/phpseclib/security/advisories/GHSA-94g3-g5v7-q4jg","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32935","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/phpseclib/phpseclib","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-20T16:31:59.292Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-32935","url":"https://www.cve.org/CVERecord?id=CVE-2026-32935","licence":"CVE Terms of Use","modified":"2026-05-08T15:19:11.716Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-94g3-g5v7-q4jg","url":"https://github.com/advisories/GHSA-94g3-g5v7-q4jg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:38.415Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-32935","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32935","licence":"Public domain","modified":"2026-06-17T10:36:35.500Z"}],"updatedAt":"2026-11-25T22:59:16.265Z","epss":{"score":0.00425,"percentile":0.38747,"date":"2026-12-01T12:00:22.000Z"}}