# CVE-2021-26461: malloc, realloc and memalign implementations are vulnerable to integer wrap-arounds

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.46%, higher than 92% of CVEs (2026-12-01)
- Published: 2021-06-21T17:10:11.000Z
- Modified: 2026-06-17T03:43:25.813Z
- Weaknesses: CWE-190
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache NuttX: from Apache NuttX before 10.1.0
- apache nuttx: before 10.1.0

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://lists.apache.org/thread.html/r806fccf8b003ae812d807c6c7d97950d44ed29b2713418cbe3f2bddd%40%3Cdev.nuttx.apache.org%3E> (mailing-list, vendor-advisory)

## Sources

- CVE List: [CVE-2021-26461](https://www.cve.org/CVERecord?id=CVE-2021-26461), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-26461](https://nvd.nist.gov/vuln/detail/CVE-2021-26461), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-26461 · Whole record: https://cve.day/CVE-2021-26461.json · Rebuilt by cve.day 2026-11-25T22:58:02.044Z
