{"id":"CVE-2021-45934","details":"wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).","modified":"2026-07-09T00:38:17.598437Z","published":"2022-01-01T01:15:08.630Z","references":[{"type":"REPORT","url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38146"},{"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-1204.yaml"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/wolfssl/wolfmqtt","events":[{"introduced":"74c09f7eb7934112cba2fe5a0b4956f2a01016af"},{"last_affected":"74c09f7eb7934112cba2fe5a0b4956f2a01016af"},{"fixed":"84d4b53122e0fa0280c7872350b89d5777dabbb2"}],"database_specific":{"cpe":"cpe:2.3:a:wolfssl:wolfmqtt:1.9:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.9"},{"last_affected":"1.9"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["1.9","v1.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45934.json","vanir_signatures_modified":"2026-07-09T00:38:17Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/wolfssl/wolfmqtt/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2","target":{"file":"src/mqtt_client.c"},"deprecated":false,"digest":{"line_hashes":["280277640168772996348933106240497287098","120079499844175725862248008020683433689","47346730709629407828913387344300580063","79204163782737757014109719066411078623","120803118586187991233588399328252326413"],"threshold":0.9},"id":"CVE-2021-45934-3c4f0149","signature_type":"Line"},{"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"},"deprecated":false}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}