Skip to content
Fencer Vulns
medium 5.9

CVE-2026-32935 json

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

published 2026-03-19 7 mo ago modified 2026-09-10 1 mo ago also GHSA-94g3-g5v7-q4jg , EUVD-2026-13507

cvss
5.9
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

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.

Patch / fix

  • packagist phpseclib/phpseclib 1.0.27, 2.0.52, 3.0.50
  • phpseclib phpseclib 1.0.27, 2.0.52, 3.0.50
  • phpseclib Debian 12 1.0.20-1+deb12u3
  • phpseclib Debian 13 1.0.23-6+deb13u1
  • php-phpseclib Debian 12 2.0.42-1+deb12u3
  • php-phpseclib Debian 13 2.0.48-3+deb13u1
  • php-phpseclib Debian 14 2.0.52-1
  • php-phpseclib3 Debian 12 3.0.19-1+deb12u4
  • php-phpseclib3 Debian 13 3.0.43-2+deb13u1
  • php-phpseclib3 Debian 14 3.0.50-1

debian advisories DEBIAN-CVE-2026-32935

  • phpseclib Ubuntu 22.04 LTS 1.0.20-1+deb12u3build0.22.04.1
  • phpseclib Ubuntu Pro 18.04 LTS 1.0.9-1ubuntu0.1~esm2
  • phpseclib Ubuntu Pro 20.04 LTS 1.0.18-2ubuntu0.1~esm2
  • phpseclib Ubuntu Pro 24.04 LTS 1.0.23-1ubuntu0.1~esm1
  • phpseclib Ubuntu Pro 26.04 LTS 1.0.24-1ubuntu0.1~esm1
  • php-phpseclib Ubuntu Pro 16.04 LTS 2.0.1-1ubuntu0.1~esm1
  • php-phpseclib Ubuntu Pro 18.04 LTS 2.0.9-1ubuntu0.1~esm3
  • php-phpseclib Ubuntu Pro 20.04 LTS 2.0.23-2ubuntu0.1~esm3

ubuntu advisories UBUNTU-CVE-2026-32935

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-32935 updated cvss 5.9

phpseclib: phpseclib: Information disclosure via padding oracle timing attack when using AES in CBC mode

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
7 mo ago

Exploit prediction

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 8.2 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
CNA 4.0 8.2 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
packagist phpseclib/phpseclib
>=3.0.0, <3.0.50
>=2.0.0, <2.0.52
>=0.1.1, <1.0.27
3.0.50
2.0.52
1.0.27

Affected products

  • phpseclib phpseclib

Classification

Weakness
  • CWE-208 Observable Timing Discrepancy

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.