Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. phpseclib/phpseclib
  4. ›
  5. CVE-2023-49316

CVE-2023-49316: phpseclib vulnerable to denial of service

November 27, 2023 (updated December 1, 2023)

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

References

  • github.com/advisories/GHSA-jpr7-q523-hx25
  • github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f
  • github.com/phpseclib/phpseclib/releases/tag/3.0.34
  • nvd.nist.gov/vuln/detail/CVE-2023-49316

Code Behaviors & Features

Detect and mitigate CVE-2023-49316 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.0.34

Fixed versions

  • 3.0.34

Solution

Upgrade to version 3.0.34 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-834: Excessive Iteration

Source file

packagist/phpseclib/phpseclib/CVE-2023-49316.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:32 +0000.