CVE-2024-27355Phpseclib
High 7.5 No auth needed
Follow: this CVE · Phpseclib · Phpseclib We alert you by email or Slack (account required).
- 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).
What to do
- Apply the vendor's security update for Phpseclib.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| phpseclib | phpseclib | ≥ 1.0.0 < 1.0.23 |
| phpseclib | phpseclib | ≥ 2.0.0 < 2.0.47 |
| phpseclib | phpseclib | ≥ 3.0.0 < 3.0.36 |
| debian | debian_linux | 10.0 |
Official advisories
- cacti-1.2.30+git457.e55c2aea-1.1 on GA media · SUSE · openSUSE-SU-2026:10920-1 · Jun 1, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Third Party Advisory
- github.com Product
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory