phpseclib CVE Vulnerabilities & Metrics

Focus on phpseclib vulnerabilities and metrics.

Last updated: 29 Mar 2026, 22:25 UTC

About phpseclib Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with phpseclib. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total phpseclib CVEs: 7
Earliest CVE date: 06 Apr 2021, 15:15 UTC
Latest CVE date: 20 Mar 2026, 03:16 UTC

Latest CVE reference: CVE-2026-32935

Rolling Stats

30-day Count (Rolling): 1
365-day Count (Rolling): 1

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): 0%
Year Variation (Calendar): 0.0%

Month Growth Rate (30-day Rolling): 0.0%
Year Growth Rate (365-day Rolling): 0.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical phpseclib CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 0.71

Max CVSS: 5.0

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 6
4.0-6.9 1
7.0-8.9 0
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS phpseclib CVEs

These are the five CVEs with the highest CVSS scores for phpseclib, sorted by severity first and recency.

All CVEs for phpseclib

CVE-2026-32935 phpseclib vulnerability CVSS: 0 20 Mar 2026, 03:16 UTC

phpseclib is a PHP secure communications library. Projects using versions 1.0.26 and below, 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.

CVE-2023-52892 phpseclib vulnerability CVSS: 0 27 Jun 2024, 22:15 UTC

In phpseclib before 1.0.22, 2.x before 2.0.46, and 3.x before 3.0.33, some characters in Subject Alternative Name fields in TLS certificates are incorrectly allowed to have a special meaning in regular expressions (such as a + wildcard), leading to name confusion in X.509 certificate host verification.

CVE-2024-27355 phpseclib vulnerability CVSS: 0 01 Mar 2024, 23:15 UTC

An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. When processing the ASN.1 object identifier of a certificate, a sub identifier may be provided that leads to a denial of service (CPU consumption for decodeOID).

CVE-2024-27354 phpseclib vulnerability CVSS: 0 01 Mar 2024, 23:15 UTC

An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.

CVE-2023-49316 phpseclib vulnerability CVSS: 0 27 Nov 2023, 18:15 UTC

In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.

CVE-2023-27560 phpseclib vulnerability CVSS: 0 03 Mar 2023, 06:15 UTC

Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.

CVE-2021-30130 phpseclib vulnerability CVSS: 5.0 06 Apr 2021, 15:15 UTC

phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.