CVE & CISA-KEV Catalog

CVE-2024-27354

HIGH
7.5
CVSS v3
NVD

Description

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 check). NOTE: this issue was introduced when attempting to fix CVE-2023-27560.

How to fix

Remediation Available
php-phpseclibDebian
Fixed in:2.0.30-2+deb11u2CVE-2024-27354
Fixed in:2.0.42-1+deb12u2CVE-2024-27354
Fixed in:2.0.47-1CVE-2024-27354
Fixed in:2.0.47-1CVE-2024-27354
php-phpseclibUbuntu
Fixed in:2.0.1-1ubuntu0.1~esm2USN-7404-1
Fixed in:2.0.9-1ubuntu0.1~esm2USN-7404-1
Fixed in:2.0.23-2ubuntu0.1~esm2USN-7404-1
Fixed in:2.0.36-1ubuntu0.1~esm2USN-7404-1
php-phpseclib3Ubuntu
Fixed in:3.0.13-1ubuntu0.1~esm1USN-7404-1
php-seclibUbuntu
Fixed in:1.0.1-3ubuntu0.1+esm1USN-7404-1
Fixed in:1.0.9-1ubuntu0.1~esm1USN-7404-1
Fixed in:1.0.18-2ubuntu0.1~esm1USN-7404-1
Fixed in:1.0.20-1ubuntu0.1~esm1USN-7404-1
phpseclibUbuntu
Fixed in:1.0.1-3ubuntu0.1+esm1USN-7404-1
Fixed in:1.0.9-1ubuntu0.1~esm1USN-7404-1
Fixed in:1.0.18-2ubuntu0.1~esm1USN-7404-1
Fixed in:1.0.20-1ubuntu0.1~esm1USN-7404-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

0.60%probability of exploitation in 30 days
44thpercentile

Moderate risk: more likely to be exploited than 44% of all known CVEs.

References

Related Vulnerabilities

Other CWE-400 (Resource Exhaustion) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-44487High7.5100%KEVFix
CVE-2021-44228Critical10.0100%KEV + RansomFix
CVE-2011-3192High7.899%-Fix
CVE-2019-11478Medium5.395%-Fix
CVE-2024-25617Medium5.389%-Fix
CVE-2018-1000115High7.589%-Fix
Embed a live status badge for CVE-2024-27354
CVE-2024-27354 severity badge

Markdown

[![CVE-2024-27354](https://tridentstack.com/cve/badge/CVE-2024-27354.svg)](https://tridentstack.com/cve/CVE-2024-27354)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-27354"><img src="https://tridentstack.com/cve/badge/CVE-2024-27354.svg" alt="CVE-2024-27354"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-15.