{"id":"CVE-2021-22680","state":"PUBLISHED","title":"NXP MQX Integer Overflow or Wraparound","description":"NXP MQX Versions 5.1 and prior are vulnerable to integer overflow in mem_alloc, _lwmem_alloc and _partition functions. This unverified memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","publishedAt":"2022-05-03T20:25:18.000Z","updatedAt":"2025-04-16T16:24:38.678Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"icscert"},"assigner":"icscert","products":["NXP MQX"],"affected":[{"vendor":"NXP","product":"MQX","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"5.1","versionType":"custom"}]}],"references":["https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T19:48:02.192Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/22xxx/CVE-2021-22680.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-22680","state":"PUBLISHED","datePublished":"2022-05-03T20:25:18.000Z","dateUpdated":"2025-04-16T16:24:38.678Z","assignerShortName":"icscert","assignerOrgId":"7d14cffa-0d7d-4270-9dc0-52cabd5a23a6","dateReserved":"2021-01-05T00:00:00.000Z"},"containers":{"cna":{"title":"NXP MQX Integer Overflow or Wraparound","descriptions":[{"lang":"en","value":"NXP MQX Versions 5.1 and prior are vulnerable to integer overflow in mem_alloc, _lwmem_alloc and _partition functions. This unverified memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution."}],"affected":[{"vendor":"NXP","product":"MQX","versions":[{"version":"unspecified","status":"affected","lessThanOrEqual":"5.1","versionType":"custom"}]}],"references":[{"url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"icscert","dateUpdated":"2022-05-03T20:25:18.000Z","orgId":"7d14cffa-0d7d-4270-9dc0-52cabd5a23a6"},"credits":[{"lang":"en","value":"David Atch, Omri Ben Bassat, and Tamir Ariel from Microsoft Section 52, and the Azure Defender for IoT research group reported these vulnerabilities to CISA."}],"solutions":[{"lang":"en","value":"Update NXP MQX to 5.1 or newer"}],"source":{"defect":["“BadAlloc”"],"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"ics-cert@hq.dhs.gov","ID":"CVE-2021-22680","STATE":"PUBLIC","TITLE":"NXP MQX Integer Overflow or Wraparound"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"MQX","version":{"version_data":[{"version_affected":"<=","version_value":"5.1"}]}}]},"vendor_name":"NXP"}]}},"credit":[{"lang":"eng","value":"David Atch, Omri Ben Bassat, and Tamir Ariel from Microsoft Section 52, and the Azure Defender for IoT research group reported these vulnerabilities to CISA."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"NXP MQX Versions 5.1 and prior are vulnerable to integer overflow in mem_alloc, _lwmem_alloc and _partition functions. This unverified memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-190 Integer Overflow or Wraparound"}]}]},"references":{"reference_data":[{"name":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","refsource":"CONFIRM","url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04"}]},"solution":[{"lang":"en","value":"Update NXP MQX to 5.1 or newer"}],"source":{"defect":["“BadAlloc”"],"discovery":"EXTERNAL"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.cisa.gov/uscert/ics/advisories/icsa-21-119-04","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:51:06.698Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-16T15:57:02.643903Z","id":"CVE-2021-22680","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-16T16:24:38.678Z"}}]}}}