提出 #698113: nnn v5.1 Double Free情報

タイトルnnn v5.1 Double Free
説明The code contains a double-free vulnerability in the show_content_in_floating_window function. If the newwin() call fails (returns NULL), the function explicitly frees the content buffer before returning FALSE. However, the caller function also attempts to free the same content pointer unconditionally after the function returns(the return value is false, the loop will exit). This results in the same memory region being freed twice, which can lead to memory corruption or a program crash.
ソース⚠️ https://github.com/jarun/nnn/issues/2091#issue-3635886658
ユーザー
 micromilo (UID 84159)
送信2025年11月19日 15:19 (5 月 ago)
モデレーション2025年11月22日 18:38 (3 days later)
ステータス承諾済み
VulDBエントリ333330 [jarun nnn 迄 5.1 nnn/src/nnn.c show_content_in_floating_window/run_cmd_as_plugin メモリ破損]
ポイント19

Interested in the pricing of exploits?

See the underground prices here!