CVE-2026-81535 (GCVE-0-2026-81535)
Vulnerability from cvelistv5
Published
2026-10-07 02:39
Modified
2026-10-07 18:37
CWE
Summary
In wolfSSH through 1.5.0 built with --enable-fwd, DoChannelOpen() in src/internal.c gates only direct-tcpip channel opens with the forwarding policy callback. forwarded-tcpip opens are admitted without an authorization check and are not capped in number, allowing a malicious SSH peer to make an endpoint allocate unbounded per-channel buffers for forwarding channels the application never authorized. A client also does not check a forwarded-tcpip open against the forwards it registered with a tcpip-forward request, as RFC 4254 section 7.2 requires, so a malicious server can open forwarding channels for addresses and ports the client never asked it to forward.
Impacted products
Vendor Product Version
wolfSSL Inc. wolfSSH Version: 1.4.8   ≤ 1.5.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-81535",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-07T18:37:10.078645Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-07T18:37:36.186Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "modules": [
            "forwarding"
          ],
          "product": "wolfSSH",
          "programFiles": [
            "src/internal.c"
          ],
          "repo": "https://github.com/wolfSSL/wolfssh",
          "vendor": "wolfSSL Inc.",
          "versions": [
            {
              "changes": [
                {
                  "at": "1.6.0",
                  "status": "unaffected"
                }
              ],
              "lessThanOrEqual": "1.5.0",
              "status": "affected",
              "version": "1.4.8",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "zhangph (GitHub afldl)"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "In wolfSSH through 1.5.0 built with\u0026nbsp;\u003ccode\u003e--enable-fwd\u003c/code\u003e,\u0026nbsp;\u003ccode\u003eDoChannelOpen()\u003c/code\u003e\u0026nbsp;in\u0026nbsp;\u003ccode\u003esrc/internal.c\u003c/code\u003e\u0026nbsp;gates only\u0026nbsp;\u003ccode\u003edirect-tcpip\u003c/code\u003e\u0026nbsp;channel opens with the forwarding policy callback.\u0026nbsp;\u003ccode\u003eforwarded-tcpip\u003c/code\u003e\u0026nbsp;opens are admitted without an authorization check and are not capped in number, allowing a malicious SSH peer to make an endpoint allocate unbounded per-channel buffers for forwarding channels the application never authorized. A client also does not check a\u0026nbsp;\u003ccode\u003eforwarded-tcpip\u003c/code\u003e\u0026nbsp;open against the forwards it registered with a\u0026nbsp;\u003ccode\u003etcpip-forward\u003c/code\u003e\u0026nbsp;request, as RFC 4254 section 7.2 requires, so a malicious server can open forwarding channels for addresses and ports the client never asked it to forward.\u003cbr\u003e"
            }
          ],
          "value": "In wolfSSH through 1.5.0 built with\u00a0--enable-fwd,\u00a0DoChannelOpen()\u00a0in\u00a0src/internal.c\u00a0gates only\u00a0direct-tcpip\u00a0channel opens with the forwarding policy callback.\u00a0forwarded-tcpip\u00a0opens are admitted without an authorization check and are not capped in number, allowing a malicious SSH peer to make an endpoint allocate unbounded per-channel buffers for forwarding channels the application never authorized. A client also does not check a\u00a0forwarded-tcpip\u00a0open against the forwards it registered with a\u00a0tcpip-forward\u00a0request, as RFC 4254 section 7.2 requires, so a malicious server can open forwarding channels for addresses and ports the client never asked it to forward."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-130",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-130 Excessive Allocation"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 6.3,
            "baseSeverity": "MEDIUM",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "LOW",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-862",
              "description": "CWE-862 Missing Authorization",
              "lang": "en",
              "type": "CWE"
            }
          ]
        },
        {
          "descriptions": [
            {
              "cweId": "CWE-863",
              "description": "CWE-863 Incorrect Authorization",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-07T02:39:27.830Z",
        "orgId": "50d2cd11-d01a-48ed-9441-5bfce9d63b27",
        "shortName": "wolfSSL"
      },
      "references": [
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/wolfSSL/wolfssh/commit/616eb681e70759c30c3ba158f2b18d7bd954def8"
        },
        {
          "name": "Fix commit e396a0a4 (match forwarded-tcpip opens to registered forwards, PR #1148)",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/wolfSSL/wolfssh/commit/e396a0a4b6b367f10270287446a4be0071742b5c"
        },
        {
          "name": "Fix commit 79a7f299 (match forwarded-tcpip on every client session, PR #1220)",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/wolfSSL/wolfssh/commit/79a7f299337a28aa561409688a268d0efe6e295c"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "wolfSSH SSH client accepts unsolicited forwarded-tcpip channel opens without an authorization check",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "50d2cd11-d01a-48ed-9441-5bfce9d63b27",
    "assignerShortName": "wolfSSL",
    "cveId": "CVE-2026-81535",
    "datePublished": "2026-10-07T02:39:27.830Z",
    "dateReserved": "2026-08-26T23:09:37.634Z",
    "dateUpdated": "2026-10-07T18:37:36.186Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-81535\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-07T18:37:10.078645Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-07T18:37:30.970Z\"}}], \"cna\": {\"title\": \"wolfSSH SSH client accepts unsolicited forwarded-tcpip channel opens without an authorization check\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"zhangph (GitHub afldl)\"}], \"impacts\": [{\"capecId\": \"CAPEC-130\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"CAPEC-130 Excessive Allocation\"}]}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NOT_DEFINED\", \"version\": \"4.0\", \"Recovery\": \"NOT_DEFINED\", \"baseScore\": 6.3, \"Automatable\": \"NOT_DEFINED\", \"attackVector\": \"NETWORK\", \"baseSeverity\": \"MEDIUM\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N\", \"exploitMaturity\": \"NOT_DEFINED\", \"providerUrgency\": \"NOT_DEFINED\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"NONE\", \"vulnIntegrityImpact\": \"NONE\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"LOW\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\", \"vulnerabilityResponseEffort\": \"NOT_DEFINED\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"repo\": \"https://github.com/wolfSSL/wolfssh\", \"vendor\": \"wolfSSL Inc.\", \"modules\": [\"forwarding\"], \"product\": \"wolfSSH\", \"versions\": [{\"status\": \"affected\", \"changes\": [{\"at\": \"1.6.0\", \"status\": \"unaffected\"}], \"version\": \"1.4.8\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"1.5.0\"}], \"programFiles\": [\"src/internal.c\"], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://github.com/wolfSSL/wolfssh/commit/616eb681e70759c30c3ba158f2b18d7bd954def8\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/wolfSSL/wolfssh/commit/e396a0a4b6b367f10270287446a4be0071742b5c\", \"name\": \"Fix commit e396a0a4 (match forwarded-tcpip opens to registered forwards, PR #1148)\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/wolfSSL/wolfssh/commit/79a7f299337a28aa561409688a268d0efe6e295c\", \"name\": \"Fix commit 79a7f299 (match forwarded-tcpip on every client session, PR #1220)\", \"tags\": [\"patch\"]}], \"x_generator\": {\"engine\": \"Vulnogram 1.0.5\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In wolfSSH through 1.5.0 built with\\u00a0--enable-fwd,\\u00a0DoChannelOpen()\\u00a0in\\u00a0src/internal.c\\u00a0gates only\\u00a0direct-tcpip\\u00a0channel opens with the forwarding policy callback.\\u00a0forwarded-tcpip\\u00a0opens are admitted without an authorization check and are not capped in number, allowing a malicious SSH peer to make an endpoint allocate unbounded per-channel buffers for forwarding channels the application never authorized. A client also does not check a\\u00a0forwarded-tcpip\\u00a0open against the forwards it registered with a\\u00a0tcpip-forward\\u00a0request, as RFC 4254 section 7.2 requires, so a malicious server can open forwarding channels for addresses and ports the client never asked it to forward.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"In wolfSSH through 1.5.0 built with\u0026nbsp;\u003ccode\u003e--enable-fwd\u003c/code\u003e,\u0026nbsp;\u003ccode\u003eDoChannelOpen()\u003c/code\u003e\u0026nbsp;in\u0026nbsp;\u003ccode\u003esrc/internal.c\u003c/code\u003e\u0026nbsp;gates only\u0026nbsp;\u003ccode\u003edirect-tcpip\u003c/code\u003e\u0026nbsp;channel opens with the forwarding policy callback.\u0026nbsp;\u003ccode\u003eforwarded-tcpip\u003c/code\u003e\u0026nbsp;opens are admitted without an authorization check and are not capped in number, allowing a malicious SSH peer to make an endpoint allocate unbounded per-channel buffers for forwarding channels the application never authorized. A client also does not check a\u0026nbsp;\u003ccode\u003eforwarded-tcpip\u003c/code\u003e\u0026nbsp;open against the forwards it registered with a\u0026nbsp;\u003ccode\u003etcpip-forward\u003c/code\u003e\u0026nbsp;request, as RFC 4254 section 7.2 requires, so a malicious server can open forwarding channels for addresses and ports the client never asked it to forward.\u003cbr\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-862\", \"description\": \"CWE-862 Missing Authorization\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-863\", \"description\": \"CWE-863 Incorrect Authorization\"}]}], \"providerMetadata\": {\"orgId\": \"50d2cd11-d01a-48ed-9441-5bfce9d63b27\", \"shortName\": \"wolfSSL\", \"dateUpdated\": \"2026-10-07T02:39:27.830Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-81535\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-07T18:37:36.186Z\", \"dateReserved\": \"2026-08-26T23:09:37.634Z\", \"assignerOrgId\": \"50d2cd11-d01a-48ed-9441-5bfce9d63b27\", \"datePublished\": \"2026-10-07T02:39:27.830Z\", \"assignerShortName\": \"wolfSSL\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…