CVE Catalog

CVE-2025-48769

High
Published: Translated: NVD NIST

Summary

A Use After Free vulnerability was discovered in the fs/vfs/fs_rename code of Apache NuttX RTOS, affecting versions from 7.20 before 12.11.0. Due to recursive implementation and single buffer use by two different pointer variables, arbitrary user-provided size buffer reallocation and write to previously freed heap chunk is possible, potentially causing unintended virtual filesystem rename/move results.

Risk Assessment

Users with write access, especially over the network (e.g., FTP), may experience data corruption or unauthorized changes to the filesystem.

Recommendation

Upgrade Apache NuttX RTOS to version 12.11.0 or later, which fixes the issue.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS