NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Composer (PHP)

GHSA-hg35-mp25-qf6h: Duplicate Advisory: phpseclib: guardrails needed on isPrime and randomPrime

highCVSS 4.0 8.7 · 3.1 7.5

This advisory was withdrawn on May 6, 2026. The publisher no longer considers it a valid vulnerability.

Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-2528-jw5q-ww88. This link is maintained to preserve external references. Original 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.

Published Mar 2, 2024 · Updated May 6, 2026

Affected packages

phpseclib/phpseclib

Ecosystem
Composer (PHP)
Affected
>= 1.0.0, < 1.0.23
Fixed in
1.0.23
Check
composer show phpseclib/phpseclib

phpseclib/phpseclib

Ecosystem
Composer (PHP)
Affected
>= 2.0.0, < 2.0.47
Fixed in
2.0.47
Check
composer show phpseclib/phpseclib

phpseclib/phpseclib

Ecosystem
Composer (PHP)
Affected
>= 3.0.0, < 3.0.36
Fixed in
3.0.36
Check
composer show phpseclib/phpseclib

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-2528-jw5q-ww88. This link is maintained to preserve external references.

Original 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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Composer (PHP) vulnerabilities

All Composer (PHP) entries