Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-38365

SHA2 auth plugin crash on large packets

    XMLWordPrintable

Details

    • Can result in hang or crash
    • Q1/2026 Server Maintenance

    Description

      plugin's auth() function sends the packet to sha256_crypt_r() which uses alloca() to get the buffer of the packet's size. If the packet is too big, this will exhaust the stack and crash

      Reported by Pavel Kohout, Aisle Research.

      Attachments

        Activity

          People

            serg Sergei Golubchik
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.