CVE-2024-27355: phpseclib · n/a
Affects phpseclibSource CVE Database V5
Not known to be exploited · CVSS 7.5 High : upgrade to 1.0.23 soon.
Data as of 26 Oct 2026, 08:30 UTC
- 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:HExploitation evidence
Disclosed: evidence found.
CVE published 1 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Packagistphpseclib/phpseclibpkg:composer/phpseclib/phpseclibOther threats | Affected
| Fixed in
|
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
- github.com/phpseclib/phpseclib/blob/978d081fe50ff92879c50ff143c62a143edb0117/phpseclib/File/ASN1.php (opens in a new tab)
- gist.github.com/katzj/ee72f3c2a00590812b2ea3c0c8890e0b (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/03/msg00002.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/03/msg00003.html (opens in a new tab)