← Back

Phpseclib

phpseclib

9 CVEs • 1 product

Products (1)

Click to collapse
Toggle
Phpseclib
phpseclib

CVEs (9)

CVE
VENDORS
PRODUCTS
UPDATED
PUBLISHED
CVSS
1Phpseclib
1Phpseclib
Jun 26, 2026
Jun 22, 2026
N/A· v4
5.8 MEDIUM· v3
N/A· v2
phpseclib is a PHP secure communications library. From 0.1.1 until 1.0.30, 2.0.55, and 3.0.54, when an application validates an untrusted X.509 certificate with phpseclib, X509::validateSignature() reads a URL out of tha...Show more
phpseclib is a PHP secure communications library. From 0.1.1 until 1.0.30, 2.0.55, and 3.0.54, when an application validates an untrusted X.509 certificate with phpseclib, X509::validateSignature() reads a URL out of that certificate's Authority Information Access (AIA) extension and connects to it. Attacker who supplies certificate fully controls host, port, and path of that connection. URL fetching is enabled by default, and no destination is blocked. An unauthenticated attacker can therefore make a validating server open connections to internal hosts and ports it should never reach, for example loopback 127.0.0.1, cloud metadata address 169.254.169.254, and internal-only services. This is a server-side request forgery (SSRF) caused by an insecure default. This vulnerability is fixed in 1.0.30, 2.0.55, and 3.0.54.Show less
1Phpseclib
1Phpseclib
Jun 17, 2026
Apr 10, 2026
N/A· v4
3.7 LOW· v3
N/A· v2
phpseclib is a PHP secure communications library. Starting in 0.1.1 and prior to 3.0.51, 2.0.53, and 1.0.28, phpseclib\Net\SSH2::get_binary_packet() uses PHP's != operator to compare a received SSH packet HMAC against th...Show more
phpseclib is a PHP secure communications library. Starting in 0.1.1 and prior to 3.0.51, 2.0.53, and 1.0.28, phpseclib\Net\SSH2::get_binary_packet() uses PHP's != operator to compare a received SSH packet HMAC against the locally computed HMAC. != on equal-length binary strings in PHP uses memcmp(), which short-circuits on the first differing byte. This is a real variable-time comparison (CWE-208), proven by scaling benchmarks. This vulnerability is fixed in 3.0.51, 2.0.53, and 1.0.28.Show less
1Phpseclib
1Phpseclib
Jun 17, 2026
Mar 20, 2026
8.2 HIGH· v4
5.9 MEDIUM· v3
N/A· v2
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 mod...Show more
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.Show less
1Phpseclib
1Phpseclib
Jun 17, 2026
Jun 27, 2024
N/A· v4
7.5 HIGH· v3
N/A· v2
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...Show more
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.Show less
2Debian
Phpseclib
2Debian Linux
Phpseclib
Jun 17, 2026
Mar 1, 2024
N/A· v4
7.5 HIGH· v3
N/A· v2
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 s...Show more
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).Show less
2Debian
Phpseclib
2Debian Linux
Phpseclib
Jun 17, 2026
Mar 1, 2024
N/A· v4
7.5 HIGH· v3
N/A· v2
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 co...Show more
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.Show less
1Phpseclib
1Phpseclib
Jun 17, 2026
Nov 27, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.
1Phpseclib
1Phpseclib
Jun 17, 2026
Mar 3, 2023
N/A· v4
7.5 HIGH· v3
N/A· v2
Math/PrimeField.php in phpseclib 3.x before 3.0.19 has an infinite loop with composite primefields.
2Debian
Phpseclib
2Debian Linux
Phpseclib
Jun 17, 2026
Apr 6, 2021
N/A· v4
7.5 HIGH· v3
5.0 MEDIUM· v2
phpseclib before 2.0.31 and 3.x before 3.0.7 mishandles RSA PKCS#1 v1.5 signature verification.