CVE-2021-45934

Source
https://cve.org/CVERecord?id=CVE-2021-45934
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45934.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-45934
Published
2022-01-01T01:15:08Z
Modified
2026-07-09T00:38:17Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).

References

Affected packages

Git / github.com/wolfssl/wolfmqtt

Affected ranges

Type
GIT
Repo
https://github.com/wolfssl/wolfmqtt
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:wolfssl:wolfmqtt:1.9:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "1.9"
        },
        {
            "last_affected":  "1.9"
        }
    ],
    "source":  [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.9
v1.*
v1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45934.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "280277640168772996348933106240497287098",
                "120079499844175725862248008020683433689",
                "47346730709629407828913387344300580063",
                "79204163782737757014109719066411078623",
                "120803118586187991233588399328252326413"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-45934-3c4f0149",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/wolfssl/wolfmqtt/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2",
        "target":  {
            "file":  "src/mqtt_client.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "329802369575170683440296892229791015484",
            "length":  3755
        },
        "id":  "CVE-2021-45934-7e8fea99",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/wolfssl/wolfmqtt/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2",
        "target":  {
            "file":  "src/mqtt_client.c",
            "function":  "MqttClient_WaitType"
        }
    }
]
vanir_signatures_modified
"2026-07-09T00:38:17Z"