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.
Published: 2024-03-01
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-3749-1 phpseclib security update
Debian DLA Debian DLA DLA-3750-1 php-phpseclib security update
Github GHSA Github GHSA GHSA-hg35-mp25-qf6h phpseclib a large prime can cause a denial of service
Ubuntu USN Ubuntu USN USN-7404-1 phpseclib vulnerabilities
History

Mon, 15 Sep 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Debian
Debian debian Linux
CPEs cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Vendors & Products Debian
Debian debian Linux

Mon, 15 Sep 2025 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Phpseclib phpseclib
CPEs cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
Vendors & Products Phpseclib phpseclib

Tue, 22 Apr 2025 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Phpseclib
Phpseclib 1x
Phpseclib 2x
Phpseclib 3x
CPEs cpe:2.3:a:phpseclib:1x:*:*:*:*:*:*:*:*
cpe:2.3:a:phpseclib:2x:*:*:*:*:*:*:*:*
cpe:2.3:a:phpseclib:3x:*:*:*:*:*:*:*:*
Vendors & Products Phpseclib
Phpseclib 1x
Phpseclib 2x
Phpseclib 3x
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-04-22T15:44:47.697Z

Reserved: 2024-02-25T00:00:00.000Z

Link: CVE-2024-27354

cve-icon Vulnrichment

Updated: 2024-08-02T00:34:51.419Z

cve-icon NVD

Status : Analyzed

Published: 2024-03-01T23:15:08.500

Modified: 2025-09-15T17:58:58.640

Link: CVE-2024-27354

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses