GHSA-94g3-g5v7-q4jg

phpseclib's AES-CBC unpadding susceptible to padding oracle timing attack

At a glance

Published
Updated
CVE
CVE-2026-32935
CVSS_V4
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

Description

### Impact Those using AES in CBC mode may be susceptible to a padding oracle timing attack. ### Patches https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788 ### Workarounds Use AES in CTR, CFB or OFB modes ### References https://github.com/phpseclib/phpseclib/commit/ccc21aef71eb170e9bf819b167e67d1fd9e6e788

Affected packages

PackageVersions
Packagist · phpseclib/phpseclibintroduced 3.0.0, fixed 3.0.50
Packagist · phpseclib/phpseclibintroduced 2.0.0, fixed 2.0.52
Packagist · phpseclib/phpseclibintroduced 0.1.1, fixed 1.0.27

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database