Live threats

All CVEs / Phpseclib

CVE-2024-27355Phpseclib

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.8%
probability of exploitation in 30 days · percentile 56
Auth required
No
Published
Mar 1, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Phpseclib.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpseclib/phpseclib ≥ 2.0.0 < 2.0.47 2.0.47 composer require "phpseclib/phpseclib:^2.0.47"
Packagist phpseclib/phpseclib ≥ 3.0.0 < 3.0.36 3.0.36 composer require "phpseclib/phpseclib:^3.0.36"
Packagist phpseclib/phpseclib ≥ 0.1.1 < 1.0.23 1.0.23 composer require "phpseclib/phpseclib:^1.0.23"

Per OSV / GitHub Advisories (GHSA-f2qx-66wf-wvvx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
phpseclibphpseclib≥ 1.0.0 < 1.0.23
phpseclibphpseclib≥ 2.0.0 < 2.0.47
phpseclibphpseclib≥ 3.0.0 < 3.0.36
debiandebian_linux10.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.