CVE-2024-27355
PHP vulnerability analysis and mitigation

Overview

An issue was discovered in phpseclib versions 1.x before 1.0.23, 2.x before 2.0.47, and 3.x before 3.0.36. The vulnerability affects the ASN.1 object identifier processing functionality when handling certificates (NVD, CVE). The vulnerability was assigned CVE-2024-27355 and was disclosed in March 2024.

Technical details

The vulnerability occurs during the processing of ASN.1 object identifiers in certificates, where a specially crafted sub identifier can trigger excessive CPU consumption in the decodeOID function. The issue has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-400 (Uncontrolled Resource Consumption) (NVD).

Impact

When exploited, this vulnerability can lead to a denial of service condition through CPU resource exhaustion. The attack specifically targets the certificate processing functionality, potentially affecting system availability by consuming excessive computational resources during the decodeOID operation (Debian LTS).

Mitigation and workarounds

The vulnerability has been fixed in phpseclib versions 1.0.23, 2.0.47, and 3.0.36. Users are recommended to upgrade to these or later versions. For Debian 10 (buster) users, the fix has been backported in version 1.0.19-3~deb10u3 for phpseclib and version 2.0.30-2~deb10u3 for php-phpseclib packages (Debian LTS).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-h6rj-3m53-887hHIGH7.5
  • PHPPHP
  • pocketmine/pocketmine-mp
NoYesApr 06, 2026
GHSA-788v-5pfp-93ffHIGH7.1
  • PHPPHP
  • pocketmine/pocketmine-mp
NoYesApr 06, 2026
CVE-2026-35452MEDIUM5.3
  • PHPPHP
  • wwbn/avideo
NoNoApr 06, 2026
GHSA-7hmv-4j2j-pp6fMEDIUM4.3
  • PHPPHP
  • pocketmine/pocketmine-mp
NoYesApr 06, 2026
GHSA-f9jp-856v-8642LOW3.7
  • PHPPHP
  • pocketmine/pocketmine-mp
NoYesApr 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management