Skip to content
Fencer Vulns
high 7.5

CVE-2024-27355 json

phpseclib guardrails needed on OID length

published 2024-03-01 2 y ago modified 2026-06-17 4 mo ago also GHSA-f2qx-66wf-wvvx , EUVD-2024-0951

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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

Patch / fix

  • packagist phpseclib/phpseclib 1.0.23, 2.0.47, 3.0.36
  • phpseclib phpseclib 1.0.23, 2.0.47, 3.0.36
  • phpseclib Debian 12 1.0.20-1+deb12u2
  • phpseclib Debian 13 1.0.23-1
  • php-phpseclib Debian 12 2.0.42-1+deb12u2
  • php-phpseclib Debian 14, Debian 13 2.0.47-1
  • php-phpseclib3 Debian 12 3.0.19-1+deb12u3
  • php-phpseclib3 Debian 14, Debian 13 3.0.36-1

debian advisories DEBIAN-CVE-2024-27355

  • phpseclib Ubuntu 22.04 LTS 1.0.20-1+deb12u3build0.22.04.1
  • phpseclib Ubuntu Pro 20.04 LTS 1.0.18-2ubuntu0.1~esm1
  • phpseclib Ubuntu Pro 22.04 LTS 1.0.20-1ubuntu0.1~esm1
  • php-phpseclib Ubuntu Pro 20.04 LTS 2.0.23-2ubuntu0.1~esm2
  • php-phpseclib Ubuntu Pro 22.04 LTS 2.0.36-1ubuntu0.1~esm2
  • php-phpseclib3 Ubuntu Pro 22.04 LTS 3.0.13-1ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2024-27355

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • cacti openSUSE Tumbleweed 1.2.30+git457.e55c2aea-1.1

opensuse advisories openSUSE-SU-2026:10920-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-27355 updated

php-phpseclib: denial of service

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
packagist phpseclib/phpseclib
>=2.0.0, <2.0.47
>=3.0.0, <3.0.36
>=0.1.1, <1.0.23
2.0.47
3.0.36
1.0.23

Affected products

  • phpseclib phpseclib

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.