cve.bz

CVE-2023-49316 phpseclib phpseclib: Excessive Iteration

7.5 highEPSS 0.9%Fix available

High (7.5) in phpseclib phpseclib. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in phpseclib/phpseclib 3.0.34.

On this page
In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.9% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-834 Excessive Iteration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-49316 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-49316?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-49316?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-49316 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
phpseclib:phpseclibfrom 3.0.0 before 3.0.34

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2f25-pfq3-c7h8Packagistphpseclib/phpseclib>=3.0.0 <3.0.343.0.34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12php-phpseclib33.0.19-1+deb12u1DEBIAN-CVE-2023-49316
Debian13, 14php-phpseclib33.0.34-1DEBIAN-CVE-2023-49316
Ubuntu24.04:LTS, Pro:22.04:LTSphp-phpseclib3no fix listedUBUNTU-CVE-2023-49316

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

References

Check your stackJSON