Skip to main content
VulnerabilityPublished Updated

CVE-2024-27355: phpseclib · Uncontrolled Resource Consumption

Affects phpseclibSource CVE Database V5

0

Not known to be exploited · CVSS 7.5 High : upgrade to 1.0.23 soon.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.0.23
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Mar 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade phpseclib/phpseclib to 1.0.23.

Affected software

ProductAffectedFixed in
Packagistphpseclib/phpseclibpkg:composer/phpseclib/phpseclibOther threatsAffected
  • <1.0.23
Fixed in
  • 1.0.23

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately upgrade phpseclib to version 1.0.23, 2.0.47, 3.0.36, or later, where the vulnerability has been patched.
  2. Implement input validation and filtering to detect and block malformed or suspicious ASN.1 data before processing.
  3. Employ rate limiting and resource usage monitoring on services that handle certificate parsing to detect abnormal CPU spikes indicative of exploitation attempts.
  4. Use web application firewalls (WAFs) with custom rules to identify and block malicious payloads targeting ASN.1 parsing.
  5. Conduct regular security audits and code reviews of cryptographic libraries and their usage within applications.
  6. Isolate cryptographic processing in sandboxed environments to limit the impact of potential DoS attacks.
  7. Maintain up-to-date threat intelligence to respond quickly if exploit code becomes available.
  8. Educate development and operations teams about the risks of processing untrusted certificate data and the importance of timely patching.

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

References

Community reviews

Loading reviews…