{"api_version":"1","generated_at":"2026-04-22T21:39:28+00:00","cve":"CVE-2021-28166","urls":{"html":"https://cve.report/CVE-2021-28166","api":"https://cve.report/api/cve/CVE-2021-28166.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28166","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28166"},"summary":{"title":"CVE-2021-28166","description":"In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.","state":"PUBLIC","assigner":"security@eclipse.org","published_at":"2021-04-07 19:15:00","updated_at":"2021-04-13 21:42:00"},"problem_types":["CWE-476"],"metrics":[],"references":[{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=572608","name":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=572608","refsource":"CONFIRM","tags":[],"title":"572608 – (CVE-2021-28166) Mosquitto: CVE request - NULL pointer dereference on crafted CONNACK","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28166","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28166","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"28166","vulnerable":"1","versionEndIncluding":"2.0.9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"eclipse","cpe5":"mosquitto","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-28166","qid":"179552","title":"Debian Security Update for mosquitto (CVE-2021-28166)"},{"cve":"CVE-2021-28166","qid":"501755","title":"Alpine Linux Security Update for mosquitto"},{"cve":"CVE-2021-28166","qid":"504169","title":"Alpine Linux Security Update for mosquitto"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-28166","ASSIGNER":"security@eclipse.org","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"The Eclipse Foundation","product":{"product_data":[{"product_name":"Eclipse Mosquitto","version":{"version_data":[{"version_affected":">=","version_value":"2.0"},{"version_affected":"<=","version_value":"2.0.9"}]}}]}}]}},"description":{"description_data":[{"lang":"eng","value":"In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur."}]},"impact":{"cvss":{"baseScore":6,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:F/RL:O/RC:C","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-476: NULL Pointer Dereference"}]}]},"references":{"reference_data":[{"name":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=572608","refsource":"CONFIRM","url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=572608"}]}},"nvd":{"publishedDate":"2021-04-07 19:15:00","lastModifiedDate":"2021-04-13 21:42:00","problem_types":["CWE-476"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:*","versionStartIncluding":"2.0.0","versionEndIncluding":"2.0.9","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"28166","Ordinal":"203328","Title":"CVE-2021-28166","CVE":"CVE-2021-28166","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"28166","Ordinal":"1","NoteData":"In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"28166","Ordinal":"2","NoteData":"2021-04-07","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"28166","Ordinal":"3","NoteData":"2021-04-07","Type":"Other","Title":"Modified"}]}}}