{
  "id": "CVE-2025-48041",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-48041",
  "published_at": "2025-09-11T08:14:20.508Z",
  "title": "SSH_FXP_OPENDIR may Lead to Exhaustion of File Handles",
  "vendor": "Erlang",
  "product": "OTP",
  "cvss": {
    "score": 7.1,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Allocation of Resources Without Limits or Throttling vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding.\n\nThis vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl.\n\nThis issue affects OTP from OTP 17.0 before OTP 26.2.5.15, OTP 27.3.4.3, and OTP 28.0.3, corresponding to ssh from 3.0.1 before 5.1.4.12, 5.2.11.3, and 5.3.3.",
  "cwe": "CWE-770",
  "cvss_by_source": {
    "cna": 7.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Erlang",
        "product": "OTP",
        "ranges": [
          "\u003e= 3.0.1, \u003c *"
        ],
        "fixed_in": [
          "*",
          "5.1.4.12",
          "5.2.11.3",
          "5.3.3"
        ]
      },
      {
        "vendor": "Erlang",
        "product": "OTP",
        "ranges": [
          "\u003e= 17.0, \u003c *"
        ],
        "fixed_in": [
          "*",
          "26.2.5.15",
          "27.3.4.3",
          "28.0.3"
        ]
      },
      {
        "vendor": "Erlang",
        "product": "OTP",
        "ranges": [
          "\u003e= 07b8f441ca711f9812fad9e9115bab3c3aa92f79, \u003c *"
        ],
        "fixed_in": [
          "*",
          "5f9af63eec4657a37663828d206517828cb9f288",
          "d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401"
        ]
      }
    ],
    "upgrade": [
      "Upgrade OTP to * or 5.1.4.12 or 5.2.11.3 or 5.3.3 or later.",
      "Upgrade OTP to * or 26.2.5.15 or 27.3.4.3 or 28.0.3 or later.",
      "Upgrade OTP to * or 5f9af63eec4657a37663828d206517828cb9f288 or d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401 or later."
    ],
    "workarounds": [
      "* disabling SFTP\n* limiting number of max_sessions allowed for sshd, so exploiting becomes more complicated"
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/erlang/otp/security/advisories/GHSA-79c4-cvv7-4qm3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/erlang/otp/pull/10157"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/erlang/otp/commit/5f9af63eec4657a37663828d206517828cb9f288"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/erlang/otp/commit/d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
