{"id":"CVE-2021-26461","aliases":["EUVD-2021-13266","GHSA-h737-8f7x-38jh"],"status":"published","title":"malloc, realloc and memalign implementations are vulnerable to integer wrap-arounds","description":"Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc, realloc and memalign. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.05038,"percentile":0.92389,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-190"],"published":"2021-06-21T17:10:11Z","modified":"2026-10-24T14:12:14Z","products":[{"vendor":"apache","product":"nuttx"},{"vendor":"apache software foundation","product":"apache nuttx"}],"references":[{"url":"https://lists.apache.org/thread.html/r806fccf8b003ae812d807c6c7d97950d44ed29b2713418cbe3f2bddd%40%3Cdev.nuttx.apache.org%3E","tags":["x_refsource_MISC","x_transferred","Mailing List","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26461"},{"url":"https://github.com/advisories/GHSA-h737-8f7x-38jh"}],"sources":{"cve":[{"id":"CVE-2021-26461","title":"malloc, realloc and memalign implementations are vulnerable to integer wrap-arounds","description":"Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc, realloc and memalign. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2021-06-21T17:10:11Z","modified":"2024-08-03T20:26:25.47Z","cwes":["CWE-190"],"updated_at":"2026-11-02T14:32:57.033395Z"}],"euvd":[{"id":"EUVD-2021-13266","description":"Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc, realloc and memalign. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2021-06-21T17:10:11Z","modified":"2024-08-03T20:26:25Z","updated_at":"2026-11-03T03:24:51.962182Z"}],"ghsa":[{"id":"GHSA-h737-8f7x-38jh","title":"Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc,...","description":"Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc, realloc and memalign. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution. ","status":"published","published":"2022-05-24T19:05:42Z","modified":"2023-01-29T05:06:35Z","cwes":["CWE-190"],"updated_at":"2026-11-02T14:46:03.455343Z"}],"nvd":[{"id":"CVE-2021-26461","description":"Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc, realloc and memalign. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2021-06-21T17:15:09.103Z","modified":"2026-06-17T03:43:25.813Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:06:54.892562Z"}],"osv":[{"id":"CVE-2021-26461","description":"Apache Nuttx Versions prior to 10.1.0 are vulnerable to integer wrap-around in functions malloc, realloc and memalign. This improper memory assignment can lead to arbitrary memory allocation, resulting in unexpected behavior such as a crash or a remote code injection/execution.","status":"published","published":"2021-06-21T17:15:09.103Z","modified":"2026-10-24T14:12:14.319983921Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:18.778776Z"}]}}
