You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@apache.org by Tomasz Cedro <ce...@apache.org> on 2025/12/31 13:48:51 UTC

CVE-2025-48769: Apache NuttX RTOS: fs/vfs/fs_rename: use after free

Severity: moderate 

Affected versions:

- Apache NuttX RTOS 7.20 before 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.

Credit:

Liu, Richard Jiayang <rj...@illinois.edu> (finder)
Liu, Richard Jiayang <rj...@illinois.edu> (remediation developer)
Tomek CEDRO <ce...@apache.org> (coordinator)
Xiang Xiao <xi...@apache.org> (remediation reviewer)
Jiuzhu Dong <ji...@apache.org> (remediation reviewer)

References:

https://github.com/apache/nuttx/pull/16455
https://nuttx.apache.org
https://www.cve.org/CVERecord?id=CVE-2025-48769