Security Resilience

CVE-2024-27354

DoS in Phpseclib 1.0.0 – 1.0.23

Published
01 March 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0060 50th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-27354 is a high-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Phpseclib. Its CVSS base score is 7.5 (High).

Operationally, ranked at the 50th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-5 (Denial-of-service Protection) and SC-6 (Resource Availability) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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. An attacker can construct a malformed certificate containing an extremely large prime to cause a denial of service (CPU consumption for an isPrime primality…

more

check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-27355Same product: Phpseclib Phpseclib
CVE-2023-23009Shared CWE-400
CVE-2024-26976Shared CWE-400
CVE-2023-24580Shared CWE-400
CVE-2023-52672Shared CWE-400
CVE-2025-38501Shared CWE-400
CVE-2023-52602Shared CWE-400
CVE-2024-26141Shared CWE-400
CVE-2023-5724Shared CWE-400
CVE-2023-32067Shared CWE-400

Affected Assets

phpseclib
phpseclib
1.0.0 — 1.0.23 · 2.0.0 — 2.0.47 · 3.0.0 — 3.0.36
debian
debian linux
10.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References