Skip to content
Heist/ feed
Back to feed
Medium

Malicious Key Exchange Messages may Lead to Excessive Resource Consumption

Type: advisorySources: OSV

Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl. This issue affects OTP from OTP 17.0 before OTP 28.0.3, OTP 27.3.4.3 and OTP 26.2.5.15, corresponding to ssh from 3.0.1 before 5.3.3, 5.2.11.3 and 5.1.4.12.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-48040
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:09 UTC · Revision 1

Source evidence

Malicious Key Exchange Messages may Lead to Excessive Resource Consumption

core-osv · Original source

Published 11 Sept 2025, 08:14 UTC

Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl. This issue affects OTP from OTP 17.0 before OTP 28.0.3, OTP 27.3.4.3 and OTP 26.2.5.15, corresponding to ssh from 3.0.1 before 5.3.3, 5.2.11.3 and 5.1.4.12.

osv:CVE-2025-48040
Complete source record
{
  "id": "fc2e1dcfc9dcb64f5de31fd8b1114aa673d5d86ea3cece8d88780acc02e083f4",
  "url": "https://osv.dev/vulnerability/CVE-2025-48040",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious Key Exchange Messages may Lead to Excessive Resource Consumption",
    "summary": "Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl. This issue affects OTP from OTP 17.0 before OTP 28.0.3, OTP 27.3.4.3 and OTP 26.2.5.15, corresponding to ssh from 3.0.1 before 5.3.3, 5.2.11.3 and 5.1.4.12.",
    "evidence": "osv:CVE-2025-48040",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-48040",
      "aliases": [
        "CVE-2025-48040",
        "EEF-CVE-2025-48040",
        "GHSA-h7rg-6rjg-4cph"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/erlang/otp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "07b8f441ca711f9812fad9e9115bab3c3aa92f79"
                },
                {
                  "fixed": "7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a"
                },
                {
                  "fixed": "756621cebe01ec43df61d9627380ca7e1e301c9b"
                },
                {
                  "fixed": "548f1295d86d0803da884db8685cc16d461d0d5a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "07b8f441ca711f9812fad9e9115bab3c3aa92f79"
                      },
                      {
                        "fixed": "7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "ChangesAt"
                  },
                  {
                    "range": [
                      {
                        "introduced": "17.0"
                      },
                      {
                        "fixed": "28.0.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "ChangesAt"
                  },
                  {
                    "range": [
                      {
                        "fixed": "7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "548f1295d86d0803da884db8685cc16d461d0d5a"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "patch-base-27",
            "OTP-27.3.4",
            "patch-base-26",
            "OTP-26.2.5",
            "OTP-27.0",
            "OTP-26.2.5.9",
            "OTP-28.0",
            "OTP-26.2.5.12",
            "OTP-27.3",
            "OTP-26.2.3",
            "OTP-27.3.3",
            "OTP-26.2.5.14",
            "OTP-28.0.2",
            "OTP-26.0",
            "OTP-28.0.1",
            "OTP-26.2.5.13",
            "OTP-25.0",
            "OTP-28.0-rc4",
            "OTP-26.2.5.11",
            "OTP-27.3.2",
            "OTP-28.0-rc3",
            "OTP-26.2.5.10",
            "OTP-27.2",
            "OTP-28.0-rc2",
            "OTP-27.3.1",
            "OTP-28.0-rc1",
            "OTP-26.2.5.8",
            "OTP-26.2.5.7",
            "OTP-26.2.5.6",
            "OTP-27.1",
            "OTP-26.2.5.5",
            "OTP-26.2.5.4",
            "OTP-26.2.5.3",
            "OTP-26.2",
            "OTP-26.2.5.2",
            "OTP-26.2.5.1",
            "OTP-26.2.4",
            "OTP-27.0-rc3",
            "OTP-27.0-rc2",
            "OTP-27.0-rc1",
            "OTP-24.0",
            "OTP-26.1",
            "OTP-26.0-rc3",
            "OTP-26.0-rc2",
            "OTP-26.0-rc1",
            "OTP-23.0",
            "OTP-21.0",
            "OTP-25.0-rc3",
            "OTP-25.0-rc2",
            "OTP-25.0-rc1",
            "OTP-22.0",
            "OTP-24.0-rc3",
            "OTP-24.0-rc2",
            "OTP-24.0-rc1",
            "OTP-23.0-rc3",
            "OTP-23.0-rc2",
            "OTP-23.0-rc1",
            "OTP-20.0",
            "OTP-22.0-rc3",
            "OTP-22.0-rc2",
            "OTP-22.0-rc1",
            "OTP-19.0",
            "OTP-21.0-rc2",
            "OTP-18.0",
            "OTP-21.0-rc1",
            "OTP-17.0",
            "OTP-20.0-rc2",
            "OTP-20.0-rc1",
            "OTP-19.0-rc2",
            "OTP-19.0-rc1",
            "OTP-18.0-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-48040.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.669256603Z",
      "provider": "osv",
      "references": [
        "https://cna.erlef.org/cves/CVE-2025-48040.html",
        "https://github.com",
        "https://osv.dev/vulnerability/EEF-CVE-2025-48040",
        "https://www.erlang.org/doc/system/versions.html#order-of-versions",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48040.json",
        "https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-48040",
        "https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a",
        "https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a",
        "https://github.com/erlang/otp/pull/10162",
        "https://github.com/erlang/otp"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400",
          "CWE-770"
        ],
        "cna_assigner": "EEF",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.0.1"
                  },
                  {
                    "fixed": "5.3.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "ChangesAt"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/48xxx/CVE-2025-48040.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-48040",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521218,
  "published_at": "2025-09-11T08:14:19.671+00:00"
}