Critical Security Update for phpseclib: Addressing Vulnerability CVE-2026-32935

phpseclib Updated 29 Mar 2026

Summary

29/03/2026
N/A
Yes i
Unrated
Not published

DSA-6185-1: phpseclib - security update. Affects phpseclib versions < 1.0.20-1+deb12u3. Fixed in 1.0.20-1+deb12u3. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

phpseclib is a popular open-source PHP library that provides a pure PHP implementation of various cryptographic algorithms and protocols. It is widely used for secure communications, including SSH, SFTP, and encryption. The library is designed to be easy to use and integrate into PHP applications, making it a go-to choice for developers needing secure data handling. However, recent vulnerabilities have raised concerns about its security, necessitating prompt updates to protect applications that rely on this library.

Vulnerability Detail

The vulnerability identified as CVE-2026-32935 affects phpseclib versions prior to 1.0.20-1+deb12u3 for Debian 12 and prior to 1.0.23-6+deb13u1 for Debian 13. This issue may allow attackers to exploit weaknesses in the library, potentially leading to unauthorized access or manipulation of sensitive data. The vulnerability stems from inadequate input validation and improper handling of cryptographic operations, which could be leveraged by malicious actors to compromise the integrity and confidentiality of data processed by applications using phpseclib.

How To Fix

Minimum fixed version

1.0.20-1+deb12u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpseclib

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate updates cannot be applied, consider implementing input validation and sanitization in your application to mitigate potential exploitation of the vulnerability. Additionally, restrict access to sensitive operations within your application until the library is updated.

Conclusion

The discovery of CVE-2026-32935 in phpseclib highlights the importance of maintaining up-to-date libraries to ensure the security of applications. By promptly updating to the patched versions and implementing best practices for input validation, developers can mitigate the risks associated with this vulnerability.

See every vulnerability recorded for phpseclib →

Share this vulnerability

FAQ

CVE-2026-32935 is a security vulnerability in phpseclib that could allow unauthorized access or manipulation of sensitive data due to inadequate input validation.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failing to update phpseclib may expose your application to potential attacks, leading to data breaches or unauthorized access to sensitive information.

It is recommended to regularly check for vulnerabilities in your dependencies, ideally on a monthly basis or whenever a new version is released.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in your software using just a manifest file like package-lock.json, providing real-time insights.

Related vulnerabilities

Recent vulnerabilities recorded for phpseclib.

How To Fix

Minimum fixed version

1.0.20-1+deb12u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade phpseclib

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback