CVE-2024-27354

Published Mar 1, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Github GHSA Github GHSA GHSA-2528-jw5q-ww88 phpseclib: guardrails needed on isPrime and randomPrime
Ubuntu USN Ubuntu USN USN-7404-1 phpseclib vulnerabilities
Ubuntu USN Ubuntu USN USN-8769-1 phpseclib vulnerability
History
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
Type Values Removed Values Added
First Time appeared Phpseclib phpseclib
CPEs cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*
Vendors & Products Phpseclib phpseclib
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 22, 2025, 3:44 PM
Reserved
Feb 25, 2024, 12:00 AM
Status
Analyzed
Published
Mar 1, 2024, 11:15 PM
Modified
Jun 17, 2026, 7:19 AM