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 57th percentile
Risk Priority 59 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-2023-49316 is a high-severity Excessive Iteration (CWE-834) vulnerability in Phpseclib. Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 43% 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-52892Same product: Phpseclib Phpseclib
CVE-2023-27560Same product: Phpseclib Phpseclib
CVE-2026-55599Same 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-2025-56571Shared CWE-834
CVE-2025-62707Shared CWE-834
CVE-2024-42237Shared CWE-834

Affected Assets

phpseclib
phpseclib
3.0.0 — 3.0.34

Mitigating Controls

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

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

prevents

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

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