| 제목 | nnn v5.1 Double Free |
|---|
| 설명 | The run_cmd_as_plugin function contains a double-free vulnerability when handling the F_WINDOW flag. The content buffer is passed to show_content_in_floating_window, which frees the memory if window creation fails. However, run_cmd_as_plugin unconditionally calls free(content) immediately after that function returns. This causes the memory to be freed a second time if an error occurs within the window display logic. |
|---|
| 원천 | ⚠️ https://github.com/jarun/nnn/issues/2091#issuecomment-3545367083 |
|---|
| 사용자 | micromilo (UID 84159) |
|---|
| 제출 | 2025. 11. 19. PM 03:22 (5 개월 ago) |
|---|
| 모더레이션 | 2025. 12. 05. PM 06:12 (16 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 333330 [jarun nnn 까지 5.1 nnn/src/nnn.c show_content_in_floating_window/run_cmd_as_plugin 메모리 손상] |
|---|
| 포인트들 | 0 |
|---|