{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.9"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "74c09f7eb7934112cba2fe5a0b4956f2a01016af"
            },
            {
              "fixed": "84d4b53122e0fa0280c7872350b89d5777dabbb2"
            }
          ],
          "repo": "https://github.com/wolfssl/wolfmqtt",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_WaitType and MqttClient_Connect).",
  "id": "CVE-2021-45937",
  "modified": "2026-03-13T21:55:33.548902817Z",
  "published": "2022-01-01T01:15:08.780Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39083"
    },
    {
      "type": "FIX",
      "url": "https://github.com/wolfSSL/wolfMQTT/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1349.yaml"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}