CVE-2021-45936

Source
https://cve.org/CVERecord?id=CVE-2021-45936
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45936.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-45936
Published
2022-01-01T01:15:08.730Z
Modified
2026-07-09T00:38:18.883157Z
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 MqttDecodeDisconnect (called from MqttClientDecodePacket and MqttClient_WaitType).

References

Affected packages

Git / github.com/wolfssl/wolfmqtt

Affected ranges

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

Affected versions

1.*
1.9
v1.*
v1.9

Database specific

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