VDB

CVE-2024-27355

CVE-2024-27355 PUBLISHED CVSS 7.5 HIGH

phpseclib guardrails needed on OID length

Reported by mitre · Published March 1, 2024

phpseclib/phpseclib is fixed in 3.0.36, 2.0.47 and 1.0.23 (Packagist)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
phpseclib/phpseclibPackagist3.0.36, 2.0.47, 1.0.23
phpseclibphpseclib3.0.36, 2.0.47, 1.0.23

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
phpseclibphpseclib0.1.1, 2.0.0, 3.0.0
phpseclibphpseclib2.0, 3.0, 1.0

Timeline

  • Feb 29, 2024 GitHub Gist PoC
  • Mar 1, 2024 CVE Published
  • Mar 2, 2024 EPSS Score (30 in total, the first dated here)
  • Mar 2, 2024 PoC Published (2 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 15, 2026 CVE Updated
  • Mar 17, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-27355
vulnetix vdb fixes CVE-2024-27355

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-27355/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›