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

Source: https://junglewise.ai/threats/cve-2026-32935-phpseclib-s-aes-cbc-unpadding-susceptible-to-padding-oracle  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-03-19  
License: CC BY 4.0 with a link back

CVE-2026-32935 · Severity: medium · CVSS 4 · Published 2026-03-19

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

Technologies: [phpseclib/phpseclib (Packagist)](https://junglewise.ai/threats/technologies/phpseclib-phpseclib). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2026-32935 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-32935 being exploited in the wild.

**How severe is CVE-2026-32935?** Medium severity, with a CVSS score of 4, published 19 March 2026.

**Which products and versions are affected?** phpseclib/phpseclib (Packagist) ECOSYSTEM:introduced=3.0.0,fixed=3.0.50.

**Is there a fix for CVE-2026-32935?** Yes. phpseclib/phpseclib (Packagist): upgrade to 3.0.50 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-32935?** Check whether you run phpseclib/phpseclib (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- phpseclib/phpseclib (Packagist): upgrade to 3.0.50 or later

  ```sh
  composer require phpseclib/phpseclib:^3.0.50
  ```


## Affected products

- phpseclib/phpseclib (Packagist) ECOSYSTEM:introduced=3.0.0,fixed=3.0.50

## Identifiers

- CVE-2026-32935
- GHSA-94g3-g5v7-q4jg

## Related threats

- [phpseclib X25519 non-constant-time scalar multiplication private key recovery](https://junglewise.ai/threats/cve-2026-84308-phpseclib-x25519-non-constant-time-scalar-multiplication-private)
- [phpseclib SSRF in X.509 certificate validation](https://junglewise.ai/threats/cve-2026-55599-phpseclib-ssrf-in-x-509-certificate-validation)
- [phpseclib denial of service via OID amplification in ASN1 decoding](https://junglewise.ai/threats/cve-2026-44167-phpseclib-oid-amplification-dos-in-asn1-decodeoid)
- [Phpseclib needs guardrails on large binaryfield integers](https://junglewise.ai/threats/cve-2023-49316-phpseclib-needs-guardrails-on-large-binaryfield-integers)
- [phpseclib guardrails needed on OID length](https://junglewise.ai/threats/cve-2024-27355-phpseclib-guardrails-needed-on-oid-length)
