Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2023-49316

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-49316
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 01:11 UTC · Revision 1

Source evidence

CVE-2023-49316

core-osv · Original source

Published 27 Nov 2023, 00:00 UTC

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

osv:CVE-2023-49316
Complete source record
{
  "id": "6a34ac2f5dd74903332f747076f044f1657839319d17d0b4dafe11d8c965e67c",
  "url": "https://osv.dev/vulnerability/CVE-2023-49316",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2023-49316",
    "summary": "In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.",
    "evidence": "osv:CVE-2023-49316",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-49316",
      "aliases": [
        "CVE-2023-49316",
        "GHSA-2f25-pfq3-c7h8"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/phpseclib/phpseclib",
              "type": "GIT",
              "events": [
                {
                  "introduced": "fe62c85e0203503231d489af95d0ac053b7d3575"
                },
                {
                  "fixed": "56c79f16a6ae17e42089c06a2144467acc35348a"
                },
                {
                  "fixed": "964d78101a70305df33f442f5490f0adb3b7e77f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:phpseclib:phpseclib:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "fixed": "3.0.34"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "964d78101a70305df33f442f5490f0adb3b7e77f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "56c79f16a6ae17e42089c06a2144467acc35348a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.0.34"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.0.33",
            "3.0.23",
            "3.0.22",
            "3.0.21",
            "3.0.20",
            "3.0.19",
            "3.0.18",
            "3.0.17",
            "3.0.16",
            "3.0.15",
            "3.0.14",
            "3.0.13",
            "3.0.12",
            "3.0.11",
            "3.0.10",
            "3.0.9",
            "3.0.8",
            "3.0.7",
            "3.0.6",
            "3.0.5",
            "3.0.4",
            "3.0.3",
            "3.0.2",
            "3.0.1",
            "3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49316.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:48.684772241Z",
      "provider": "osv",
      "references": [
        "https://github.com/phpseclib/phpseclib/releases/tag/3.0.34",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49316.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-49316",
        "https://github.com/phpseclib/phpseclib/commit/964d78101a70305df33f442f5490f0adb3b7e77f"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49316.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-49316",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 516877,
  "published_at": "2023-11-27T00:00:00+00:00"
}