Medium
Security advisory
wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45934
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:56 UTC · Revision 1
Source evidence
wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).
osv:CVE-2021-45934
Complete source record
{
"id": "2bd0f79b49dda3e2a4e2a5f1c3ef324d1d950105d67cd8313b730aa6b381745c",
"url": "https://osv.dev/vulnerability/CVE-2021-45934",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45934",
"summary": "wolfSSL wolfMQTT 1.9 has a heap-based buffer overflow in MqttClient_DecodePacket (called from MqttClient_HandlePacket and MqttClient_WaitType).",
"evidence": "osv:CVE-2021-45934",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-45934",
"aliases": [
"CVE-2021-45934"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/wolfssl/wolfmqtt",
"type": "GIT",
"events": [
{
"introduced": "74c09f7eb7934112cba2fe5a0b4956f2a01016af"
},
{
"last_affected": "74c09f7eb7934112cba2fe5a0b4956f2a01016af"
},
{
"fixed": "84d4b53122e0fa0280c7872350b89d5777dabbb2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:wolfssl:wolfmqtt:1.9:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.9"
},
{
"last_affected": "1.9"
}
],
"source": "CPE_STRING"
},
{
"range": [
{
"fixed": "84d4b53122e0fa0280c7872350b89d5777dabbb2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.9",
"v1.9"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45934.json",
"vanir_signatures": [
{
"id": "CVE-2021-45934-3c4f0149",
"digest": {
"threshold": 0.9,
"line_hashes": [
"280277640168772996348933106240497287098",
"120079499844175725862248008020683433689",
"47346730709629407828913387344300580063",
"79204163782737757014109719066411078623",
"120803118586187991233588399328252326413"
]
},
"source": "https://github.com/wolfssl/wolfmqtt/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2",
"target": {
"file": "src/mqtt_client.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-45934-7e8fea99",
"digest": {
"length": 3755,
"function_hash": "329802369575170683440296892229791015484"
},
"source": "https://github.com/wolfssl/wolfmqtt/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2",
"target": {
"file": "src/mqtt_client.c",
"function": "MqttClient_WaitType"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:30:23Z"
}
}
],
"modified": "2026-10-20T14:30:23.390496998Z",
"provider": "osv",
"references": [
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38146",
"https://github.com/wolfSSL/wolfMQTT/commit/84d4b53122e0fa0280c7872350b89d5777dabbb2",
"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/wolfmqtt/OSV-2021-1204.yaml"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-45934",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 389267,
"published_at": "2022-01-01T01:15:08.63+00:00"
}