Skip to content
Fencer Intel
low —

GHSA-3g4q-2f67-2gvh json

netfoil has a resource leak in LRU cache

published 4mo ago modified 3mo ago also GO-2026-5933

cvss
—
not scored
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

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

Patch / fix

  • go github.com/tinfoil-factory/netfoil 0.3.0

Is GHSA-3g4q-2f67-2gvh in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Affected packages

ecosystem package affected fixed in
go github.com/tinfoil-factory/netfoil
<0.3.0
0.3.0

Classification

Weakness
  • CWE-401 Missing Release of Memory after Effective Lifetime

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.