CVEfocus › CVE database › CVE-2026-32935

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

CVSS 8.2 HighEPSS 0.5% (higher than 35% of CVEs)Published 2026-03-20Updated 2026-05-08Assigner: GitHub_M

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.

CWE-208

What to do

Fixed builds are available from Debian, Packagist, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
12Fix pending
2Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10php-phpseclib3Fix pendingUBUNTU-CVE-2026-32935
Ubuntu 26.04php-phpseclibFix pending2.0.51-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 26.04php-phpseclib3Under investigationUBUNTU-CVE-2026-32935
Ubuntu 26.04phpseclibFix pending1.0.24-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 25.10php-phpseclibWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-32935
Ubuntu 25.10php-phpseclib3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-32935
Ubuntu 25.10phpseclibWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-32935
Ubuntu 24.04php-phpseclibFix pending2.0.47-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 24.04php-phpseclib3Under investigationUBUNTU-CVE-2026-32935
Ubuntu 24.04phpseclibFix pending1.0.23-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 22.04php-phpseclibFix pending2.0.36-1ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 22.04php-phpseclib3Fix pendingUBUNTU-CVE-2026-32935
Ubuntu 22.04phpseclibFixed1.0.20-1+deb12u3build0.22.04.1UBUNTU-CVE-2026-32935
Ubuntu 20.04php-phpseclibFix pending2.0.23-2ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 20.04phpseclibFix pending1.0.18-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 18.04php-phpseclibFix pending2.0.9-1ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 18.04phpseclibFix pending1.0.9-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Ubuntu 16.04php-phpseclibFix pending2.0.1-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-32935
Debian 14php-phpseclibFixed2.0.52-1DEBIAN-CVE-2026-32935
Debian 14php-phpseclib3Fixed3.0.50-1DEBIAN-CVE-2026-32935
Debian 13php-phpseclibFixed2.0.48-3+deb13u1DEBIAN-CVE-2026-32935
Debian 13php-phpseclib3Fixed3.0.43-2+deb13u1DEBIAN-CVE-2026-32935
Debian 13phpseclibFixed1.0.23-6+deb13u1DEBIAN-CVE-2026-32935
Debian 12php-phpseclibFixed2.0.42-1+deb12u3DEBIAN-CVE-2026-32935
Debian 12php-phpseclib3Fixed3.0.19-1+deb12u4DEBIAN-CVE-2026-32935
Debian 12phpseclibFixed1.0.20-1+deb12u3DEBIAN-CVE-2026-32935
Packagist libraryphpseclib/phpseclibFixed3.0.50GHSA-94g3-g5v7-q4jg

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.