Skip to main content
VulnerabilityPublished Updated

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

Affects phpseclib/phpseclibSource GCVE Database

0
Authoritative record:CVE-2026-32935· High 8.2

Not known to be exploited · CVSS 8.2 High : upgrade to 3.0.50 soon.

Data as of 27 Oct 2026, 00:07 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.0.50, 2.0.52, 1.0.27
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade phpseclib/phpseclib to 3.0.50; phpseclib/phpseclib to 2.0.52; phpseclib/phpseclib to 1.0.27.

Affected software

ProductAffectedFixed in
Packagistphpseclib/phpseclibAffected
  • >=3.0.0 <3.0.50
Fixed in
  • 3.0.50
Packagistphpseclib/phpseclibAffected
  • >=2.0.0 <2.0.52
Fixed in
  • 2.0.52
Packagistphpseclib/phpseclibAffected
  • >=0.1.1 <1.0.27
Fixed in
  • 1.0.27

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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

References

Community reviews

Loading reviews…