CVE-2024-27355Uncontrolled Resource Consumption in Phpseclib

Severity
7.5HIGHNVD
EPSS
0.2%
top 57.47%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 1
Latest updateApr 2

Description

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).

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages7 packages

debiandebian/phpseclib< php-phpseclib 2.0.42-1+deb12u2 (bookworm)
NVDphpseclib/phpseclib1.0.01.0.23+2
Packagistphpseclib/phpseclib3.0.03.0.36+2
debiandebian/php-phpseclib< php-phpseclib 2.0.42-1+deb12u2 (bookworm)
debiandebian/php-phpseclib3< php-phpseclib 2.0.42-1+deb12u2 (bookworm)

Also affects: Debian Linux 10.0

🔴Vulnerability Details

4
OSV
phpseclib vulnerabilities2025-04-02
GHSA
phpseclib does not properly limit the ASN1 OID length2024-03-02
OSV
phpseclib does not properly limit the ASN1 OID length2024-03-02
OSV
CVE-2024-27355: An issue was discovered in phpseclib 12024-03-01

📋Vendor Advisories

2
Ubuntu
phpseclib vulnerabilities2025-04-02
Debian
CVE-2024-27355: php-phpseclib - An issue was discovered in phpseclib 1.x before 1.0.23, 2.x before 2.0.47, and 3...2024