---
id: CVE-2025-48769
title: >-
  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
  realloc…
summary: >-
  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
  realloc…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'
cwe:
  - CWE-416
vendor: apache
product: nuttx
affected:
  - 'nuttx >= 7.20, < 12.11.0'
patched:
  - nuttx 12.11.0
published: '2026-01-01'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T08:10:00.183'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-48769'
references:
  - url: 'https://github.com/apache/nuttx/pull/16455'
    label: security@apache.org
  - url: 'https://lists.apache.org/thread/7m83v11ldfq7bvw72n9t5sccocczocjn'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/12/31/11'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.0157
epssPercentile: 0.74387
ingestedAt: '2026-10-01T08:40:11.721Z'
---

## Overview

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.

## Affected

- `nuttx >= 7.20, < 12.11.0`

## Remediation

Upgrade past the affected range:

- `nuttx 12.11.0`
