Skip to content
OpenAdvisories
Low GHSA-3g4q-2f67-2gvh GO-2026-5933

netfoil has a resource leak in LRU cache

Published Jul 7, 2026 · Updated Jul 21, 2026 · Assigned by GHSA

Description

### 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.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/tinfoil-factory/netfoil < 0.3.0 0.3.0 GHSA-3g4q-2f67-2gvh

References