Security Resilience

CVE-2023-49316

DoS in Phpseclib 3.0.0 – 3.0.34

Published
27 November 2023
Modified
21 November 2024
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.0078 55th percentile
Risk Priority 59 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-49316 is a high-severity Excessive Iteration (CWE-834) vulnerability in Phpseclib Phpseclib. Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 45% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.

CWE(s)

Related Threats

CVEs Like This One

CVE-2023-27560Same product: Phpseclib Phpseclib
CVE-2026-55599Same product: Phpseclib Phpseclib
CVE-2023-52892Same product: Phpseclib Phpseclib
CVE-2026-40194Same product: Phpseclib Phpseclib
CVE-2026-32935Same product: Phpseclib Phpseclib
CVE-2024-27354Same product: Phpseclib Phpseclib
CVE-2024-27355Same product: Phpseclib Phpseclib
CVE-2023-5632Shared CWE-834
CVE-2024-42071Shared CWE-834
CVE-2025-55181Shared CWE-834

Affected Assets

phpseclib
phpseclib
3.0.0 — 3.0.34

Mitigating Controls

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

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

Secure development lifecycle requires input validation and loop bounds, directly limiting excessive iteration.

blocks

Application security requirements include resource-consumption limits that prevent unbounded loops.

blocks

Secure architecture principles mandate defensive coding patterns such as loop termination checks.

prevents

Secure coding standards explicitly forbid unbounded loops and require explicit iteration limits.

finds

Security testing can detect excessive iteration through stress and fuzz testing.

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-834, a class-level weakness, and none of its children carries one either.

References