netfoil has a resource leak in LRU cache
Low severity
GitHub Reviewed
Published
May 31, 2026
in
tinfoil-factory/netfoil
•
Updated Jul 7, 2026
Description
Published to the GitHub Advisory Database
Jul 7, 2026
Reviewed
Jul 7, 2026
Last updated
Jul 7, 2026
Summary
When an entry was removed from the LRU cache, a pointer to the removed element was not properly cleaned up.
Impact
A local attacker can get netfoil to use more memory. By default this is limited to 100MB via systemd, which would trigger service restarts when reached.
References