Critical Security Update for php-phpseclib3: Addressing Vulnerability CVE-2026-32935

php-phpseclib3 Updated 29 Mar 2026

Summary

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

DSA-6187-1: php-phpseclib3 - security update. Affects php-phpseclib3 versions < 3.0.19-1+deb12u4. Fixed in 3.0.19-1+deb12u4. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

php-phpseclib3 is a widely used PHP library that provides a pure PHP implementation of various cryptographic algorithms. It is designed to facilitate secure data transmission and storage, making it essential for applications that require encryption and secure communications. The library is utilized in numerous web applications, which makes its security paramount to protect sensitive data from potential threats.

Vulnerability Detail

The vulnerability identified as CVE-2026-32935 in php-phpseclib3 arises from inadequate input validation, which could allow an attacker to exploit the library and execute arbitrary code. This could lead to unauthorized access to sensitive data or even complete system compromise. The issue is particularly concerning for applications that rely on this library for cryptographic operations, as it undermines the integrity and confidentiality of the data being processed.

How To Fix

Minimum fixed version

3.0.19-1+deb12u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade php-phpseclib3

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

Workaround

If immediate upgrading is not feasible, consider temporarily disabling features that rely on php-phpseclib3 until the patch can be applied. Additionally, ensure that your application is not exposed to untrusted input that could exploit this vulnerability.

Conclusion

The php-phpseclib3 library has a critical vulnerability (CVE-2026-32935) that requires immediate attention. Updating to the latest patched versions is essential to ensure the security of applications using this library. Regular monitoring and prompt updates are crucial in maintaining a secure software environment.

See every vulnerability recorded for php-phpseclib3 →

Share this vulnerability

FAQ

CVE-2026-32935 is a security vulnerability in the php-phpseclib3 library that allows for potential arbitrary code execution due to inadequate input validation.

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

Failing to address this vulnerability could lead to unauthorized access to sensitive data, data breaches, and potential system compromise.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just a manifest file like package-lock.json.

If you cannot update the package right away, consider disabling features that rely on php-phpseclib3 and avoid processing untrusted input.

Related vulnerabilities

Recent vulnerabilities recorded for php-phpseclib3.

How To Fix

Minimum fixed version

3.0.19-1+deb12u4

This is the first release that contains the fix.

sudo apt-get install --only-upgrade php-phpseclib3

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